diff options
| author | TanninOne <seppleviathan@gmx.de> | 2015-12-04 22:30:35 +0100 |
|---|---|---|
| committer | TanninOne <seppleviathan@gmx.de> | 2015-12-04 22:30:35 +0100 |
| commit | 688e149c96c29d8249c9db416f5773cfc7baad6d (patch) | |
| tree | 3a59b3fce8da8afec776e275aca979681711d4de /src/shared/skyriminfo.h | |
| parent | 87d5fe28f6000e7a711fe56aa5e9bedfd89128fb (diff) | |
| parent | d4754f4d3ca7451d784e89ae1ddef240666dfdf8 (diff) | |
Merge pull request #334 from ThosRTanner/issue/308
Allow right click on module to see web link if supplied in fomod
Diffstat (limited to 'src/shared/skyriminfo.h')
| -rw-r--r-- | src/shared/skyriminfo.h | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/src/shared/skyriminfo.h b/src/shared/skyriminfo.h index 5951f910..e2766688 100644 --- a/src/shared/skyriminfo.h +++ b/src/shared/skyriminfo.h @@ -36,35 +36,37 @@ public: virtual ~SkyrimInfo() {}
static std::wstring getRegPathStatic();
- virtual std::wstring getRegPath() { return getRegPathStatic(); }
- virtual std::wstring getBinaryName() { return L"TESV.exe"; }
+ virtual std::wstring getRegPath() const { return getRegPathStatic(); }
+ virtual std::wstring getBinaryName() const { return L"TESV.exe"; }
- virtual GameInfo::Type getType() { return TYPE_SKYRIM; }
+ virtual GameInfo::Type getType() const { return TYPE_SKYRIM; }
virtual std::wstring getGameName() const { return L"Skyrim"; }
virtual std::wstring getGameShortName() const { return L"Skyrim"; }
virtual LoadOrderMechanism getLoadOrderMechanism() const;
- virtual std::vector<std::wstring> getDLCPlugins();
+ virtual std::vector<std::wstring> getDLCPlugins() const;
- virtual std::vector<std::wstring> getSavegameAttachmentExtensions();
+ virtual std::vector<std::wstring> getSavegameAttachmentExtensions() const;
// file name of this games ini (no path)
- virtual std::vector<std::wstring> getIniFileNames();
+ virtual std::vector<std::wstring> getIniFileNames() const;
- virtual std::wstring getReferenceDataFile();
+ virtual std::wstring getReferenceDataFile() const;
- virtual std::wstring getNexusPage(bool nmmScheme = true);
+ virtual std::wstring getNexusPage(bool nmmScheme = true) const;
static std::wstring getNexusInfoUrlStatic();
- virtual std::wstring getNexusInfoUrl() { return getNexusInfoUrlStatic(); }
+ virtual std::wstring getNexusInfoUrl() const { return getNexusInfoUrlStatic(); }
static int getNexusModIDStatic();
- virtual int getNexusModID() { return getNexusModIDStatic(); }
+ virtual int getNexusModID() const { return getNexusModIDStatic(); }
static int getNexusGameIDStatic() { return 110; }
- virtual int getNexusGameID() { return getNexusGameIDStatic(); }
+ virtual int getNexusGameID() const { return getNexusGameIDStatic(); }
- virtual bool rerouteToProfile(const wchar_t *fileName, const wchar_t *fullPath);
+ virtual bool rerouteToProfile(const wchar_t *fileName, const wchar_t *fullPath) const;
+
+ virtual bool isValidModURL(int modID, std::wstring const &url) const;
private:
|
