2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

New media type Game added. Display of Game partially supported.

This commit is contained in:
John Preston
2016-09-27 16:37:18 +03:00
parent da49d8440a
commit 90a4b66366
23 changed files with 2241 additions and 812 deletions

View File

@@ -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;