mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
New media type Game added. Display of Game partially supported.
This commit is contained in:
@@ -344,6 +344,7 @@ public:
|
||||
void mediaMarkRead(const HistoryItemsMap &items);
|
||||
|
||||
void webPageUpdated(WebPageData *page);
|
||||
void gameUpdated(GameData *game);
|
||||
void updateMutedIn(int32 seconds);
|
||||
|
||||
void updateStickers();
|
||||
@@ -407,7 +408,6 @@ public:
|
||||
~MainWidget();
|
||||
|
||||
signals:
|
||||
|
||||
void peerUpdated(PeerData *peer);
|
||||
void peerNameChanged(PeerData *peer, const PeerData::Names &oldNames, const PeerData::NameFirstChars &oldChars);
|
||||
void peerPhotoChanged(PeerData *peer);
|
||||
@@ -417,8 +417,7 @@ signals:
|
||||
void savedGifsUpdated();
|
||||
|
||||
public slots:
|
||||
|
||||
void webPagesUpdate();
|
||||
void webPagesOrGamesUpdate();
|
||||
|
||||
void audioPlayProgress(const AudioMsgId &audioId);
|
||||
void documentLoadProgress(FileLoader *loader);
|
||||
@@ -511,8 +510,9 @@ private:
|
||||
Text _toForwardFrom, _toForwardText;
|
||||
int32 _toForwardNameVersion = 0;
|
||||
|
||||
QMap<WebPageId, bool> _webPagesUpdated;
|
||||
QTimer _webPageUpdater;
|
||||
OrderedSet<WebPageId> _webPagesUpdated;
|
||||
OrderedSet<GameId> _gamesUpdated;
|
||||
QTimer _webPageOrGameUpdater;
|
||||
|
||||
SingleTimer _updateMutedTimer;
|
||||
|
||||
|
Reference in New Issue
Block a user