diff options
| author | Silarn <jrim@rimpo.org> | 2018-04-16 12:47:17 -0500 |
|---|---|---|
| committer | Silarn <jrim@rimpo.org> | 2018-04-16 12:47:17 -0500 |
| commit | 30c177cb371e92fe5e4cfc600cf27586402cf0a8 (patch) | |
| tree | 1975b385cc0f379b5330304860b13151fb6bbda9 /src/modlist.h | |
| parent | 978d71bb433aa8525c33715de6112f9e201b216f (diff) | |
Support for multi-game downloads
Diffstat (limited to 'src/modlist.h')
| -rw-r--r-- | src/modlist.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/modlist.h b/src/modlist.h index bd715107..b5f18e98 100644 --- a/src/modlist.h +++ b/src/modlist.h @@ -42,6 +42,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. class QSortFilterProxyModel;
+class PluginContainer;
/**
* Model presenting an overview of the installed mod
@@ -60,6 +61,7 @@ public: COL_CONTENT,
COL_CATEGORY,
COL_MODID,
+ COL_GAME,
COL_VERSION,
COL_INSTALLTIME,
COL_PRIORITY,
@@ -76,7 +78,7 @@ public: * @brief constructor
* @todo ensure this view works without a profile set, otherwise there are intransparent dependencies on the initialisation order
**/
- ModList(QObject *parent = nullptr);
+ ModList(PluginContainer *pluginContainer, QObject *parent = nullptr);
~ModList();
@@ -106,6 +108,7 @@ public: void changeModPriority(int sourceIndex, int newPriority);
void setOverwriteMarkers(const std::set<unsigned int> &overwrite, const std::set<unsigned int> &overwritten);
+ void setPluginContainer(PluginContainer *pluginContainer);
bool modInfoAboutToChange(ModInfo::Ptr info);
void modInfoChanged(ModInfo::Ptr info);
@@ -329,6 +332,8 @@ private: QTime m_LastCheck;
+ PluginContainer *m_PluginContainer;
+
};
#endif // MODLIST_H
|
