From 184cff8a7731c83f049dedb0f8e20d91c36e77a3 Mon Sep 17 00:00:00 2001 From: Thomas Tanner Date: Sun, 1 Nov 2015 18:27:34 +0000 Subject: Add support for version dependency checks --- src/shared/fallout3info.h | 1 + src/shared/falloutnvinfo.h | 1 + src/shared/gameinfo.h | 1 + src/shared/oblivioninfo.h | 1 + src/shared/skyriminfo.h | 1 + 5 files changed, 5 insertions(+) (limited to 'src/shared') diff --git a/src/shared/fallout3info.h b/src/shared/fallout3info.h index 0045581d..62eb0a08 100644 --- a/src/shared/fallout3info.h +++ b/src/shared/fallout3info.h @@ -38,6 +38,7 @@ public: static std::wstring getRegPathStatic(); virtual std::wstring getRegPath() { return getRegPathStatic(); } virtual std::wstring getBinaryName() { return L"Fallout3.exe"; } + virtual std::wstring getExtenderName() { return L"fose_loader.exe"; } virtual GameInfo::Type getType() { return TYPE_FALLOUT3; } diff --git a/src/shared/falloutnvinfo.h b/src/shared/falloutnvinfo.h index e1a614d2..3039d8cc 100644 --- a/src/shared/falloutnvinfo.h +++ b/src/shared/falloutnvinfo.h @@ -38,6 +38,7 @@ public: static std::wstring getRegPathStatic(); virtual std::wstring getRegPath() { return getRegPathStatic(); } virtual std::wstring getBinaryName() { return L"FalloutNV.exe"; } + virtual std::wstring getExtenderName() { return L"nvse_loader.exe"; } virtual GameInfo::Type getType() { return TYPE_FALLOUTNV; } diff --git a/src/shared/gameinfo.h b/src/shared/gameinfo.h index a32b6b82..5b344932 100644 --- a/src/shared/gameinfo.h +++ b/src/shared/gameinfo.h @@ -60,6 +60,7 @@ public: virtual std::wstring getRegPath() = 0; virtual std::wstring getBinaryName() = 0; + virtual std::wstring getExtenderName() = 0; virtual GameInfo::Type getType() = 0; diff --git a/src/shared/oblivioninfo.h b/src/shared/oblivioninfo.h index 87ba26ff..02fa32c6 100644 --- a/src/shared/oblivioninfo.h +++ b/src/shared/oblivioninfo.h @@ -36,6 +36,7 @@ public: static std::wstring getRegPathStatic(); virtual std::wstring getRegPath() { return getRegPathStatic(); } virtual std::wstring getBinaryName() { return L"Oblivion.exe"; } + virtual std::wstring getExtenderName() { return L"obse_loader.exe"; } virtual GameInfo::Type getType() { return TYPE_OBLIVION; } diff --git a/src/shared/skyriminfo.h b/src/shared/skyriminfo.h index 5951f910..1824eb3e 100644 --- a/src/shared/skyriminfo.h +++ b/src/shared/skyriminfo.h @@ -38,6 +38,7 @@ public: static std::wstring getRegPathStatic(); virtual std::wstring getRegPath() { return getRegPathStatic(); } virtual std::wstring getBinaryName() { return L"TESV.exe"; } + virtual std::wstring getExtenderName() { return L"skse_loader.exe"; } virtual GameInfo::Type getType() { return TYPE_SKYRIM; } -- cgit v1.3.1