diff options
| author | Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com> | 2025-01-31 20:07:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-31 20:07:41 +0100 |
| commit | 6299be28e13662d1b28be5f77f53ea2118e87dae (patch) | |
| tree | 85ffd4d9b91eee27b9771cb7226c65ba6ab358ca /src/pluginlist.h | |
| parent | 9049e65c5e1f29792b596a8e84a749d2de7ea792 (diff) | |
Add form and header versions to plugin list tool tips and plugin API and add more columns (#2200)
Diffstat (limited to 'src/pluginlist.h')
| -rw-r--r-- | src/pluginlist.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/pluginlist.h b/src/pluginlist.h index 30837fb1..224ae09e 100644 --- a/src/pluginlist.h +++ b/src/pluginlist.h @@ -93,8 +93,12 @@ public: COL_FLAGS, COL_PRIORITY, COL_MODINDEX, + COL_FORMVERSION, + COL_HEADERVERSION, + COL_AUTHOR, + COL_DESCRIPTION, - COL_LASTCOLUMN = COL_MODINDEX + COL_LASTCOLUMN = COL_DESCRIPTION, }; using PluginStates = MOBase::IPluginList::PluginStates; @@ -210,6 +214,8 @@ public: QString getName(int index) const { return m_ESPs.at(index).name; } int getPriority(int index) const { return m_ESPs.at(index).priority; } + QString getAuthor(int index) const { return m_ESPs.at(index).author; } + QString getDescription(int index) const { return m_ESPs.at(index).description; } QString getIndexPriority(int index) const; bool isESPLocked(int index) const; void lockESPIndex(int index, bool lock); @@ -247,6 +253,8 @@ public: bool isBlueprintFlagged(const QString& name) const; bool hasNoRecords(const QString& name) const; + int formVersion(const QString& name) const; + float headerVersion(const QString& name) const; QString author(const QString& name) const; QString description(const QString& name) const; @@ -345,6 +353,8 @@ private: bool hasNoRecords; bool modSelected; bool isMasterOfSelectedPlugin; + int formVersion; + float headerVersion; QString author; QString description; bool hasIni; |
