diff options
| author | LostDragonist <lost.dragonist@gmail.com> | 2018-12-11 14:15:37 -0600 |
|---|---|---|
| committer | LostDragonist <lost.dragonist@gmail.com> | 2018-12-11 14:15:37 -0600 |
| commit | dac716bb86a9e4ff514fe7d939f33b397dc120e5 (patch) | |
| tree | ee12648382626681fc7e9902aed1f9d8a9ed1a49 /src/mainwindow.h | |
| parent | c486220d20c2cea78beab12317c5493c720304a3 (diff) | |
Allow tool plugins to define a submenu with the display name
Setting the display name to "<submenu>/<displayname>" will group plugins under the submenu.
Diffstat (limited to 'src/mainwindow.h')
| -rw-r--r-- | src/mainwindow.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index d5484400..69d08337 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -132,7 +132,8 @@ public: void saveArchiveList();
- void registerPluginTool(MOBase::IPluginTool *tool);
+ void registerPluginTool(MOBase::IPluginTool *tool, QString name = QString(), QMenu *menu = nullptr);
+ void registerPluginTools(std::vector<MOBase::IPluginTool *> toolPlugins);
void registerModPage(MOBase::IPluginModPage *modPage);
void addPrimaryCategoryCandidates(QMenu *primaryCategoryMenu, ModInfo::Ptr info);
|
