ZaStoGram_desktop/Telegram/SourceFiles/tgw/tgw_log_box.h
John Preston 059267b720 Run .tgw widgets in the shared widget sandbox
Task: 2026/10/13/run-tgw-widgets-in-the-shared-sandbox
2026-11-05 17:12:53 +04:00

26 lines
551 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
namespace HistoryView {
class Element;
} // namespace HistoryView
namespace Ui {
class PopupMenu;
class Show;
} // namespace Ui
namespace Tgw {
void AddLogAction(
not_null<Ui::PopupMenu*> menu,
not_null<const HistoryView::Element*> view,
std::shared_ptr<Ui::Show> show);
} // namespace Tgw