summaryrefslogtreecommitdiffstats
path: root/src/NotificationProxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/NotificationProxy.h')
-rw-r--r--src/NotificationProxy.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/NotificationProxy.h b/src/NotificationProxy.h
index a10cde4..bc5be43 100644
--- a/src/NotificationProxy.h
+++ b/src/NotificationProxy.h
@@ -18,17 +18,20 @@
18 * License along with this library; if not, write to the Free Software 18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */ 20 */
21#include "libiphone/notification_proxy.h" 21#ifndef INOTIFICATION_PROXY_H
22#define INOTIFICATION_PROXY_H
22 23
23#include <glib.h> 24#include <glib.h>
24 25
26#include "libiphone/notification_proxy.h"
27
25struct np_client_int { 28struct np_client_int {
26 int sfd; 29 int sfd;
27 GMutex *mutex; 30 GMutex *mutex;
28 GThread *notifier; 31 GThread *notifier;
29}; 32};
30 33
31static const char *np_default_notifications[10] = { 34static const char *np_default_notifications[11] = {
32 NP_SYNC_SUSPEND_REQUEST, 35 NP_SYNC_SUSPEND_REQUEST,
33 NP_SYNC_RESUME_REQUEST, 36 NP_SYNC_RESUME_REQUEST,
34 NP_PHONE_NUMBER_CHANGED, 37 NP_PHONE_NUMBER_CHANGED,
@@ -38,7 +41,10 @@ static const char *np_default_notifications[10] = {
38 NP_DS_DOMAIN_CHANGED, 41 NP_DS_DOMAIN_CHANGED,
39 NP_APP_INSTALLED, 42 NP_APP_INSTALLED,
40 NP_APP_UNINSTALLED, 43 NP_APP_UNINSTALLED,
44 NP_ITDBPREP_DID_END,
41 NULL 45 NULL
42}; 46};
43 47
44gpointer np_notifier( gpointer arg ); 48gpointer np_notifier(gpointer arg);
49
50#endif