From 8e591143a5fce58597a1597887b1730e24263224 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Sat, 24 Oct 2020 20:54:22 +0200 Subject: Add IOrganizer::onProfileXXX callbacks. --- src/organizerproxy.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/organizerproxy.cpp') diff --git a/src/organizerproxy.cpp b/src/organizerproxy.cpp index 2932e6bf..df73603a 100644 --- a/src/organizerproxy.cpp +++ b/src/organizerproxy.cpp @@ -282,6 +282,21 @@ bool OrganizerProxy::onUserInterfaceInitialized(std::functiononUserInterfaceInitialized(func); } +bool OrganizerProxy::onProfileCreated(std::function const& func) +{ + return m_Proxied->onProfileCreated(MOShared::callIfPluginActive(this, func)); +} + +bool OrganizerProxy::onProfileRenamed(std::function const& func) +{ + return m_Proxied->onProfileRenamed(MOShared::callIfPluginActive(this, func)); +} + +bool OrganizerProxy::onProfileRemoved(std::function const& func) +{ + return m_Proxied->onProfileRemoved(MOShared::callIfPluginActive(this, func)); +} + bool OrganizerProxy::onProfileChanged(std::function const& func) { return m_Proxied->onProfileChanged(MOShared::callIfPluginActive(this, func)); -- cgit v1.3.1