diff options
| author | Brian Munro <brian.alexander.munro@gmail.com> | 2018-05-08 12:47:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-08 12:47:54 +0200 |
| commit | 0da6af17b2d6a6965849aa0effd5a1a876f447c4 (patch) | |
| tree | 306056296c7a35504e85825ec6965b5193c74b24 /src/modlist.h | |
| parent | bc75009169ecbf378fa90891dc8183a8cb3ef499 (diff) | |
| parent | 44111d12c181ff062d7936480fdc380e33232e0e (diff) | |
Merge pull request #336 from Modorganizer2/Develop
Release 2.1.3
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
|
