Translation downloading!

This commit is contained in:
robotbrain
2014-09-29 20:05:44 -04:00
parent 382e167d64
commit bbdf5c1395
7 changed files with 100 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ class StatusChecker;
class BaseProfilerFactory;
class BaseDetachedToolFactory;
class URNResolver;
class TranslationDownloader;
#if defined(MMC)
#undef MMC
@@ -40,7 +41,8 @@ enum UpdateFlag
Q_DECLARE_FLAGS(UpdateFlags, UpdateFlag);
Q_DECLARE_OPERATORS_FOR_FLAGS(UpdateFlags);
// Global var used by the crash handling system to determine if a log file should be included in a crash report.
// Global var used by the crash handling system to determine if a log file should be included in
// a crash report.
extern bool loggerInitialized;
class MultiMC : public QApplication
@@ -209,6 +211,7 @@ private:
std::shared_ptr<MinecraftVersionList> m_minecraftlist;
std::shared_ptr<JavaVersionList> m_javalist;
std::shared_ptr<URNResolver> m_resolver;
std::shared_ptr<TranslationDownloader> m_translationChecker;
QMap<QString, std::shared_ptr<BaseProfilerFactory>> m_profilers;
QMap<QString, std::shared_ptr<BaseDetachedToolFactory>> m_tools;