aboutsummaryrefslogtreecommitdiff
path: root/src/application.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.h')
-rw-r--r--src/application.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/application.h b/src/application.h
index d7be05a..8e3e51a 100644
--- a/src/application.h
+++ b/src/application.h
@@ -32,6 +32,7 @@
32 32
33#include "ui/accounts.h" 33#include "ui/accounts.h"
34#include "ui/contacts.h" 34#include "ui/contacts.h"
35#include "ui/delete_messages.h"
35#include "ui/invite_contact.h" 36#include "ui/invite_contact.h"
36#include "ui/messenger.h" 37#include "ui/messenger.h"
37#include "ui/new_account.h" 38#include "ui/new_account.h"
@@ -71,7 +72,6 @@ typedef struct MESSENGER_Application
71 72
72 struct { 73 struct {
73 int status; 74 int status;
74 gboolean mobile;
75 75
76 GHashTable *bindings; 76 GHashTable *bindings;
77 77
@@ -79,6 +79,7 @@ typedef struct MESSENGER_Application
79 79
80 UI_INVITE_CONTACT_Handle invite_contact; 80 UI_INVITE_CONTACT_Handle invite_contact;
81 UI_SEND_FILE_Handle send_file; 81 UI_SEND_FILE_Handle send_file;
82 UI_DELETE_MESSAGES_Handle delete_messages;
82 83
83 UI_NEW_CONTACT_Handle new_contact; 84 UI_NEW_CONTACT_Handle new_contact;
84 UI_NEW_GROUP_Handle new_group; 85 UI_NEW_GROUP_Handle new_group;
@@ -89,6 +90,14 @@ typedef struct MESSENGER_Application
89 UI_CONTACTS_Handle contacts; 90 UI_CONTACTS_Handle contacts;
90 UI_SETTINGS_Handle settings; 91 UI_SETTINGS_Handle settings;
91 } ui; 92 } ui;
93
94 struct {
95 gboolean mobile_design;
96 gboolean hide_delete_dialog;
97 gboolean disable_notifications;
98 gboolean accept_all_files;
99 gboolean accept_all_invites;
100 } settings;
92} MESSENGER_Application; 101} MESSENGER_Application;
93 102
94void 103void