diff options
author | Sangtai Kim <sangtai.kim@samsung.com> | 2012-02-03 16:25:55 +0900 |
---|---|---|
committer | Sangtai Kim <sangtai.kim@samsung.com> | 2012-02-03 16:25:55 +0900 |
commit | 0cd92b69f76bb128e26bb02f539c31a342e7561e (patch) | |
tree | 449508fdfa8d5f1997a0cf9c5b186b7c4245f70f /src/platform/API/Calendar/EventAlarm.cpp | |
parent | f7d6a7695dfc4f7c03732ece121fc9f4a8a5ad2f (diff) | |
download | wrt-plugins-tizen-0cd92b69f76bb128e26bb02f539c31a342e7561e.tar.gz wrt-plugins-tizen-0cd92b69f76bb128e26bb02f539c31a342e7561e.tar.bz2 wrt-plugins-tizen-0cd92b69f76bb128e26bb02f539c31a342e7561e.zip |
BETA merge
Diffstat (limited to 'src/platform/API/Calendar/EventAlarm.cpp')
-rwxr-xr-x | src/platform/API/Calendar/EventAlarm.cpp | 37 |
1 files changed, 13 insertions, 24 deletions
diff --git a/src/platform/API/Calendar/EventAlarm.cpp b/src/platform/API/Calendar/EventAlarm.cpp index 9f58bb0..ee0f089 100755 --- a/src/platform/API/Calendar/EventAlarm.cpp +++ b/src/platform/API/Calendar/EventAlarm.cpp @@ -16,7 +16,7 @@ #include "EventAlarm.h" -#include <dpl/log.h> +#include <dpl/log/log.h> namespace TizenApis { namespace Api { @@ -25,8 +25,6 @@ namespace Calendar { EventAlarm::EventAlarm() { m_absoluteDate = 0; - m_minutes = 0; - m_days = 0; } EventAlarm::~EventAlarm() { @@ -41,40 +39,31 @@ void EventAlarm::setAbsoluteDate(const std::time_t &value) m_absoluteDate = value; } -std::string EventAlarm::getTimeZone() const -{ - return m_timeZone; -} -void EventAlarm::setTimeZone(const std::string &value) -{ - m_timeZone = value; -} - -long EventAlarm::getMinutes() const +TizenApis::Api::TimeUtil::DurationProperties EventAlarm::getDuration() const { - return m_minutes; + return m_duration; } -void EventAlarm::setMinutes(const long &value) +void EventAlarm::setDuration(TizenApis::Api::TimeUtil::DurationProperties value) { - m_minutes = value; + m_duration = value; } -long EventAlarm::getDays() const +std::vector<CalendarEvent::EventAlarmType> EventAlarm::getMethods() const { - return m_days; + return m_methods; } -void EventAlarm::setDays(const long &value) +void EventAlarm::setMethods(const std::vector<CalendarEvent::EventAlarmType> &value) { - m_days = value; + m_methods = value; } -std::vector<int> EventAlarm::getMethods() const +std::string EventAlarm::getTimeZone() const { - return m_methods; + return m_timeZone; } -void EventAlarm::setMethods(const std::vector<int> &value) +void EventAlarm::setTimeZone(const std::string &value) { - m_methods = value; + m_timeZone = value; } } |