diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-11-20 20:40:59 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-11-21 01:19:34 +0100 |
commit | 905bc2e440060a6228725fe1e7abd9a1fce7b1e8 (patch) | |
tree | bbc763b9b15e0c812321b263b3ae27af55ad793d /application/MultiMC.h | |
parent | 2f8c752d1fe9976fdbd683d34ae3dcbf4e797591 (diff) | |
download | PrismLauncher-905bc2e440060a6228725fe1e7abd9a1fce7b1e8.tar.gz PrismLauncher-905bc2e440060a6228725fe1e7abd9a1fce7b1e8.tar.bz2 PrismLauncher-905bc2e440060a6228725fe1e7abd9a1fce7b1e8.zip |
NOISSUE most basic analytics integration possible
Diffstat (limited to 'application/MultiMC.h')
-rw-r--r-- | application/MultiMC.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/application/MultiMC.h b/application/MultiMC.h index 23cafdb1..55f63ac4 100644 --- a/application/MultiMC.h +++ b/application/MultiMC.h @@ -34,6 +34,7 @@ class BaseDetachedToolFactory; class TranslationDownloader; class ITheme; class MCEditTool; +class GAnalytics; #if defined(MMC) #undef MMC @@ -173,6 +174,8 @@ private: void initInstances(); void initAccounts(); void initMCEdit(); + void initAnalytics(); + void shutdownAnalytics(); private: QDateTime startTime; @@ -218,6 +221,8 @@ private: // peer MultiMC instance connector - used to implement single instance MultiMC and signalling LocalPeer * m_peerInstance = nullptr; + + GAnalytics * m_analytics = nullptr; public: QString m_instanceIdToLaunch; bool m_liveCheck = false; |