diff options
| author | Thomas Tanner <trtanner@btinternet.com> | 2015-11-22 08:46:46 +0000 |
|---|---|---|
| committer | Thomas Tanner <trtanner@btinternet.com> | 2015-11-22 08:46:46 +0000 |
| commit | 159501d0763c3e801d3997d8d4d72accd5f7a9f9 (patch) | |
| tree | 3d3ca39fbda312c61d2078e01682d5d5dd9e8476 /src | |
| parent | 4dbb3b148d874238b0f8dab323f198cc8d4e40c6 (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/gameinfoimpl.cpp | 2 | ||||
| -rw-r--r-- | src/gameinfoimpl.h | 2 | ||||
| -rw-r--r-- | src/organizercore.cpp | 3 | ||||
| -rw-r--r-- | src/organizercore.h | 6 | ||||
| -rw-r--r-- | src/profile.cpp | 1 |
5 files changed, 8 insertions, 6 deletions
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<std::pair<QString, QString>> OrganizerCore::fileMapping()
{
return fileMapping(managedGame()->dataDirectory().absolutePath(),
@@ -1606,4 +1607,4 @@ std::vector<std::pair<QString, QString>> 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<void (const QString &, unsigned int)> &func);
void refreshModList(bool saveChanges = true);
- std::vector<std::pair<QString, QString> > fileMapping();
+ //std::vector<std::pair<QString, QString> > fileMapping();
public: // IPluginDiagnose interface
@@ -210,9 +210,11 @@ private: bool testForSteam();
- std::vector<std::pair<QString, QString>> fileMapping(const QString &dataPath,
+ /*
+ * std::vector<std::pair<QString, QString>> 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 <http://www.gnu.org/licenses/>. #include "profile.h" -#include "gameinfo.h" #include "windows_error.h" #include "modinfo.h" #include "safewritefile.h" |
