mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Windows 8/8.1/10 toast notifications support added
This commit is contained in:
@@ -67,6 +67,9 @@ public:
|
||||
|
||||
void psUpdateCounter();
|
||||
|
||||
bool psHasNativeNotifications();
|
||||
void psCleanNotifyPhotosIn(int32 dt);
|
||||
|
||||
virtual QImage iconWithCounter(int size, int count, style::color bg, bool smallIcon) = 0;
|
||||
|
||||
~PsMainWindow();
|
||||
@@ -77,6 +80,8 @@ public slots:
|
||||
void psSavePosition(Qt::WindowState state = Qt::WindowActive);
|
||||
void psShowTrayMenu();
|
||||
|
||||
void psCleanNotifyPhotos();
|
||||
|
||||
protected:
|
||||
|
||||
bool psHasTrayIcon() const {
|
||||
@@ -100,6 +105,8 @@ private:
|
||||
HMENU ps_menu;
|
||||
HICON ps_iconBig, ps_iconSmall, ps_iconOverlay;
|
||||
|
||||
SingleTimer ps_cleanNotifyPhotosTimer;
|
||||
|
||||
void psDestroyIcons();
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user