Add DRAFT stubs for Vehicle plugin
[profile/ivi/wrt-plugins-tizen.git] / src / platform / API / Calendar / EventId.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 _ABSTRACT_LAYER_EVENT_ID_H_
19 #define _ABSTRACT_LAYER_EVENT_ID_H_
20
21 #include <string>
22 #include <ctime>
23 #include <vector>
24 #include <dpl/shared_ptr.h>
25
26 #include "CalendarEvent.h"
27
28 namespace TizenApis {
29 namespace Api {
30 namespace Calendar {
31
32 class EventId
33 {
34   public:
35     EventId();
36     virtual ~EventId();
37
38     std::string getUId() const;
39     void setUId(const std::string &value);
40
41     std::string getRecurrenceId() const;
42     void setRecurrenceId(const std::string &value);
43     
44     CalendarEvent::CalendarType getCalendarType() const;
45     void setCalendarType(CalendarEvent::CalendarType type);
46
47   protected:
48     std::string m_uid;
49     std::string m_recurrenceId;
50     CalendarEvent::CalendarType m_calendarType;
51 };
52
53 typedef DPL::SharedPtr<EventId> EventIdPtr;
54 typedef std::vector<EventIdPtr> EventIdList;
55 typedef DPL::SharedPtr<EventIdList> EventIdListPtr;
56
57 }
58 }
59 }
60
61 #endif /* _ABSTRACT_LAYER_EVENT_ID_H_ */