From ed651e7e4296f8e52ffdfcb0cac38c7568e0a4ed Mon Sep 17 00:00:00 2001 From: Dax89 Date: Sun, 20 Nov 2016 15:19:40 +0100 Subject: [PATCH] Config/Cache split --- LibQTelegram.pro | 56 +++++++++---------- {config/cache => cache}/cachefetcher.cpp | 7 +-- {config/cache => cache}/cachefetcher.h | 6 +- {config/cache => cache}/cacheinitializer.cpp | 4 +- {config/cache => cache}/cacheinitializer.h | 4 +- .../database/cachedatabase.cpp | 0 .../cache => cache}/database/cachedatabase.h | 0 .../cache => cache}/database/databasedata.cpp | 0 .../cache => cache}/database/databasedata.h | 0 .../database/tables/chatfulltable.cpp | 0 .../database/tables/chatfulltable.h | 0 .../database/tables/chatstable.cpp | 0 .../database/tables/chatstable.h | 0 .../database/tables/databasetable.cpp | 0 .../database/tables/databasetable.h | 6 +- .../database/tables/dialogstable.cpp | 0 .../database/tables/dialogstable.h | 0 .../database/tables/messagestable.cpp | 0 .../database/tables/messagestable.h | 0 .../database/tables/pendingwebpagetable.cpp | 0 .../database/tables/pendingwebpagetable.h | 0 .../database/tables/userstable.cpp | 0 .../database/tables/userstable.h | 0 {config/cache => cache/file}/filecache.cpp | 2 +- {config/cache => cache/file}/filecache.h | 0 {config/cache => cache/file}/fileuploader.cpp | 0 {config/cache => cache/file}/fileuploader.h | 0 {config/cache => cache}/telegramcache.cpp | 2 +- {config/cache => cache}/telegramcache.h | 8 +-- models/abstract/telegrammodel.cpp | 2 +- models/contactsmodel.cpp | 2 +- models/dialogsmodel.cpp | 2 +- models/messagesmodel.cpp | 2 +- models/messagesmodel.h | 2 +- objects/fileobject.h | 2 +- .../notifications/telegramnotifications.cpp | 2 +- objects/peerprofile.cpp | 2 +- objects/sendstatus/sendstatushandler.cpp | 2 +- objects/telegraminitializer.cpp | 4 +- quick/qquickbaseitem.h | 2 +- quick/qquickpeerimage.cpp | 2 +- telegram.cpp | 4 +- types/telegramhelper.h | 2 +- 43 files changed, 63 insertions(+), 64 deletions(-) rename {config/cache => cache}/cachefetcher.cpp (85%) rename {config/cache => cache}/cachefetcher.h (80%) rename {config/cache => cache}/cacheinitializer.cpp (98%) rename {config/cache => cache}/cacheinitializer.h (93%) rename {config/cache => cache}/database/cachedatabase.cpp (100%) rename {config/cache => cache}/database/cachedatabase.h (100%) rename {config/cache => cache}/database/databasedata.cpp (100%) rename {config/cache => cache}/database/databasedata.h (100%) rename {config/cache => cache}/database/tables/chatfulltable.cpp (100%) rename {config/cache => cache}/database/tables/chatfulltable.h (100%) rename {config/cache => cache}/database/tables/chatstable.cpp (100%) rename {config/cache => cache}/database/tables/chatstable.h (100%) rename {config/cache => cache}/database/tables/databasetable.cpp (100%) rename {config/cache => cache}/database/tables/databasetable.h (94%) rename {config/cache => cache}/database/tables/dialogstable.cpp (100%) rename {config/cache => cache}/database/tables/dialogstable.h (100%) rename {config/cache => cache}/database/tables/messagestable.cpp (100%) rename {config/cache => cache}/database/tables/messagestable.h (100%) rename {config/cache => cache}/database/tables/pendingwebpagetable.cpp (100%) rename {config/cache => cache}/database/tables/pendingwebpagetable.h (100%) rename {config/cache => cache}/database/tables/userstable.cpp (100%) rename {config/cache => cache}/database/tables/userstable.h (100%) rename {config/cache => cache/file}/filecache.cpp (99%) rename {config/cache => cache/file}/filecache.h (100%) rename {config/cache => cache/file}/fileuploader.cpp (100%) rename {config/cache => cache/file}/fileuploader.h (100%) rename {config/cache => cache}/telegramcache.cpp (99%) rename {config/cache => cache}/telegramcache.h (97%) diff --git a/LibQTelegram.pro b/LibQTelegram.pro index 62cf034..20901c8 100644 --- a/LibQTelegram.pro +++ b/LibQTelegram.pro @@ -224,8 +224,6 @@ SOURCES += \ types/telegramobject.cpp \ models/dialogsmodel.cpp \ mtproto/mtprotoupdatehandler.cpp \ - config/cache/telegramcache.cpp \ - config/cache/cacheinitializer.cpp \ types/telegramhelper.cpp \ autogenerated/clientsyncmanager.cpp \ objects/telegraminitializer.cpp \ @@ -235,29 +233,31 @@ SOURCES += \ models/contactsmodel.cpp \ models/abstract/telegrammodel.cpp \ models/abstract/telegramsortfilterproxymodel.cpp \ - config/cache/filecache.cpp \ objects/fileobject.cpp \ models/messagesmodel.cpp \ - config/cache/database/cachedatabase.cpp \ - config/cache/database/tables/dialogstable.cpp \ - config/cache/database/tables/userstable.cpp \ - config/cache/database/tables/chatstable.cpp \ - config/cache/database/tables/databasetable.cpp \ - config/cache/database/databasedata.cpp \ - config/cache/database/tables/messagestable.cpp \ quick/qquickmediamessageitem.cpp \ quick/qquickpeerimage.cpp \ quick/qquickbaseitem.cpp \ - config/cache/cachefetcher.cpp \ objects/notifications/telegramnotifications.cpp \ objects/notifications/notificationobject.cpp \ objects/sendstatus/sendstatushandler.cpp \ objects/sendstatus/sendstatusobject.cpp \ - config/cache/database/tables/pendingwebpagetable.cpp \ quick/qquickwaveform.cpp \ objects/peerprofile.cpp \ - config/cache/database/tables/chatfulltable.cpp \ - config/cache/fileuploader.cpp + cache/cachefetcher.cpp \ + cache/cacheinitializer.cpp \ + cache/telegramcache.cpp \ + cache/database/cachedatabase.cpp \ + cache/database/databasedata.cpp \ + cache/database/tables/chatfulltable.cpp \ + cache/database/tables/chatstable.cpp \ + cache/database/tables/databasetable.cpp \ + cache/database/tables/dialogstable.cpp \ + cache/database/tables/messagestable.cpp \ + cache/database/tables/pendingwebpagetable.cpp \ + cache/database/tables/userstable.cpp \ + cache/file/fileuploader.cpp \ + cache/file/filecache.cpp HEADERS +=\ libqtelegram_global.h \ @@ -474,8 +474,6 @@ HEADERS +=\ types/telegramobject.h \ models/dialogsmodel.h \ mtproto/mtprotoupdatehandler.h \ - config/cache/telegramcache.h \ - config/cache/cacheinitializer.h \ types/telegramhelper.h \ autogenerated/clientsyncmanager.h \ objects/telegraminitializer.h \ @@ -485,28 +483,30 @@ HEADERS +=\ models/contactsmodel.h \ models/abstract/telegrammodel.h \ models/abstract/telegramsortfilterproxymodel.h \ - config/cache/filecache.h \ objects/fileobject.h \ models/messagesmodel.h \ - config/cache/database/cachedatabase.h \ - config/cache/database/databasedata.h \ - config/cache/database/tables/dialogstable.h \ - config/cache/database/tables/userstable.h \ - config/cache/database/tables/chatstable.h \ - config/cache/database/tables/databasetable.h \ - config/cache/database/tables/messagestable.h \ quick/qquickmediamessageitem.h \ quick/qquickpeerimage.h \ quick/qquickbaseitem.h \ - config/cache/cachefetcher.h \ objects/notifications/telegramnotifications.h \ objects/notifications/notificationobject.h \ objects/sendstatus/sendstatushandler.h \ objects/sendstatus/sendstatusobject.h \ crypto/hash.h \ - config/cache/database/tables/pendingwebpagetable.h \ types/time.h \ quick/qquickwaveform.h \ objects/peerprofile.h \ - config/cache/database/tables/chatfulltable.h \ - config/cache/fileuploader.h + cache/cachefetcher.h \ + cache/cacheinitializer.h \ + cache/telegramcache.h \ + cache/database/cachedatabase.h \ + cache/database/databasedata.h \ + cache/database/tables/chatfulltable.h \ + cache/database/tables/chatstable.h \ + cache/database/tables/databasetable.h \ + cache/database/tables/dialogstable.h \ + cache/database/tables/messagestable.h \ + cache/database/tables/pendingwebpagetable.h \ + cache/database/tables/userstable.h \ + cache/file/filecache.h \ + cache/file/fileuploader.h diff --git a/config/cache/cachefetcher.cpp b/cache/cachefetcher.cpp similarity index 85% rename from config/cache/cachefetcher.cpp rename to cache/cachefetcher.cpp index f0011c3..3102277 100644 --- a/config/cache/cachefetcher.cpp +++ b/cache/cachefetcher.cpp @@ -1,8 +1,7 @@ #include "cachefetcher.h" -#include "../../autogenerated/telegramapi.h" -#include "../../mtproto/dc/dcsessionmanager.h" -#include "../../types/telegramhelper.h" -#include +#include "../autogenerated/telegramapi.h" +#include "../mtproto/dc/dcsessionmanager.h" +#include "../types/telegramhelper.h" CacheFetcher::CacheFetcher(QObject *parent) : QObject(parent), _update(NULL) { diff --git a/config/cache/cachefetcher.h b/cache/cachefetcher.h similarity index 80% rename from config/cache/cachefetcher.h rename to cache/cachefetcher.h index 5c16dd4..dd78620 100644 --- a/config/cache/cachefetcher.h +++ b/cache/cachefetcher.h @@ -2,9 +2,9 @@ #define CACHEFETCHER_H #include -#include "../../autogenerated/types/types.h" -#include "../../types/basic.h" -#include "../../mtproto/mtprotoreply.h" +#include "../autogenerated/types/types.h" +#include "../types/basic.h" +#include "../mtproto/mtprotoreply.h" class CacheFetcher : public QObject { diff --git a/config/cache/cacheinitializer.cpp b/cache/cacheinitializer.cpp similarity index 98% rename from config/cache/cacheinitializer.cpp rename to cache/cacheinitializer.cpp index 210ff39..4856b81 100644 --- a/config/cache/cacheinitializer.cpp +++ b/cache/cacheinitializer.cpp @@ -1,6 +1,6 @@ #include "cacheinitializer.h" -#include "../../autogenerated/telegramapi.h" -#include "../../mtproto/dc/dcsessionmanager.h" +#include "../autogenerated/telegramapi.h" +#include "../mtproto/dc/dcsessionmanager.h" #include "telegramcache.h" #define DialogsFirstLoad 20 diff --git a/config/cache/cacheinitializer.h b/cache/cacheinitializer.h similarity index 93% rename from config/cache/cacheinitializer.h rename to cache/cacheinitializer.h index 984e421..50854fd 100644 --- a/config/cache/cacheinitializer.h +++ b/cache/cacheinitializer.h @@ -2,8 +2,8 @@ #define CACHEINITIALIZER_H #include -#include "../../mtproto/mtprotoreply.h" -#include "../../autogenerated/types/types.h" +#include "../mtproto/mtprotoreply.h" +#include "../autogenerated/types/types.h" class CacheInitializer : public QObject { diff --git a/config/cache/database/cachedatabase.cpp b/cache/database/cachedatabase.cpp similarity index 100% rename from config/cache/database/cachedatabase.cpp rename to cache/database/cachedatabase.cpp diff --git a/config/cache/database/cachedatabase.h b/cache/database/cachedatabase.h similarity index 100% rename from config/cache/database/cachedatabase.h rename to cache/database/cachedatabase.h diff --git a/config/cache/database/databasedata.cpp b/cache/database/databasedata.cpp similarity index 100% rename from config/cache/database/databasedata.cpp rename to cache/database/databasedata.cpp diff --git a/config/cache/database/databasedata.h b/cache/database/databasedata.h similarity index 100% rename from config/cache/database/databasedata.h rename to cache/database/databasedata.h diff --git a/config/cache/database/tables/chatfulltable.cpp b/cache/database/tables/chatfulltable.cpp similarity index 100% rename from config/cache/database/tables/chatfulltable.cpp rename to cache/database/tables/chatfulltable.cpp diff --git a/config/cache/database/tables/chatfulltable.h b/cache/database/tables/chatfulltable.h similarity index 100% rename from config/cache/database/tables/chatfulltable.h rename to cache/database/tables/chatfulltable.h diff --git a/config/cache/database/tables/chatstable.cpp b/cache/database/tables/chatstable.cpp similarity index 100% rename from config/cache/database/tables/chatstable.cpp rename to cache/database/tables/chatstable.cpp diff --git a/config/cache/database/tables/chatstable.h b/cache/database/tables/chatstable.h similarity index 100% rename from config/cache/database/tables/chatstable.h rename to cache/database/tables/chatstable.h diff --git a/config/cache/database/tables/databasetable.cpp b/cache/database/tables/databasetable.cpp similarity index 100% rename from config/cache/database/tables/databasetable.cpp rename to cache/database/tables/databasetable.cpp diff --git a/config/cache/database/tables/databasetable.h b/cache/database/tables/databasetable.h similarity index 94% rename from config/cache/database/tables/databasetable.h rename to cache/database/tables/databasetable.h index 8ff14b5..4039a55 100644 --- a/config/cache/database/tables/databasetable.h +++ b/cache/database/tables/databasetable.h @@ -5,9 +5,9 @@ #include #include #include "../databasedata.h" -#include "../../../../types/telegramhelper.h" -#include "../../../../types/telegramobject.h" -#include "../../../../autogenerated/types/types.h" +#include "../../../types/telegramhelper.h" +#include "../../../types/telegramobject.h" +#include "../../../autogenerated/types/types.h" class DatabaseTable : public QObject { diff --git a/config/cache/database/tables/dialogstable.cpp b/cache/database/tables/dialogstable.cpp similarity index 100% rename from config/cache/database/tables/dialogstable.cpp rename to cache/database/tables/dialogstable.cpp diff --git a/config/cache/database/tables/dialogstable.h b/cache/database/tables/dialogstable.h similarity index 100% rename from config/cache/database/tables/dialogstable.h rename to cache/database/tables/dialogstable.h diff --git a/config/cache/database/tables/messagestable.cpp b/cache/database/tables/messagestable.cpp similarity index 100% rename from config/cache/database/tables/messagestable.cpp rename to cache/database/tables/messagestable.cpp diff --git a/config/cache/database/tables/messagestable.h b/cache/database/tables/messagestable.h similarity index 100% rename from config/cache/database/tables/messagestable.h rename to cache/database/tables/messagestable.h diff --git a/config/cache/database/tables/pendingwebpagetable.cpp b/cache/database/tables/pendingwebpagetable.cpp similarity index 100% rename from config/cache/database/tables/pendingwebpagetable.cpp rename to cache/database/tables/pendingwebpagetable.cpp diff --git a/config/cache/database/tables/pendingwebpagetable.h b/cache/database/tables/pendingwebpagetable.h similarity index 100% rename from config/cache/database/tables/pendingwebpagetable.h rename to cache/database/tables/pendingwebpagetable.h diff --git a/config/cache/database/tables/userstable.cpp b/cache/database/tables/userstable.cpp similarity index 100% rename from config/cache/database/tables/userstable.cpp rename to cache/database/tables/userstable.cpp diff --git a/config/cache/database/tables/userstable.h b/cache/database/tables/userstable.h similarity index 100% rename from config/cache/database/tables/userstable.h rename to cache/database/tables/userstable.h diff --git a/config/cache/filecache.cpp b/cache/file/filecache.cpp similarity index 99% rename from config/cache/filecache.cpp rename to cache/file/filecache.cpp index 7ecb699..c24c71e 100644 --- a/config/cache/filecache.cpp +++ b/cache/file/filecache.cpp @@ -2,7 +2,7 @@ #include "../../autogenerated/telegramapi.h" #include "../../types/telegramhelper.h" #include "../../crypto/hash.h" -#include "telegramcache.h" +#include "../telegramcache.h" #include #include diff --git a/config/cache/filecache.h b/cache/file/filecache.h similarity index 100% rename from config/cache/filecache.h rename to cache/file/filecache.h diff --git a/config/cache/fileuploader.cpp b/cache/file/fileuploader.cpp similarity index 100% rename from config/cache/fileuploader.cpp rename to cache/file/fileuploader.cpp diff --git a/config/cache/fileuploader.h b/cache/file/fileuploader.h similarity index 100% rename from config/cache/fileuploader.h rename to cache/file/fileuploader.h diff --git a/config/cache/telegramcache.cpp b/cache/telegramcache.cpp similarity index 99% rename from config/cache/telegramcache.cpp rename to cache/telegramcache.cpp index b4c662b..8b11de6 100644 --- a/config/cache/telegramcache.cpp +++ b/cache/telegramcache.cpp @@ -1,5 +1,5 @@ #include "telegramcache.h" -#include "../../mtproto/mtprotoupdatehandler.h" +#include "../mtproto/mtprotoupdatehandler.h" TelegramCache* TelegramCache::_instance = NULL; diff --git a/config/cache/telegramcache.h b/cache/telegramcache.h similarity index 97% rename from config/cache/telegramcache.h rename to cache/telegramcache.h index af9a7b4..8c55480 100644 --- a/config/cache/telegramcache.h +++ b/cache/telegramcache.h @@ -28,10 +28,10 @@ #include #include #include -#include "../../autogenerated/types/types.h" -#include "../../mtproto/mtprotoreply.h" -#include "../../types/telegramhelper.h" -#include "../telegramconfig.h" +#include "../autogenerated/types/types.h" +#include "../mtproto/mtprotoreply.h" +#include "../types/telegramhelper.h" +#include "../config/telegramconfig.h" #include "database/cachedatabase.h" #include "cachefetcher.h" diff --git a/models/abstract/telegrammodel.cpp b/models/abstract/telegrammodel.cpp index 5e569eb..6436d45 100644 --- a/models/abstract/telegrammodel.cpp +++ b/models/abstract/telegrammodel.cpp @@ -1,6 +1,6 @@ #include "telegrammodel.h" #include "../../config/telegramconfig.h" -#include "../../config/cache/telegramcache.h" +#include "../../cache/telegramcache.h" TelegramModel::TelegramModel(QObject *parent) : QAbstractListModel(parent), _telegram(NULL), _initializing(false), _loading(false) { diff --git a/models/contactsmodel.cpp b/models/contactsmodel.cpp index a1d5a21..c1418dc 100644 --- a/models/contactsmodel.cpp +++ b/models/contactsmodel.cpp @@ -1,5 +1,5 @@ #include "contactsmodel.h" -#include "../config/cache/telegramcache.h" +#include "cache/telegramcache.h" ContactsModel::ContactsModel(QObject *parent) : TelegramModel(parent), _pendingdialogid(0) { diff --git a/models/dialogsmodel.cpp b/models/dialogsmodel.cpp index b651d6b..957ba7c 100644 --- a/models/dialogsmodel.cpp +++ b/models/dialogsmodel.cpp @@ -1,5 +1,5 @@ #include "dialogsmodel.h" -#include "../config/cache/telegramcache.h" +#include "../cache/telegramcache.h" #include "../objects/sendstatus/sendstatushandler.h" DialogsModel::DialogsModel(QObject *parent) : TelegramModel(parent), _clouddialog(NULL) diff --git a/models/messagesmodel.cpp b/models/messagesmodel.cpp index 7a9c686..334c580 100644 --- a/models/messagesmodel.cpp +++ b/models/messagesmodel.cpp @@ -1,5 +1,5 @@ #include "messagesmodel.h" -#include "../config/cache/telegramcache.h" +#include "../cache/telegramcache.h" #include "../objects/sendstatus/sendstatushandler.h" #include "../crypto/math.h" #include diff --git a/models/messagesmodel.h b/models/messagesmodel.h index b267122..efee7a1 100644 --- a/models/messagesmodel.h +++ b/models/messagesmodel.h @@ -2,7 +2,7 @@ #define MESSAGESMODEL_H #include "abstract/telegrammodel.h" -#include "../config/cache/filecache.h" +#include "../cache/file/filecache.h" class MessagesModel : public TelegramModel { diff --git a/objects/fileobject.h b/objects/fileobject.h index 4ad6537..f4c74ea 100644 --- a/objects/fileobject.h +++ b/objects/fileobject.h @@ -7,7 +7,7 @@ #include "../autogenerated/types/types.h" #include "../mtproto/mtprotorequest.h" #include "../mtproto/dc/dcsessionmanager.h" -#include "../config/cache/fileuploader.h" +#include "../cache/file/fileuploader.h" class FileObject : public QObject { diff --git a/objects/notifications/telegramnotifications.cpp b/objects/notifications/telegramnotifications.cpp index ef1f933..51006d0 100644 --- a/objects/notifications/telegramnotifications.cpp +++ b/objects/notifications/telegramnotifications.cpp @@ -1,6 +1,6 @@ #include "telegramnotifications.h" #include "../../mtproto/mtprotoupdatehandler.h" -#include "../../config/cache/telegramcache.h" +#include "../../cache/telegramcache.h" TelegramNotifications::TelegramNotifications(QObject *parent) : QObject(parent), _telegram(NULL), _currentdialog(NULL), _mute(false) { diff --git a/objects/peerprofile.cpp b/objects/peerprofile.cpp index 52e4b56..acab76e 100644 --- a/objects/peerprofile.cpp +++ b/objects/peerprofile.cpp @@ -1,6 +1,6 @@ #include "peerprofile.h" #include "../types/telegramhelper.h" -#include "../config/cache/telegramcache.h" +#include "../cache/telegramcache.h" PeerProfile::PeerProfile(QObject *parent) : QObject(parent), _telegram(NULL), _peer(NULL), _dialog(NULL), _chat(NULL), _user(NULL) { diff --git a/objects/sendstatus/sendstatushandler.cpp b/objects/sendstatus/sendstatushandler.cpp index 23ad82c..d178da3 100644 --- a/objects/sendstatus/sendstatushandler.cpp +++ b/objects/sendstatus/sendstatushandler.cpp @@ -1,6 +1,6 @@ #include "sendstatushandler.h" #include "../../mtproto/mtprotoupdatehandler.h" -#include "../../config/cache/telegramcache.h" +#include "../../cache/telegramcache.h" SendStatusHandler* SendStatusHandler::_instance = NULL; diff --git a/objects/telegraminitializer.cpp b/objects/telegraminitializer.cpp index baa0dc9..db8a087 100644 --- a/objects/telegraminitializer.cpp +++ b/objects/telegraminitializer.cpp @@ -1,7 +1,7 @@ #include "telegraminitializer.h" #include "mtproto/mtprotoupdatehandler.h" -#include "config/cache/cacheinitializer.h" -#include "config/cache/telegramcache.h" +#include "cache/cacheinitializer.h" +#include "cache/telegramcache.h" #include TelegramInitializer::TelegramInitializer(QObject *parent) : QObject(parent), _apiid(0), _port(0), _dcid(0), _debugmode(false), _accountpassword(NULL), _floodlocktimer(0) diff --git a/quick/qquickbaseitem.h b/quick/qquickbaseitem.h index 267585b..f37f3a5 100644 --- a/quick/qquickbaseitem.h +++ b/quick/qquickbaseitem.h @@ -3,7 +3,7 @@ #include #include -#include "../config/cache/filecache.h" +#include "../cache/file/filecache.h" #include "../types/telegramhelper.h" class QQuickBaseItem : public QQuickItem diff --git a/quick/qquickpeerimage.cpp b/quick/qquickpeerimage.cpp index 3af4225..b7124ed 100644 --- a/quick/qquickpeerimage.cpp +++ b/quick/qquickpeerimage.cpp @@ -1,5 +1,5 @@ #include "qquickpeerimage.h" -#include "../config/cache/telegramcache.h" +#include "../cache/telegramcache.h" QQuickPeerImage::QQuickPeerImage(QQuickItem* parent): QQuickBaseItem(parent), _peer(NULL), _size(0) { diff --git a/telegram.cpp b/telegram.cpp index 560e341..062f91f 100644 --- a/telegram.cpp +++ b/telegram.cpp @@ -1,7 +1,7 @@ #include "telegram.h" #include "mtproto/mtprotoupdatehandler.h" -#include "config/cache/telegramcache.h" -#include "config/cache/filecache.h" +#include "cache/telegramcache.h" +#include "cache/file/filecache.h" #include "types/telegramhelper.h" Telegram::Telegram(QObject *parent) : QObject(parent), _initializer(NULL), _autodownload(false) diff --git a/types/telegramhelper.h b/types/telegramhelper.h index 2b1478a..f9b967a 100644 --- a/types/telegramhelper.h +++ b/types/telegramhelper.h @@ -3,7 +3,7 @@ #include "basic.h" #include "../autogenerated/types/types.h" -#include "../config/cache/fileuploader.h" +#include "../cache/file/fileuploader.h" #include "../types/time.h" class TelegramHelper