a2eba334b8831cc67a7b491f3ebc3ee9120fa7f1
[profile/ivi/wrt-plugins-tizen.git] / src / platform / Tizen / Calendar / Calendar.h
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17
18 #ifndef _CALENDAR_H_
19 #define _CALENDAR_H_
20
21 #include "API/Calendar/ICalendar.h"
22 #include "EventWrapper.h"
23
24 using namespace TizenApis::Api::Calendar;
25
26 namespace TizenApis {
27 namespace Platform {
28 namespace Calendar {
29
30 class Calendar : public ICalendar
31 {
32   public:
33     Calendar();
34     virtual ~Calendar();
35   protected:
36     virtual void OnRequestReceived(const IEventAddEventPtr &event);
37     virtual void OnRequestReceived(const IEventAddEventsPtr &events);
38     virtual void OnRequestReceived(const IEventDeleteEventPtr &event);
39     virtual void OnRequestReceived(const IEventDeleteEventsPtr &events);
40     virtual void OnRequestReceived(const IEventUpdateEventPtr &event);
41     virtual void OnRequestReceived(const IEventUpdateEventsPtr &events);
42     virtual void OnRequestReceived(const IEventFindEventsPtr &event);
43     virtual void OnRequestReceived(const IEventCreateEventPtr &event);
44     virtual void OnRequestReceived(const IEventCreateEventFromStringPtr &event);
45     virtual void OnRequestReceived(const IEventExportEventToStringPtr &event);
46     virtual void OnRequestReceived(const IEventWatchChangesPtr &event);
47     virtual void OnRequestReceived(const IEventClearWatchPtr &event);
48     virtual void OnRequestReceived(const IEventExpandEventRecurrencePtr &event);
49 };
50
51 }
52 }
53 }
54
55 #endif /* _CALENDAR_H_ */