qmlfrontend/engine_interface.h
changeset 14315 21be7838a127
parent 14292 1aac8a62be6f
child 14319 00b56ec8b7df
--- a/qmlfrontend/engine_interface.h	Sun Nov 25 05:52:06 2018 +0300
+++ b/qmlfrontend/engine_interface.h	Sun Nov 25 22:32:49 2018 +0100
@@ -29,6 +29,13 @@
 typedef size_t read_ipc_t(EngineInstance* engine_state, uint8_t* buf,
                           size_t size);
 
+typedef void setup_current_gl_context_t(EngineInstance* engine_state,
+                                        uint16_t width, uint16_t height,
+                                        void (*())(const char*));
+typedef void render_frame_t(EngineInstance* engine_state);
+
+typedef bool advance_simulation_t(EngineInstance* engine_state, uint32_t ticks);
+
 extern protocol_version_t* protocol_version;
 extern start_engine_t* start_engine;
 extern generate_preview_t* generate_preview;
@@ -37,6 +44,10 @@
 extern send_ipc_t* send_ipc;
 extern read_ipc_t* read_ipc;
 
+extern setup_current_gl_context_t* setup_current_gl_context;
+extern render_frame_t* render_frame;
+extern advance_simulation_t* advance_simulation;
+
 #ifdef __cplusplus
 }
 };