Release tizen_2.0_beta
[framework/connectivity/connman.git] / plugins / meego.c
index 49978fa..717b220 100644 (file)
 #endif
 
 #define CONNMAN_API_SUBJECT_TO_CHANGE
+#include <connman/timeserver.h>
 #include <connman/plugin.h>
 
+#define MEEGO_NTP_SERVER "ntp.meego.com"
+
 static int meego_init(void)
 {
-       return 0;
+       return connman_timeserver_append(MEEGO_NTP_SERVER);
 }
 
 static void meego_exit(void)
 {
+       connman_timeserver_remove(MEEGO_NTP_SERVER);
 }
 
 CONNMAN_PLUGIN_DEFINE(meego, "MeeGo features plugin", VERSION,