diff options
Diffstat (limited to 'src/platform/API/Calendar/IEventAddEvents.h')
-rwxr-xr-x | src/platform/API/Calendar/IEventAddEvents.h | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/src/platform/API/Calendar/IEventAddEvents.h b/src/platform/API/Calendar/IEventAddEvents.h new file mode 100755 index 0000000..a196407 --- /dev/null +++ b/src/platform/API/Calendar/IEventAddEvents.h @@ -0,0 +1,70 @@ +/* + * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +#ifndef _IEVENT_ADD_EVENTS_H_ +#define _IEVENT_ADD_EVENTS_H_ + +#include <Commons/IEvent.h> +#include "CalendarEvent.h" +#include <dpl/shared_ptr.h> + +namespace TizenApis { +namespace Api { +namespace Calendar { + +class IEventAddEvents : public WrtDeviceApis::Commons::IEvent<IEventAddEvents> +{ + CalendarEventListPtr m_events; + bool m_result; + + public: + void setResult(bool value) + { + m_result = value; + } + bool getResult() const + { + return m_result; + } + + void setEvents(CalendarEventListPtr value) + { + m_events = value; + } + CalendarEventListPtr getEvents() const + { + return m_events; + } + + IEventAddEvents() : m_result(false) + { + LogDebug("entered"); + } + ~IEventAddEvents() + { + } + virtual void clearOnCancel() + { + } +}; + +typedef DPL::SharedPtr<IEventAddEvents> IEventAddEventsPtr; + +} +} +} +#endif /* _IEVENT_ADD_EVENTS_H_ */ |