Update change log and spec for wrt-plugins-tizen_0.4.66
[framework/web/wrt-plugins-tizen.git] / src / DataControl / MappedDataControlConsumer.h
index bdb82a3..8b88a92 100755 (executable)
@@ -50,21 +50,20 @@ public:
        void handlePendingEvent(const EventRemoveValuePtr& event);
        void handlePendingEvent(const EventGetValuePtr& event);
        void handlePendingEvent(const EventUpdateValuePtr& event);
-
+       void handleCommonErrorEvent(void* userData, unsigned int code, std::string msg);
 private:
        std::string m_type;
        std::string m_dataId;
        std::string m_providerId;
        std::string m_appId;
+       std::string m_ProviderPkgId;
+       std::string m_currentAppId;
        
-       std::string getApplicationId(const std::string& provId);
-       void addArrayToBundle(bundle* passData, std::vector<std::string>& array);
        bool checkReqIdUniqueness(unsigned int reqId);
-       void removeReqId(unsigned int reqId);
 
        static DPL::Mutex m_mutex;
-       std::vector<unsigned int> m_currentReqIds;
-       
+
+
 
 protected:
        MappedDataControlConsumer(std::string& provId, std::string& dataId, std::string& type);
@@ -82,81 +81,7 @@ private:
 };
 
 
-class EventAddValuePendingEvent
-{
-public:
-       EventAddValuePendingEvent(void *thisObject, const  EventAddValuePtr &event) :
-               m_thisObject(thisObject),
-               m_event(event)
-       {
-       }
-
-       virtual ~EventAddValuePendingEvent()
-       {
-       }
-       void* getThisObject() const { return m_thisObject; }
-       EventAddValuePtr getEvent() const { return m_event; }
-private:
-       void *m_thisObject;
-       EventAddValuePtr m_event;
-};
-
-class EventRemoveValuePendingEvent
-{
-public:
-       EventRemoveValuePendingEvent(void *thisObject, const  EventRemoveValuePtr &event) :
-               m_thisObject(thisObject),
-               m_event(event)
-       {
-       }
-
-       virtual ~EventRemoveValuePendingEvent()
-       {
-       }
-       void* getThisObject() const { return m_thisObject; }
-       EventRemoveValuePtr getEvent() const { return m_event; }
-private:
-       void *m_thisObject;
-       EventRemoveValuePtr m_event;
-};
-
-class EventUpdateValuePendingEvent
-{
-public:
-       EventUpdateValuePendingEvent(void *thisObject, const  EventUpdateValuePtr &event) :
-               m_thisObject(thisObject),
-               m_event(event)
-       {
-       }
-
-       virtual ~EventUpdateValuePendingEvent()
-       {
-       }
-       void* getThisObject() const { return m_thisObject; }
-       EventUpdateValuePtr getEvent() const { return m_event; }
-private:
-       void *m_thisObject;
-       EventUpdateValuePtr m_event;
-};
 
-class EventGetValuePendingEvent
-{
-public:
-       EventGetValuePendingEvent(void *thisObject, const  EventGetValuePtr &event) :
-               m_thisObject(thisObject),
-               m_event(event)
-       {
-       }
-
-       virtual ~EventGetValuePendingEvent()
-       {
-       }
-       void* getThisObject() const { return m_thisObject; }
-       EventGetValuePtr getEvent() const { return m_event; }
-private:
-       void *m_thisObject;
-       EventGetValuePtr m_event;
-};
 
 }
 }