summaryrefslogtreecommitdiff
path: root/editor/editor-plugin.cpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-07-18 15:49:12 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-07-18 15:49:12 -0400
commit2ecda48bd1cc16b2e5e3e1ebb05098e191121aad (patch)
treee77ba873ec58ee95ffeac825cd00b7d906b80b36 /editor/editor-plugin.cpp
parent8fbeadda53243b701957a26dba1113d84ad5c7c4 (diff)
libpke-editor: shared lib + load as plugin working
Diffstat (limited to 'editor/editor-plugin.cpp')
-rw-r--r--editor/editor-plugin.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/editor/editor-plugin.cpp b/editor/editor-plugin.cpp
new file mode 100644
index 0000000..4acdb6c
--- /dev/null
+++ b/editor/editor-plugin.cpp
@@ -0,0 +1,10 @@
+
+#include "editor-plugin.hpp"
+#include "editor.hpp"
+
+struct PKEPluginInterface pkePluginInterface = {
+ .OnInit = PkeEditor_Init,
+ .OnTick = PkeEditor_Tick,
+ .OnTeardown = PkeEditor_Teardown,
+ .OnImGuiRender = PkeEditor_RecordImGui,
+};