aboutsummaryrefslogtreecommitdiff
path: root/src/application.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.h')
-rw-r--r--src/application.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/application.h b/src/application.h
index 1c3d638..5801f6d 100644
--- a/src/application.h
+++ b/src/application.h
@@ -45,6 +45,8 @@ typedef struct MESSENGER_Application
45 char** argv; 45 char** argv;
46 int argc; 46 int argc;
47 47
48 GtkApplication* application;
49
48 struct { 50 struct {
49 int status; 51 int status;
50 pthread_t tid; 52 pthread_t tid;
@@ -55,6 +57,7 @@ typedef struct MESSENGER_Application
55 } chat; 57 } chat;
56 58
57 struct { 59 struct {
60 int status;
58 gboolean mobile; 61 gboolean mobile;
59 62
60 UI_MESSENGER_Handle messenger; 63 UI_MESSENGER_Handle messenger;
@@ -67,7 +70,7 @@ application_init(MESSENGER_Application *app,
67 char **argv); 70 char **argv);
68 71
69void 72void
70application_start(MESSENGER_Application *app); 73application_run(MESSENGER_Application *app);
71 74
72typedef void (*MESSENGER_ApplicationEvent) (MESSENGER_Application *app); 75typedef void (*MESSENGER_ApplicationEvent) (MESSENGER_Application *app);
73 76