diff options
Diffstat (limited to 'src/application.h')
-rw-r--r-- | src/application.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/application.h b/src/application.h index 5801f6d..61aed2a 100644 --- a/src/application.h +++ b/src/application.h | |||
@@ -30,6 +30,7 @@ | |||
30 | #include "chat/messenger.h" | 30 | #include "chat/messenger.h" |
31 | 31 | ||
32 | #include "ui/messenger.h" | 32 | #include "ui/messenger.h" |
33 | #include "ui/new_platform.h" | ||
33 | 34 | ||
34 | #include "util.h" | 35 | #include "util.h" |
35 | 36 | ||
@@ -61,6 +62,8 @@ typedef struct MESSENGER_Application | |||
61 | gboolean mobile; | 62 | gboolean mobile; |
62 | 63 | ||
63 | UI_MESSENGER_Handle messenger; | 64 | UI_MESSENGER_Handle messenger; |
65 | |||
66 | UI_NEW_PLATFORM_Handle new_platform; | ||
64 | } ui; | 67 | } ui; |
65 | } MESSENGER_Application; | 68 | } MESSENGER_Application; |
66 | 69 | ||
@@ -72,11 +75,13 @@ application_init(MESSENGER_Application *app, | |||
72 | void | 75 | void |
73 | application_run(MESSENGER_Application *app); | 76 | application_run(MESSENGER_Application *app); |
74 | 77 | ||
75 | typedef void (*MESSENGER_ApplicationEvent) (MESSENGER_Application *app); | 78 | typedef void (*MESSENGER_ApplicationEvent) (MESSENGER_Application *app, |
79 | void *cls); | ||
76 | 80 | ||
77 | void | 81 | void |
78 | application_call_event(MESSENGER_Application *app, | 82 | application_call_event(MESSENGER_Application *app, |
79 | MESSENGER_ApplicationEvent event); | 83 | MESSENGER_ApplicationEvent event, |
84 | void *cls); | ||
80 | 85 | ||
81 | void | 86 | void |
82 | application_exit(MESSENGER_Application *app, | 87 | application_exit(MESSENGER_Application *app, |