From 159501d0763c3e801d3997d8d4d72accd5f7a9f9 Mon Sep 17 00:00:00 2001 From: Thomas Tanner Date: Sun, 22 Nov 2015 08:46:46 +0000 Subject: Removes igameinfo.h from everywhere apart from (sort of) the pythonrunner plugin. Also comment out the filemapping function because it's large and doesn't appear to be used anywhere --- src/gameinfoimpl.cpp | 2 +- src/gameinfoimpl.h | 2 +- src/organizercore.cpp | 3 ++- src/organizercore.h | 6 ++++-- src/profile.cpp | 1 - 5 files changed, 8 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/gameinfoimpl.cpp b/src/gameinfoimpl.cpp index 133c6de6..580ee02c 100644 --- a/src/gameinfoimpl.cpp +++ b/src/gameinfoimpl.cpp @@ -31,6 +31,7 @@ GameInfoImpl::GameInfoImpl() { } +/* IGameInfo::Type GameInfoImpl::type() const { switch (GameInfo::instance().getType()) { @@ -42,7 +43,6 @@ IGameInfo::Type GameInfoImpl::type() const } } -/* QString GameInfoImpl::path() const { return QDir::fromNativeSeparators(ToQString(GameInfo::instance().getGameDirectory())); diff --git a/src/gameinfoimpl.h b/src/gameinfoimpl.h index b764b224..f3a21669 100644 --- a/src/gameinfoimpl.h +++ b/src/gameinfoimpl.h @@ -30,7 +30,7 @@ class GameInfoImpl : public MOBase::IGameInfo public: GameInfoImpl(); - virtual Type type() const; +// virtual Type type() const; // virtual QString path() const; // virtual QString binaryName() const; diff --git a/src/organizercore.cpp b/src/organizercore.cpp index 517a9bfb..704dc734 100644 --- a/src/organizercore.cpp +++ b/src/organizercore.cpp @@ -1568,6 +1568,7 @@ void OrganizerCore::prepareStart() { storeSettings(); } +/* std::vector> OrganizerCore::fileMapping() { return fileMapping(managedGame()->dataDirectory().absolutePath(), @@ -1606,4 +1607,4 @@ std::vector> OrganizerCore::fileMapping( return result; } - +*/ diff --git a/src/organizercore.h b/src/organizercore.h index 3524dcb5..00cf6934 100644 --- a/src/organizercore.h +++ b/src/organizercore.h @@ -157,7 +157,7 @@ public: bool onFinishedRun(const std::function &func); void refreshModList(bool saveChanges = true); - std::vector > fileMapping(); + //std::vector > fileMapping(); public: // IPluginDiagnose interface @@ -210,9 +210,11 @@ private: bool testForSteam(); - std::vector> fileMapping(const QString &dataPath, + /* + * std::vector> fileMapping(const QString &dataPath, const MOShared::DirectoryEntry *base, const MOShared::DirectoryEntry *directoryEntry); +*/ private slots: diff --git a/src/profile.cpp b/src/profile.cpp index cf3622b0..c6a2b43d 100644 --- a/src/profile.cpp +++ b/src/profile.cpp @@ -19,7 +19,6 @@ along with Mod Organizer. If not, see . #include "profile.h" -#include "gameinfo.h" #include "windows_error.h" #include "modinfo.h" #include "safewritefile.h" -- cgit v1.3.1