Rename the class Json to avoid symbol conflicts with Jsoncpp
[platform/core/context/context-provider.git] / common / include / IContextManager.h
index 4bb2561..87c38a0 100644 (file)
@@ -18,7 +18,7 @@
 #define _CONTEXT_I_CONTEXT_MANAGER_H_
 
 #include <Types.h>
-#include <Json.h>
+#include <CtxJson1.h>
 
 namespace ctx {
 
@@ -28,8 +28,8 @@ namespace ctx {
        public:
                virtual ~IContextManager();
 
-               virtual bool publish(const char *subject, Json &option, int error, Json &dataUpdated) = 0;
-               virtual bool replyToRead(const char *subject, Json &option, int error, Json &dataRead) = 0;
+               virtual bool publish(const char *subject, CtxJson1 &option, int error, CtxJson1 &dataUpdated) = 0;
+               virtual bool replyToRead(const char *subject, CtxJson1 &option, int error, CtxJson1 &dataRead) = 0;
        };      /* class IContextManager */
 
 }      /* namespace ctx */