Update change log and spec for wrt-plugins-tizen_0.2.84
[framework/web/wrt-plugins-tizen.git] / src / platform / API / Calendar / EventAlarm.h
index c00728f..6c0eb82 100755 (executable)
@@ -22,7 +22,6 @@
 #include <ctime>
 #include <string>
 #include <dpl/shared_ptr.h>
-#include "CalendarEvent.h"
 #include "API/TimeUtil/DurationProperties.h"
 
 namespace TizenApis {
@@ -32,6 +31,14 @@ namespace Calendar {
 class EventAlarm
 {
   public:
+    typedef enum
+    {
+        NO_ALARM,
+        SILENT_ALARM,
+        SOUND_ALARM,
+        UNDEFINED_ALARM_TYPE
+    } EventAlarmType;
+
     EventAlarm();
     virtual ~EventAlarm();
 
@@ -41,8 +48,8 @@ class EventAlarm
     TizenApis::Api::TimeUtil::DurationProperties getDuration() const;
     void setDuration(TizenApis::Api::TimeUtil::DurationProperties value);
 
-    std::vector<CalendarEvent::EventAlarmType> getMethods() const;
-    void setMethods(const std::vector<CalendarEvent::EventAlarmType> &value);
+    std::vector<EventAlarmType> getMethods() const;
+    void setMethods(const std::vector<EventAlarmType> &value);
 
     std::string getTimeZone() const;
     void setTimeZone(const std::string &value);
@@ -53,7 +60,7 @@ class EventAlarm
   protected:
     long long int m_absoluteDate;
     TizenApis::Api::TimeUtil::DurationProperties m_duration;
-    std::vector<CalendarEvent::EventAlarmType> m_methods;
+    std::vector<EventAlarmType> m_methods;
     std::string m_description;
     std::string m_timeZone;
 };