From cb8cf37efbf506f7a2eeae3d0545c70929e3c60c Mon Sep 17 00:00:00 2001 From: Pierre Wielders Date: Sun, 10 Nov 2024 17:32:51 +0100 Subject: [PATCH] Update IShell.h --- Source/plugins/IShell.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Source/plugins/IShell.h b/Source/plugins/IShell.h index 167450e94..b850c0409 100644 --- a/Source/plugins/IShell.h +++ b/Source/plugins/IShell.h @@ -77,17 +77,11 @@ namespace PluginHost { virtual void Unregister(const INotification* sink) = 0; }; - enum class startmode : uint8_t { - UNAVAILABLE, - DEACTIVATED, - ACTIVATED - }; - // State of the IPlugin interface associated with this shell. enum state : uint8_t { - UNAVAILABLE = startmode::UNAVAILABLE, - DEACTIVATED = startmode::DEACTIVATED, - ACTIVATED = startmode::ACTIVATED, + UNAVAILABLE, + DEACTIVATED, + ACTIVATED, DEACTIVATION, ACTIVATION, PRECONDITION, @@ -95,6 +89,12 @@ namespace PluginHost { DESTROYED }; + enum class startmode : uint8_t { + UNAVAILABLE = static_cast(state::UNAVAILABLE), + DEACTIVATED = static_cast(state::DEACTIVATED), + ACTIVATED = static_cast(state::ACTIVATED) + }; + enum reason : uint8_t { REQUESTED, AUTOMATIC,