merge wrt-plugins-tizen_0.2.0-12
[profile/ivi/wrt-plugins-tizen.git] / src / platform / API / Calendar / IEventFindEvents.h
index 26ecea8..876c5ef 100755 (executable)
@@ -36,6 +36,7 @@ class IEventFindEvents : public WrtDeviceApis::Commons::IEvent<IEventFindEvents>
     CalendarEventListPtr m_events;
     bool m_result;
     EventFilterPtr m_filter;
+    CalendarEvent::CalendarType m_calendarType;
 
        /* generic filter parameters */
        Tizen::FilterPtr                        m_genericFilter;
@@ -64,6 +65,15 @@ class IEventFindEvents : public WrtDeviceApis::Commons::IEvent<IEventFindEvents>
         return m_result;
     }
 
+    void setCalendarType(CalendarEvent::CalendarType value)
+    {
+        m_calendarType = value;
+    }
+    CalendarEvent::CalendarType getCalendarType() const
+    {
+        return m_calendarType;
+    }
+
     void                        addEvent(CalendarEventPtr value)
     {
         m_events->push_back(value);
@@ -123,6 +133,7 @@ class IEventFindEvents : public WrtDeviceApis::Commons::IEvent<IEventFindEvents>
        }
 
     IEventFindEvents() : m_result(false),
+           m_calendarType(CalendarEvent::EVENT_TYPE),
         m_genericFilterIsSet(false),
         m_sortModesIsSet(false),
         m_attributesOfInterestIsSet(false)