diff options
Diffstat (limited to 'src/NotificationProxy.h')
| -rw-r--r-- | src/NotificationProxy.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/NotificationProxy.h b/src/NotificationProxy.h index 84f1f89..a2b3001 100644 --- a/src/NotificationProxy.h +++ b/src/NotificationProxy.h | |||
| @@ -24,27 +24,14 @@ | |||
| 24 | #include <glib.h> | 24 | #include <glib.h> |
| 25 | 25 | ||
| 26 | #include "libiphone/notification_proxy.h" | 26 | #include "libiphone/notification_proxy.h" |
| 27 | #include "property_list_service.h" | ||
| 27 | 28 | ||
| 28 | struct np_client_int { | 29 | struct np_client_int { |
| 29 | iphone_connection_t connection; | 30 | property_list_service_client_t parent; |
| 30 | GMutex *mutex; | 31 | GMutex *mutex; |
| 31 | GThread *notifier; | 32 | GThread *notifier; |
| 32 | }; | 33 | }; |
| 33 | 34 | ||
| 34 | static const char *np_default_notifications[11] = { | ||
| 35 | NP_SYNC_SUSPEND_REQUEST, | ||
| 36 | NP_SYNC_RESUME_REQUEST, | ||
| 37 | NP_PHONE_NUMBER_CHANGED, | ||
| 38 | NP_SYNC_CANCEL_REQUEST, | ||
| 39 | NP_DEVICE_NAME_CHANGED, | ||
| 40 | NP_ATTEMPTACTIVATION, | ||
| 41 | NP_DS_DOMAIN_CHANGED, | ||
| 42 | NP_APP_INSTALLED, | ||
| 43 | NP_APP_UNINSTALLED, | ||
| 44 | NP_ITDBPREP_DID_END, | ||
| 45 | NULL | ||
| 46 | }; | ||
| 47 | |||
| 48 | gpointer np_notifier(gpointer arg); | 35 | gpointer np_notifier(gpointer arg); |
| 49 | 36 | ||
| 50 | #endif | 37 | #endif |
