summaryrefslogtreecommitdiff
path: root/src/nexusinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nexusinterface.h')
-rw-r--r--src/nexusinterface.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nexusinterface.h b/src/nexusinterface.h
index 72f30a38..cf365b2e 100644
--- a/src/nexusinterface.h
+++ b/src/nexusinterface.h
@@ -40,7 +40,7 @@ namespace MOBase { class IPluginGame; }
class NexusInterface;
class NXMAccessManager;
-
+class Settings;
/**
* @brief convenience class to make nxm requests easier
@@ -153,7 +153,9 @@ public:
static APILimits parseLimits(const QNetworkReply* reply);
static APILimits parseLimits(const QList<QNetworkReply::RawHeaderPair>& headers);
+ NexusInterface(Settings* s);
~NexusInterface();
+
static NexusInterface& instance();
/**
@@ -533,8 +535,6 @@ private:
static const int MAX_ACTIVE_DOWNLOADS = 6;
private:
-
- NexusInterface();
void nextRequest();
void requestFinished(std::list<NXMRequestInfo>::iterator iter);
MOBase::IPluginGame *getGame(QString gameName) const;