Rename the class Json to avoid symbol conflicts with Jsoncpp
[platform/core/context/context-provider.git] / src / media-stats / MediaStatsLogger.cpp
index 9b1db7d..622dec2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -28,12 +28,17 @@ MediaStatsLogger::~MediaStatsLogger()
 {
 }
 
-int MediaStatsLogger::subscribe(Json option, Json* requestResult)
+void MediaStatsLogger::getPrivilege(std::vector<const char*> &privilege)
+{
+       privilege.push_back(PRIV_MEDIA_HISTORY);
+}
+
+int MediaStatsLogger::subscribe(CtxJson1 option, CtxJson1* requestResult)
 {
        return ERR_NONE;
 }
 
-int MediaStatsLogger::unsubscribe(Json option)
+int MediaStatsLogger::unsubscribe(CtxJson1 option)
 {
        return ERR_NONE;
 }