#include <ctime>
#include <string>
#include <dpl/shared_ptr.h>
-#include "CalendarEvent.h"
#include "API/TimeUtil/DurationProperties.h"
namespace TizenApis {
class EventAlarm
{
public:
+ typedef enum
+ {
+ NO_ALARM,
+ SILENT_ALARM,
+ SOUND_ALARM,
+ UNDEFINED_ALARM_TYPE
+ } EventAlarmType;
+
EventAlarm();
virtual ~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);
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;
};