summaryrefslogtreecommitdiff
path: root/src/nxmaccessmanager.h
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-11-26 07:39:35 +0000
committerThomas Tanner <trtanner@btinternet.com>2015-11-26 07:39:35 +0000
commit82e6c98043bd18f5329e8b6d0a6f99c4d28cc0a2 (patch)
treeb0c18c1782b5d26ac9282cd11cc2f16df5f6b0f5 /src/nxmaccessmanager.h
parent29dadf52f1c217ddee7ef9e0873cb4e12797318b (diff)
Replace last occurrence of GameInfo::getNexusGameID and remove a whole load of gameinfo.h includes
Diffstat (limited to 'src/nxmaccessmanager.h')
-rw-r--r--src/nxmaccessmanager.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/nxmaccessmanager.h b/src/nxmaccessmanager.h
index a03dbe36..2a016cad 100644
--- a/src/nxmaccessmanager.h
+++ b/src/nxmaccessmanager.h
@@ -27,6 +27,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
#include <QProgressDialog>
#include <set>
+namespace MOBase { class IPluginGame; }
/**
* @brief access manager extended to handle nxm links
@@ -84,7 +85,9 @@ private slots:
void loginError(QNetworkReply::NetworkError errorCode);
void loginTimeout();
-public slots:
+public:
+ //This would be a slot but the NexusInterface code calls this
+ void managedGameChanged(MOBase::IPluginGame const *game);
protected:
@@ -127,6 +130,8 @@ private:
LOGIN_VALID
} m_LoginState = LOGIN_NOT_CHECKED;
+ MOBase::IPluginGame const *m_Game;
+
};
#endif // NXMACCESSMANAGER_H