diff options
Diffstat (limited to 'src/organizerproxy.cpp')
| -rw-r--r-- | src/organizerproxy.cpp | 36 |
1 files changed, 15 insertions, 21 deletions
diff --git a/src/organizerproxy.cpp b/src/organizerproxy.cpp index 8cc95a8b..b2a4f791 100644 --- a/src/organizerproxy.cpp +++ b/src/organizerproxy.cpp @@ -290,9 +290,8 @@ bool OrganizerProxy::onPluginSettingChanged(std::function<void(QString const&, c -DummyOrganizerProxy::DummyOrganizerProxy(const QString &pluginName) :
- m_PluginName(pluginName),
- m_mods(new DummyModList), m_plugins(new DummyPluginList)
+DummyOrganizerProxy::DummyOrganizerProxy(MOBase::IPlugin* plugin)
+ : m_mods(new DummyModList), m_plugins(new DummyPluginList)
{
}
@@ -338,11 +337,6 @@ VersionInfo DummyOrganizerProxy::appVersion() const return {};
}
-IModInterface *DummyOrganizerProxy::getMod(const QString &name) const
-{
- return nullptr;
-}
-
IPluginGame *DummyOrganizerProxy::getGame(const QString &gameName) const
{
return nullptr;
@@ -353,11 +347,6 @@ IModInterface *DummyOrganizerProxy::createMod(MOBase::GuessedValue<QString> &nam return nullptr;
}
-bool DummyOrganizerProxy::removeMod(IModInterface *mod)
-{
- return true;
-}
-
void DummyOrganizerProxy::modDataChanged(IModInterface *mod)
{
}
@@ -411,12 +400,22 @@ bool DummyOrganizerProxy::onFinishedRun(const std::function<void (const QString return true;
}
-bool DummyOrganizerProxy::onModInstalled(const std::function<void (const QString &)> &func)
+bool DummyOrganizerProxy::onUserInterfaceInitialized(std::function<void(QMainWindow*)> const& func)
{
return true;
}
-bool DummyOrganizerProxy::onUserInterfaceInitialized(std::function<void(QMainWindow*)> const& func)
+bool DummyOrganizerProxy::onProfileCreated(std::function<void(MOBase::IProfile*)> const& func)
+{
+ return true;
+}
+
+bool DummyOrganizerProxy::onProfileRenamed(std::function<void(MOBase::IProfile*, QString const&, QString const&)> const& func)
+{
+ return true;
+}
+
+bool DummyOrganizerProxy::onProfileRemoved(std::function<void(QString const&)> const& func)
{
return true;
}
@@ -431,7 +430,7 @@ bool DummyOrganizerProxy::onPluginSettingChanged(std::function<void(QString cons return true;
}
-void DummyOrganizerProxy::refreshModList(bool saveChanges)
+void DummyOrganizerProxy::refresh(bool saveChanges)
{
}
@@ -494,8 +493,3 @@ MOBase::IPluginGame const *DummyOrganizerProxy::managedGame() const {
return nullptr;
}
-
-QStringList DummyOrganizerProxy::modsSortedByProfilePriority() const
-{
- return {};
-}
|
