summaryrefslogtreecommitdiffstats
path: root/src/NotificationProxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/NotificationProxy.h')
-rw-r--r--src/NotificationProxy.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/NotificationProxy.h b/src/NotificationProxy.h
index 7b4b48d..3552b79 100644
--- a/src/NotificationProxy.h
+++ b/src/NotificationProxy.h
@@ -27,4 +27,20 @@
struct iphone_np_client_int {
iphone_umux_client_t connection;
GMutex *mutex;
+ GThread *notifier;
};
+
+static const char *np_default_notifications[10] = {
+ NP_SYNC_SUSPEND_REQUEST,
+ NP_SYNC_RESUME_REQUEST,
+ NP_PHONE_NUMBER_CHANGED,
+ NP_SYNC_CANCEL_REQUEST,
+ NP_DEVICE_NAME_CHANGED,
+ NP_ATTEMPTACTIVATION,
+ NP_DS_DOMAIN_CHANGED,
+ NP_APP_INSTALLED,
+ NP_APP_UNINSTALLED,
+ NULL
+};
+
+gpointer iphone_np_notifier( gpointer arg );