qmlFrontend/flib.h
branchqmlfrontend
changeset 10416 1c301054694d
child 10418 091d2c0216c3
equal deleted inserted replaced
10414:50bcefec5bf6 10416:1c301054694d
       
     1 #ifndef FLIB_H
       
     2 #define FLIB_H
       
     3 
       
     4 #include <stdint.h>
       
     5 
       
     6 #ifdef __cplusplus
       
     7 extern "C" {
       
     8 #endif
       
     9 
       
    10 typedef union string255_
       
    11     {
       
    12         struct {
       
    13             unsigned char s[256];
       
    14         };
       
    15         struct {
       
    16             unsigned char len;
       
    17             unsigned char str[255];
       
    18         };
       
    19     } string255;
       
    20 
       
    21 typedef void RunEngine_t(int argc, char ** argv);
       
    22 typedef void registerIPCCallback_t(void * context, void (*)(void * context, string255 str));
       
    23 typedef void ipcToEngine_t(string255 str);
       
    24 typedef void flibInit_t();
       
    25 
       
    26 #ifdef __cplusplus
       
    27 }
       
    28 #endif
       
    29 
       
    30 #endif // FLIB_H