diff options
| author | Al <26797547+Al12rs@users.noreply.github.com> | 2021-07-16 12:31:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-16 12:31:29 +0200 |
| commit | 9256739e3ae9cbd1b576388c6df48734cb1bdeae (patch) | |
| tree | f4440b8fe87a3974b568430a6717422a711bc672 /src/nexusinterface.h | |
| parent | 58e5058a2b524cab655d9562b07d51a5b12d2f14 (diff) | |
| parent | d413f673e880eb84b4c7dbc2143322e7dd506e6d (diff) | |
Merge pull request #1555 from ModOrganizer2/nexus-archived-support
Nexus archived support
Diffstat (limited to 'src/nexusinterface.h')
| -rw-r--r-- | src/nexusinterface.h | 12 |
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); |
