qmlFrontend/flib.h
author unc0rr
Fri, 26 Sep 2014 00:56:36 +0400
branchqmlfrontend
changeset 10422 4cf23d4c7624
parent 10420 02c573d19224
child 10424 4be6cd55f1cf
permissions -rw-r--r--
- Pages - Animations on buttons hovering

#ifndef FLIB_H
#define FLIB_H

#include <stdint.h>

#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, const char ** argv);
typedef void registerIPCCallback_t(void * context, void (*)(void * context, const char * msg, uint32_t len));
typedef void ipcToEngine_t(const char * msg, uint8_t len);
typedef void flibInit_t();

#ifdef __cplusplus
}
#endif

#endif // FLIB_H