mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Update API scheme to layer 148, start forums.
This commit is contained in:
@@ -94,6 +94,7 @@ public:
|
||||
void clearSelection();
|
||||
|
||||
void changeOpenedFolder(Data::Folder *folder);
|
||||
void changeOpenedForum(ChannelData *forum);
|
||||
void selectSkip(int32 direction);
|
||||
void selectSkipPage(int32 pixels, int32 direction);
|
||||
|
||||
@@ -109,6 +110,7 @@ public:
|
||||
void scrollToEntry(const RowDescriptor &entry);
|
||||
|
||||
Data::Folder *shownFolder() const;
|
||||
ChannelData *shownForum() const;
|
||||
int32 lastSearchDate() const;
|
||||
PeerData *lastSearchPeer() const;
|
||||
MsgId lastSearchId() const;
|
||||
@@ -179,6 +181,7 @@ private:
|
||||
Loading,
|
||||
NoContacts,
|
||||
EmptyFolder,
|
||||
EmptyForum,
|
||||
};
|
||||
|
||||
Main::Session &session() const;
|
||||
@@ -348,6 +351,7 @@ private:
|
||||
Qt::MouseButton _pressButton = Qt::LeftButton;
|
||||
|
||||
Data::Folder *_openedFolder = nullptr;
|
||||
ChannelData *_openedForum = nullptr;
|
||||
|
||||
std::vector<std::unique_ptr<CollapsedRow>> _collapsedRows;
|
||||
int _collapsedSelected = -1;
|
||||
|
Reference in New Issue
Block a user