summaryrefslogtreecommitdiff
path: root/src/nexusinterface.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-11-21 15:07:31 +0100
committerTannin <devnull@localhost>2014-11-21 15:07:31 +0100
commit45a46778fb9c7195cb09fbba4a2c502dca6bca13 (patch)
treec304a6ffa3412fa66edab50fd293cc7fd13faaa9 /src/nexusinterface.h
parentcfb863f6c3ae7406028b9e167a3115250fefbca3 (diff)
parentf2f9e11fdd876821107cff0c1c5b9d8ecf66691f (diff)
Merge
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: