Rename the class Json to avoid symbol conflicts with Jsoncpp
[platform/core/context/context-provider.git] / src / custom / CustomManager.h
index 8561cce..babb0eb 100644 (file)
@@ -30,7 +30,7 @@ namespace ctx {
 
                int subscribe();
                int unsubscribe();
-               int write(Json data, Json *requestResult);
+               int write(CtxJson1 data, CtxJson1 *requestResult);
 
                bool isSupported();
 
@@ -40,9 +40,9 @@ namespace ctx {
 
        private:
                bool __initialize();
-               int __addCustomItem(std::string subject, std::string name, ctx::Json tmpl, std::string owner, bool isInit = false);
+               int __addCustomItem(std::string subject, std::string name, ctx::CtxJson1 tmpl, std::string owner, bool isInit = false);
                int __removeCustomItem(std::string subject);
-               int __publishData(std::string, ctx::Json fact);
+               int __publishData(std::string, ctx::CtxJson1 fact);
        };
 }