mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
29 lines
585 B
C++
29 lines
585 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"
|
|
#include "ui/style/style_core_types.h"
|
|
|
|
class QAction;
|
|
|
|
namespace Ui {
|
|
class PopupMenu;
|
|
} // namespace Ui
|
|
|
|
namespace Menu {
|
|
|
|
not_null<QAction*> AddCheckedAction(
|
|
not_null<Ui::PopupMenu*> menu,
|
|
const QString &text,
|
|
Fn<void()> callback,
|
|
const style::icon *icon,
|
|
bool checked);
|
|
|
|
} // namespace Menu
|