client/uiclient.h

changeset 944
cc23aad6335e
parent 942
488178e3e328
child 948
94bc57d63128
equal deleted inserted replaced
943:9b5948aa5b90 944:cc23aad6335e
32 #include <ui/ui.h> 32 #include <ui/ui.h>
33 #include <cx/string.h> 33 #include <cx/string.h>
34 #include <cx/json.h> 34 #include <cx/json.h>
35 #include <cx/map.h> 35 #include <cx/map.h>
36 36
37 #include "message.h" 37 #include "../ui/common/message.h"
38 38
39 #ifdef __cplusplus 39 #ifdef __cplusplus
40 extern "C" { 40 extern "C" {
41 #endif 41 #endif
42 42
44 CxMap *widgets; 44 CxMap *widgets;
45 } WindowData; 45 } WindowData;
46 46
47 typedef int (*json_msg_handler)(UiObject *parent, const CxJsonValue *value); 47 typedef int (*json_msg_handler)(UiObject *parent, const CxJsonValue *value);
48 48
49 void client_init(MessageHandler *handler); 49 void client_init(UiMessageHandler *handler);
50 50
51 void client_msg_received(cxmutstr msg); 51 void client_msg_received(cxmutstr msg);
52 52
53 int client_handle_json(UiObject *obj, const CxJsonValue *value); 53 int client_handle_json(UiObject *obj, const CxJsonValue *value);
54 54

mercurial