summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorLostDragonist <lost.dragonist@gmail.com>2018-12-11 14:15:37 -0600
committerLostDragonist <lost.dragonist@gmail.com>2018-12-11 14:15:37 -0600
commitdac716bb86a9e4ff514fe7d939f33b397dc120e5 (patch)
treeee12648382626681fc7e9902aed1f9d8a9ed1a49 /src/mainwindow.h
parentc486220d20c2cea78beab12317c5493c720304a3 (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.h3
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);