summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKisub Song <kisubs.song@samsung.com>2012-02-18 23:31:27 +0900
committerKisub Song <kisubs.song@samsung.com>2012-02-18 23:31:27 +0900
commit8f8d183d790eb241d0161588917aef65d7a01a87 (patch)
treeb8f6636036fb191807058c2ba09d11903ebfa389 /src
parent7b0dd03c3d919a45c8e6918dde2ba65eec901e51 (diff)
downloadwrt-plugins-tizen-8f8d183d790eb241d0161588917aef65d7a01a87.tar.gz
wrt-plugins-tizen-8f8d183d790eb241d0161588917aef65d7a01a87.tar.bz2
wrt-plugins-tizen-8f8d183d790eb241d0161588917aef65d7a01a87.zip
Error fix.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/platform/Tizen/Calendar/EventWrapper.cpp25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/platform/Tizen/Calendar/EventWrapper.cpp b/src/platform/Tizen/Calendar/EventWrapper.cpp
index ed194a6..f9e022c 100755
--- a/src/platform/Tizen/Calendar/EventWrapper.cpp
+++ b/src/platform/Tizen/Calendar/EventWrapper.cpp
@@ -1100,11 +1100,12 @@ void EventWrapper::setAttendeesToPlatformEvent()
}
// save status
- cal_event_attendee_status_type_t status = EVENT_ATTENDEE_PENDING_AT_STATUS;
+ //cal_event_attendee_status_type_t status = EVENT_ATTENDEE_PENDING_AT_STATUS;
+ cal_event_attendee_status_type_t status = EVENT_ATTENDEE_COMPLETED_AT_STATUS;
switch (attendeeList->at(i)->getStatus()) {
- case EventAttendee::PENDING_AT_STATUS:
- status = EVENT_ATTENDEE_PENDING_AT_STATUS;
- break;
+ //case EventAttendee::PENDING_AT_STATUS:
+ // status = EVENT_ATTENDEE_PENDING_AT_STATUS;
+ // break;
case EventAttendee::ACCEPTED_AT_STATUS:
status = EVENT_ATTENDEE_ACCEPTED_AT_STATUS;
break;
@@ -1880,9 +1881,9 @@ void EventWrapper::setAttendeesFromPlatformEvent()
return;
}
switch (attendeeStatus) {
- case EVENT_ATTENDEE_PENDING_AT_STATUS:
- attendeePtr->setStatus(EventAttendee::PENDING_AT_STATUS);
- break;
+ //case EVENT_ATTENDEE_PENDING_AT_STATUS:
+ // attendeePtr->setStatus(EventAttendee::PENDING_AT_STATUS);
+ // break;
case EVENT_ATTENDEE_ACCEPTED_AT_STATUS:
attendeePtr->setStatus(EventAttendee::ACCEPTED_AT_STATUS);
break;
@@ -2098,11 +2099,11 @@ void EventWrapper::displayPlatformEvent()
m_platformEvent, CAL_VALUE_INT_SENSITIVITY));
LogDebug("event availability: " << calendar_svc_struct_get_int(
m_platformEvent, CAL_VALUE_INT_BUSY_STATUS));
- LogDebug("event alarmType: " << calendar_svc_struct_get_int(
- m_platformEvent, CAL_VALUE_INT_ALARM_TYPE));
- LogDebug("event alarm time: " << calendar_svc_struct_get_time(
- m_platformEvent, CAL_VALUE_GMT_ALARM_TIME,
- CAL_TZ_FLAG_GMT));
+ //LogDebug("event alarmType: " << calendar_svc_struct_get_int(
+ // m_platformEvent, CAL_VALUE_INT_ALARM_TYPE));
+ //LogDebug("event alarm time: " << calendar_svc_struct_get_time(
+ // m_platformEvent, CAL_VALUE_GMT_ALARM_TIME,
+ // CAL_TZ_FLAG_GMT));
GList *categoryList = NULL;
if (CAL_SUCCESS != calendar_svc_struct_get_list(m_platformEvent,