diff options
| author | Thomas Tanner <trtanner@btinternet.com> | 2015-11-23 18:32:30 +0000 |
|---|---|---|
| committer | Thomas Tanner <trtanner@btinternet.com> | 2015-11-23 18:32:30 +0000 |
| commit | 3659284ab6bdbf0845cf846600a26db688584d6f (patch) | |
| tree | 8348dd4518742bd4ec68c7ab32adb0b8d8814176 /src/modinfo.h | |
| parent | 2a50683133953edd80606aedbdd93a7f10d4a7d8 (diff) | |
Remove most instances of GameInfo::getname, and transfer getDLCPlugins to the plugingame interface
Also commented out startDownloadNexusFile as it doesn't appear to be used anywhere
Diffstat (limited to 'src/modinfo.h')
| -rw-r--r-- | src/modinfo.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/modinfo.h b/src/modinfo.h index da97b09b..6de4123b 100644 --- a/src/modinfo.h +++ b/src/modinfo.h @@ -23,19 +23,23 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include "nexusinterface.h"
#include <versioninfo.h>
#include <imodinterface.h>
+//#include <directoryentry.h>
-#include <QString>
+#include <QDateTime>
+class QDir;
#include <QMutex>
-#include <QIcon>
-#include <QDir>
#include <QSharedPointer>
-#include <QDateTime>
+#include <QString>
+#include <QStringList>
+
+#include <boost/function.hpp>
+
#include <map>
#include <set>
#include <vector>
-#include <directoryentry.h>
-using MOBase::ModRepositoryFileInfo;
+namespace MOBase { class IPluginGame; }
+namespace MOShared { class DirectoryEntry; }
/**
* @brief Represents meta information about a single mod.
@@ -103,7 +107,7 @@ public: /**
* @brief read the mod directory and Mod ModInfo objects for all subdirectories
**/
- static void updateFromDisc(const QString &modDirectory, MOShared::DirectoryEntry **directoryStructure, bool displayForeign);
+ static void updateFromDisc(const QString &modDirectory, MOShared::DirectoryEntry **directoryStructure, bool displayForeign, const MOBase::IPluginGame *game);
static void clear() { s_Collection.clear(); s_ModsByName.clear(); s_ModsByModID.clear(); }
|
