Rename the class Json to avoid symbol conflicts with Jsoncpp
[platform/core/context/context-provider.git] / src / app-stats / app_inactive_detector / AppInactiveDetector.cpp
index ad13698..bb92f40 100644 (file)
@@ -15,7 +15,7 @@
  */
 
 #include <Types.h>
-#include <Json.h>
+#include <CtxJson1.h>
 #include "AppInactiveDetector.h"
 #include "AppInactiveDetectorTypes.h"
 #include "InactiveDetector.h"
@@ -48,17 +48,17 @@ void ctx::AppInactiveDetectorProvider::destroy(void *data)
        _I(BLUE("Destroyed"));
 }
 
-int ctx::AppInactiveDetectorProvider::subscribe(ctx::Json option, ctx::Json* requestResult)
+int ctx::AppInactiveDetectorProvider::subscribe(ctx::CtxJson1 option, ctx::CtxJson1* requestResult)
 {
        return ERR_NOT_SUPPORTED;
 }
 
-int ctx::AppInactiveDetectorProvider::unsubscribe(ctx::Json option)
+int ctx::AppInactiveDetectorProvider::unsubscribe(ctx::CtxJson1 option)
 {
        return ERR_NOT_SUPPORTED;
 }
 
-int ctx::AppInactiveDetectorProvider::read(ctx::Json option, ctx::Json* requestResult)
+int ctx::AppInactiveDetectorProvider::read(ctx::CtxJson1 option, ctx::CtxJson1* requestResult)
 {
        _I(BLUE("Read"));
        _J("Option", option);
@@ -67,7 +67,7 @@ int ctx::AppInactiveDetectorProvider::read(ctx::Json option, ctx::Json* requestR
        return error == ERR_NONE ? ERR_NONE : error;
 }
 
-int ctx::AppInactiveDetectorProvider::write(ctx::Json data, ctx::Json* requestResult)
+int ctx::AppInactiveDetectorProvider::write(ctx::CtxJson1 data, ctx::CtxJson1* requestResult)
 {
        return ERR_NOT_SUPPORTED;
 }