summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-11-26 17:48:50 +0000
committerThomas Tanner <trtanner@btinternet.com>2015-11-26 17:48:50 +0000
commitdd37152eae382ee95535b289b17b0a727e4038f5 (patch)
tree5e88903380163a31c4c1edc1989d600f3859026a /src/shared
parent82e6c98043bd18f5329e8b6d0a6f99c4d28cc0a2 (diff)
This removes getNexusPage from GameInfo and is currently in the game plugin.
I'm looking to move it to the nexus interface though as it doesn't really relate to the game plugin. I've also removed the MananagementURL as - you can log into nexus without needing to specify the game - See above - it doesn't belong with the game plugin This gets rid of all dependencies bar game saving and logging in
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/fallout3info.cpp9
-rw-r--r--src/shared/fallout3info.h2
-rw-r--r--src/shared/falloutnvinfo.cpp10
-rw-r--r--src/shared/falloutnvinfo.h2
-rw-r--r--src/shared/gameinfo.h2
-rw-r--r--src/shared/oblivioninfo.cpp14
-rw-r--r--src/shared/oblivioninfo.h2
-rw-r--r--src/shared/skyriminfo.cpp11
-rw-r--r--src/shared/skyriminfo.h4
9 files changed, 0 insertions, 56 deletions
diff --git a/src/shared/fallout3info.cpp b/src/shared/fallout3info.cpp
index cb2a3adf..043a25dc 100644
--- a/src/shared/fallout3info.cpp
+++ b/src/shared/fallout3info.cpp
@@ -78,15 +78,6 @@ std::wstring Fallout3Info::getReferenceDataFile()
return L"Fallout - Meshes.bsa";
}
-std::wstring Fallout3Info::getNexusPage(bool nmmScheme)
-{
- if (nmmScheme) {
- return L"http://nmm.nexusmods.com/fallout3";
- } else {
- return L"http://www.nexusmods.com/fallout3";
- }
-}
-
bool Fallout3Info::rerouteToProfile(const wchar_t *fileName, const wchar_t*)
{
static LPCWSTR profileFiles[] = { L"fallout.ini", L"falloutprefs.ini", L"plugins.txt", nullptr };
diff --git a/src/shared/fallout3info.h b/src/shared/fallout3info.h
index e6064825..ed525588 100644
--- a/src/shared/fallout3info.h
+++ b/src/shared/fallout3info.h
@@ -49,8 +49,6 @@ public:
virtual std::wstring getReferenceDataFile();
- virtual std::wstring getNexusPage(bool nmmScheme = true);
-
virtual bool rerouteToProfile(const wchar_t *fileName, const wchar_t *fullPath);
// get a list of executables (game binary and known-to-work 3rd party tools). All of these are relative to
diff --git a/src/shared/falloutnvinfo.cpp b/src/shared/falloutnvinfo.cpp
index bfc31c0b..88985ad6 100644
--- a/src/shared/falloutnvinfo.cpp
+++ b/src/shared/falloutnvinfo.cpp
@@ -78,16 +78,6 @@ std::wstring FalloutNVInfo::getReferenceDataFile()
return L"Fallout - Meshes.bsa";
}
-std::wstring FalloutNVInfo::getNexusPage(bool nmmScheme)
-{
- if (nmmScheme) {
- return L"http://nmm.nexusmods.com/newvegas";
- } else {
- return L"http://www.nexusmods.com/newvegas";
- }
-}
-
-
bool FalloutNVInfo::rerouteToProfile(const wchar_t *fileName, const wchar_t*)
{
static LPCWSTR profileFiles[] = { L"fallout.ini", L"falloutprefs.ini", L"plugins.txt", nullptr };
diff --git a/src/shared/falloutnvinfo.h b/src/shared/falloutnvinfo.h
index aa187fb3..ee67ac17 100644
--- a/src/shared/falloutnvinfo.h
+++ b/src/shared/falloutnvinfo.h
@@ -49,8 +49,6 @@ public:
virtual std::wstring getReferenceDataFile();
- virtual std::wstring getNexusPage(bool nmmScheme = true);
-
virtual bool rerouteToProfile(const wchar_t *fileName, const wchar_t *fullPath);
// get a list of executables (game binary and known-to-work 3rd party tools). All of these are relative to
diff --git a/src/shared/gameinfo.h b/src/shared/gameinfo.h
index b6a4f142..de3af8b4 100644
--- a/src/shared/gameinfo.h
+++ b/src/shared/gameinfo.h
@@ -82,8 +82,6 @@ public:
//**USED ONLY IN HOOKDLL
virtual bool rerouteToProfile(const wchar_t *fileName, const wchar_t *fullPath) = 0;
- virtual std::wstring getNexusPage(bool nmmScheme = true) = 0;
-
//**USED IN HOOKDLL and everywhere that uses GameInfo
static GameInfo& instance();
diff --git a/src/shared/oblivioninfo.cpp b/src/shared/oblivioninfo.cpp
index 9bd5f4b1..a3dc3986 100644
--- a/src/shared/oblivioninfo.cpp
+++ b/src/shared/oblivioninfo.cpp
@@ -77,20 +77,6 @@ std::vector<std::wstring> OblivionInfo::getIniFileNames()
return boost::assign::list_of(L"oblivion.ini")(L"oblivionprefs.ini");
}
-
-
-
-
-std::wstring OblivionInfo::getNexusPage(bool nmmScheme)
-{
- if (nmmScheme) {
- return L"http://nmm.nexusmods.com/oblivion";
- } else {
- return L"http://www.nexusmods.com/oblivion";
- }
-}
-
-
bool OblivionInfo::rerouteToProfile(const wchar_t *fileName, const wchar_t*)
{
static LPCWSTR profileFiles[] = { L"oblivion.ini", L"oblivionprefs.ini", L"plugins.txt", nullptr };
diff --git a/src/shared/oblivioninfo.h b/src/shared/oblivioninfo.h
index f9045703..00048930 100644
--- a/src/shared/oblivioninfo.h
+++ b/src/shared/oblivioninfo.h
@@ -47,8 +47,6 @@ public:
virtual std::wstring getReferenceDataFile();
- virtual std::wstring getNexusPage(bool nmmScheme = true);
-
virtual bool rerouteToProfile(const wchar_t *fileName, const wchar_t *fullPath);
// get a list of executables (game binary and known-to-work 3rd party tools). All of these are relative to
diff --git a/src/shared/skyriminfo.cpp b/src/shared/skyriminfo.cpp
index 9b192902..869ac47d 100644
--- a/src/shared/skyriminfo.cpp
+++ b/src/shared/skyriminfo.cpp
@@ -88,17 +88,6 @@ std::wstring SkyrimInfo::getReferenceDataFile()
return L"Skyrim - Meshes.bsa";
}
-
-std::wstring SkyrimInfo::getNexusPage(bool nmmScheme)
-{
- if (nmmScheme) {
- return L"http://nmm.nexusmods.com/skyrim";
- } else {
- return L"http://www.nexusmods.com/skyrim";
- }
-}
-
-
bool SkyrimInfo::rerouteToProfile(const wchar_t *fileName, const wchar_t *fullPath)
{
static LPCWSTR profileFiles[] = { L"skyrim.ini", L"skyrimprefs.ini", L"loadorder.txt", nullptr };
diff --git a/src/shared/skyriminfo.h b/src/shared/skyriminfo.h
index 47a35b3e..afba1974 100644
--- a/src/shared/skyriminfo.h
+++ b/src/shared/skyriminfo.h
@@ -49,10 +49,6 @@ public:
virtual std::wstring getReferenceDataFile();
- virtual std::wstring getNexusPage(bool nmmScheme = true);
-
- static int getNexusGameIDStatic() { return 110; }
-
virtual bool rerouteToProfile(const wchar_t *fileName, const wchar_t *fullPath);
private: