diff -r 50bcefec5bf6 -r 1c301054694d qmlFrontend/flib.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qmlFrontend/flib.h Sat Sep 20 00:56:54 2014 +0400 @@ -0,0 +1,30 @@ +#ifndef FLIB_H +#define FLIB_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef union string255_ + { + struct { + unsigned char s[256]; + }; + struct { + unsigned char len; + unsigned char str[255]; + }; + } string255; + +typedef void RunEngine_t(int argc, char ** argv); +typedef void registerIPCCallback_t(void * context, void (*)(void * context, string255 str)); +typedef void ipcToEngine_t(string255 str); +typedef void flibInit_t(); + +#ifdef __cplusplus +} +#endif + +#endif // FLIB_H