diff options
Diffstat (limited to 'logic/extensions.hpp')
-rw-r--r-- | logic/extensions.hpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/logic/extensions.hpp b/logic/extensions.hpp index 8cb4a989..1c1cf39d 100644 --- a/logic/extensions.hpp +++ b/logic/extensions.hpp @@ -6,7 +6,9 @@ #include <vector> #include <array> -struct event_handler final +#include "export.hpp" + +struct OTR_LOGIC_EXPORT event_handler final { using event_ordinal = IExtension::event_ordinal; @@ -26,11 +28,10 @@ struct event_handler final private: using ext_list = std::vector<extension>; - std::array<ext_list, IExtension::event_count> extension_events; -}; + std::array<ext_list, IExtension::event_count> extensions_for_event; -struct ext_settings final -{ - static bool is_enabled(const QString& name); - ext_settings() = delete; + options::bundle ext_bundle; + + bool is_enabled(const QString& name); }; + |