summaryrefslogtreecommitdiffhomepage
path: root/logic/runtime-libraries.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-02 06:28:18 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-02 06:28:18 +0200
commit04ff6af035a2e1064cce2b3189c13f7a45fdca4a (patch)
tree7f1b33342159de089436259ad79e94306ecf2422 /logic/runtime-libraries.hpp
parentb09f2c2d699dff8c61eb0a83143c5930c005703f (diff)
logic: split extension handling to own file
Diffstat (limited to 'logic/runtime-libraries.hpp')
-rw-r--r--logic/runtime-libraries.hpp18
1 files changed, 1 insertions, 17 deletions
diff --git a/logic/runtime-libraries.hpp b/logic/runtime-libraries.hpp
index 6cfd8b57..cc96f0e7 100644
--- a/logic/runtime-libraries.hpp
+++ b/logic/runtime-libraries.hpp
@@ -11,25 +11,9 @@
#include "api/plugin-support.hpp"
#include "export.hpp"
-#include <array>
-#include <functional>
-
#include <QFrame>
-struct runtime_event_handler
-{
- using ext_event_ordinal = IExtension::event_ordinal;
- using ext = std::shared_ptr<IExtension>;
-
- enum : unsigned { ext_max_events = 64 };
- using ext_list = std::array<ext, ext_max_events>;
-
- std::array<ext_list, ext_event_ordinal::event_count> extension_events;
-
- void run_events(ext_event_ordinal k, Pose& pose);
-};
-
-struct OTR_LOGIC_EXPORT runtime_libraries final : runtime_event_handler
+struct OTR_LOGIC_EXPORT runtime_libraries final
{
using dylibptr = std::shared_ptr<dylib>;