diff options
| author | 2009-05-10 08:27:53 -0700 | |
|---|---|---|
| committer | 2009-05-10 08:28:04 -0700 | |
| commit | 1351b686d450112ae55d26d81d9d59c5f542f12e (patch) | |
| tree | 442c7e48eb83f96a22f7c6d889e8fe26151d6cba /src/NotificationProxy.h | |
| parent | e91caeb1c9929f9dc8af747bb3a2e52ec06b03af (diff) | |
| download | libimobiledevice-1351b686d450112ae55d26d81d9d59c5f542f12e.tar.gz libimobiledevice-1351b686d450112ae55d26d81d9d59c5f542f12e.tar.bz2 | |
NotificationProxy support added.0.9.0
[#27 state:resolved]
Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'src/NotificationProxy.h')
| -rw-r--r-- | src/NotificationProxy.h | 16 |
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 @@ | |||
| 27 | struct iphone_np_client_int { | 27 | struct iphone_np_client_int { |
| 28 | iphone_umux_client_t connection; | 28 | iphone_umux_client_t connection; |
| 29 | GMutex *mutex; | 29 | GMutex *mutex; |
| 30 | GThread *notifier; | ||
| 30 | }; | 31 | }; |
| 32 | |||
| 33 | static const char *np_default_notifications[10] = { | ||
| 34 | NP_SYNC_SUSPEND_REQUEST, | ||
| 35 | NP_SYNC_RESUME_REQUEST, | ||
| 36 | NP_PHONE_NUMBER_CHANGED, | ||
| 37 | NP_SYNC_CANCEL_REQUEST, | ||
| 38 | NP_DEVICE_NAME_CHANGED, | ||
| 39 | NP_ATTEMPTACTIVATION, | ||
| 40 | NP_DS_DOMAIN_CHANGED, | ||
| 41 | NP_APP_INSTALLED, | ||
| 42 | NP_APP_UNINSTALLED, | ||
| 43 | NULL | ||
| 44 | }; | ||
| 45 | |||
| 46 | gpointer iphone_np_notifier( gpointer arg ); | ||
