summaryrefslogtreecommitdiff
path: root/src/nexusinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nexusinterface.h')
-rw-r--r--src/nexusinterface.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/nexusinterface.h b/src/nexusinterface.h
index cc54daa9..af2f8c75 100644
--- a/src/nexusinterface.h
+++ b/src/nexusinterface.h
@@ -130,6 +130,8 @@ class NexusInterface : public QObject
public:
+ ~NexusInterface();
+
static NexusInterface *instance();
/**
@@ -138,6 +140,11 @@ public:
NXMAccessManager *getAccessManager();
/**
+ * @brief cleanup this interface. this is destructive, afterwards it can't be used again
+ */
+ void cleanup();
+
+ /**
* @brief request description for a mod
*
* @param modID id of the mod caller is interested in
@@ -301,7 +308,6 @@ private:
void nextRequest();
void requestFinished(std::list<NXMRequestInfo>::iterator iter);
bool requiresLogin(const NXMRequestInfo &info);
- static void cleanup();
private: