Use the new notifications database path.
[platform/core/appfw/notification-service.git] / main.c
1 #include <Ecore.h>
2 #include <unistd.h>
3
4 int
5 main(int argc, char **argv)
6 {
7     if (!ecore_init()) {
8         fprintf(stderr, "ERROR: Cannot init Ecore!\n");
9         return -1;
10     }
11
12     if (notification_service_init() != 0) {
13         fprintf(stderr, "Unable to initialize notification service!\n");
14         goto shutdown;
15     }
16
17     ecore_main_loop_begin();
18
19  shutdown:
20     ecore_shutdown();
21     return 0;
22 }
23