--- a/qmlFrontend/flib.h Sun Sep 28 00:18:01 2014 +0400
+++ b/qmlFrontend/flib.h Sun Sep 28 00:49:04 2014 +0400
@@ -7,6 +7,10 @@
extern "C" {
#endif
+enum MessageType {
+ MSG_PREVIEW
+};
+
typedef union string255_
{
struct {
@@ -19,9 +23,9 @@
} string255;
typedef void RunEngine_t(int argc, const char ** argv);
-typedef void registerPreviewCallback_t(void * context, void (*)(void * context, const char * msg, uint32_t len));
-typedef void ipcToEngine_t(const char * msg, uint8_t len);
+typedef void registerGUIMessagesCallback_t(void * context, void (*)(void * context, MessageType mt, const char * msg, uint32_t len));
typedef void flibInit_t(const char * localPrefix, const char * userPrefix);
+typedef void getPreview_t();
typedef void flibFree_t();
#ifdef __cplusplus