2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Improve compile time.

This commit is contained in:
John Preston
2017-11-21 13:20:56 +04:00
parent 6ca105a290
commit d93c1ccbaa
69 changed files with 692 additions and 5022 deletions

View File

@@ -109,16 +109,12 @@ public:
void setSearchEnabledByContent(bool enabled) {
_seachEnabledByContent = enabled;
}
rpl::producer<bool> searchEnabledByContent() const {
return _seachEnabledByContent.value();
}
rpl::producer<bool> searchEnabledByContent() const;
rpl::producer<SparseIdsMergedSlice> mediaSource(
SparseIdsMergedSlice::UniversalMsgId aroundId,
int limitBefore,
int limitAfter) const;
rpl::producer<QString> mediaSourceQueryValue() const {
return _searchController->currentQueryValue();
}
rpl::producer<QString> mediaSourceQueryValue() const;
void saveSearchState(not_null<ContentMemento*> memento);