tdesktop/Telegram/SourceFiles/ui/ui_integration.h

21 lines
538 B
C
Raw Normal View History

2019-09-13 19:45:48 +03:00
/*
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"
// Methods that must be implemented outside lib_ui.
namespace Ui {
void PostponeCall(FnMut<void()> &&callable);
void RegisterLeaveSubscription(not_null<QWidget*> widget);
void UnregisterLeaveSubscription(not_null<QWidget*> widget);
} // namespace Ui