diff options
Diffstat (limited to 'libraries/logic/trans/TranslationDownloader.h')
-rw-r--r-- | libraries/logic/trans/TranslationDownloader.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/libraries/logic/trans/TranslationDownloader.h b/libraries/logic/trans/TranslationDownloader.h deleted file mode 100644 index e7893805..00000000 --- a/libraries/logic/trans/TranslationDownloader.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once - -#include <QList> -#include <QUrl> -#include <memory> -#include <QObject> -#include <net/NetJob.h> -#include "multimc_logic_export.h" - -class ByteArrayDownload; -class NetJob; - -class MULTIMC_LOGIC_EXPORT TranslationDownloader : public QObject -{ - Q_OBJECT - -public: - TranslationDownloader(); - - void downloadTranslations(); - -private slots: - void indexRecieved(); - void indexFailed(QString reason); - void dlFailed(QString reason); - void dlGood(); - -private: - std::shared_ptr<ByteArrayDownload> m_index_task; - NetJobPtr m_dl_job; - NetJobPtr m_index_job; -}; |