add web notification feature, but not enabled yet
[apps/native/position-finder-server.git] / src / controller_internal.c
old mode 100644 (file)
new mode 100755 (executable)
index cd24bad..8c8e2d8
@@ -5,6 +5,7 @@
  *          Geunsun Lee <gs86.lee@samsung.com>
  *          Eunyoung Lee <ey928.lee@samsung.com>
  *          Junkyu Han <junkyu.han@samsung.com>
+ *          Jeonghoon Park <jh1979.park@samsung.com>
  *
  * Licensed under the Flora License, Version 1.1 (the License);
  * you may not use this file except in compliance with the License.
 #include "log.h"
 #include "connectivity.h"
 #include "resource.h"
+#ifdef ENABLE_WEBNOTIFY
+#include "webnotify.h"
+#endif /* ENABLE_WEBNOTIFY */
+
 
 void controller_init_internal_functions(void)
 {
        connectivity_init();
+#ifdef ENABLE_WEBNOTIFY
+       web_notify_init();
+#endif /* ENABLE_WEBNOTIFY */
 }
 
 void controller_fini_internal_functions(void)
@@ -35,4 +43,7 @@ void controller_fini_internal_functions(void)
        _I("Terminating...");
        resource_close_all();
        connectivity_fini();
+#ifdef ENABLE_WEBNOTIFY
+       web_notify_fini();
+#endif /* ENABLE_WEBNOTIFY */
 }