mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Moved inline bot result structs from structs.cpp/h module.
Moved inline bot result layouts from layout.cpp/h module. Over status prepared for inline bot file result icon. Dependencies reduced, inline bots code moved to InlineBots namespace. Build in Xcode and QtCreator broken.
This commit is contained in:
@@ -105,9 +105,6 @@ namespace {
|
||||
typedef QHash<PhotoData*, LastPhotosList::iterator> LastPhotosMap;
|
||||
LastPhotosMap lastPhotosMap;
|
||||
|
||||
typedef QMap<FileLoader*, InlineResult*> InlineResultLoaders;
|
||||
InlineResultLoaders inlineResultLoaders;
|
||||
|
||||
style::color _msgServiceBg;
|
||||
style::color _msgServiceSelectBg;
|
||||
style::color _historyScrollBarColor;
|
||||
@@ -2376,14 +2373,6 @@ namespace {
|
||||
if (changeInMin) App::main()->updateMutedIn(changeInMin);
|
||||
}
|
||||
|
||||
void regInlineResultLoader(FileLoader *loader, InlineResult *result) {
|
||||
::inlineResultLoaders.insert(loader, result);
|
||||
}
|
||||
|
||||
void unregInlineResultLoader(FileLoader *loader) {
|
||||
::inlineResultLoaders.remove(loader);
|
||||
}
|
||||
|
||||
void setProxySettings(QNetworkAccessManager &manager) {
|
||||
#ifndef TDESKTOP_DISABLE_NETWORK_PROXY
|
||||
manager.setProxy(getHttpProxySettings());
|
||||
|
Reference in New Issue
Block a user