summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nexusinterface.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nexusinterface.h b/src/nexusinterface.h
index cf365b2e..e188d0bf 100644
--- a/src/nexusinterface.h
+++ b/src/nexusinterface.h
@@ -148,6 +148,18 @@ public:
MONTH
};
+ // Nexus file category IDs (MAIN, OLD etc), not to be confused with mod categories (Armors, Texture etc).
+ enum FileStatus {
+ MAIN = 1,
+ UPDATE = 2,
+ OPTIONAL_FILE = 3, // actual string version is "OPTIONAL", but that is already defined as a macro in minwindef.h
+ OLD_VERSION = 4,
+ MISCELLANEOUS = 5,
+ REMOVED = 6,
+ ARCHIVED = 7,
+ ARCHIVED_HIDDEN = 1000 // Archived files can be hidden by authors so if they aren't listed we can assume they were hidden.
+ };
+
public:
static APILimits defaultAPILimits();
static APILimits parseLimits(const QNetworkReply* reply);