summaryrefslogtreecommitdiff
path: root/src/nexusinterface.h
diff options
context:
space:
mode:
authorAl <26797547+Al12rs@users.noreply.github.com>2021-07-16 12:31:29 +0200
committerGitHub <noreply@github.com>2021-07-16 12:31:29 +0200
commit9256739e3ae9cbd1b576388c6df48734cb1bdeae (patch)
treef4440b8fe87a3974b568430a6717422a711bc672 /src/nexusinterface.h
parent58e5058a2b524cab655d9562b07d51a5b12d2f14 (diff)
parentd413f673e880eb84b4c7dbc2143322e7dd506e6d (diff)
Merge pull request #1555 from ModOrganizer2/nexus-archived-support
Nexus archived support
Diffstat (limited to 'src/nexusinterface.h')
-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);