mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
32 lines
644 B
C++
32 lines
644 B
C++
/*
|
|
This file is part of Telegram Desktop,
|
|
the official desktop application for the Telegram messaging service.
|
|
|
|
For license and copyright information please follow this link:
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
*/
|
|
#pragma once
|
|
|
|
#include "base/basic_types.h"
|
|
|
|
class QAction;
|
|
|
|
namespace Ui {
|
|
class InputField;
|
|
class PopupMenu;
|
|
} // namespace Ui
|
|
|
|
namespace Menu {
|
|
|
|
void InsertTextAtCursor(
|
|
not_null<Ui::InputField*> field,
|
|
const QString &text);
|
|
|
|
not_null<QAction*> AddTimecodeAction(
|
|
not_null<Ui::PopupMenu*> menu,
|
|
const QString &timecode,
|
|
rpl::producer<QString> updates,
|
|
Fn<void()> callback);
|
|
|
|
} // namespace Menu
|