From 1351b686d450112ae55d26d81d9d59c5f542f12e Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 10 May 2009 08:27:53 -0700 Subject: NotificationProxy support added. [#27 state:resolved] Signed-off-by: Matt Colyer --- src/NotificationProxy.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/NotificationProxy.h') 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 ); -- cgit v1.1-32-gdbae