2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 * @author Lukasz Marek (l.marek@samsung.com)
22 #ifndef _ABSTRACT_LAYER_CALENDAR_EVENT_H_
23 #define _ABSTRACT_LAYER_CALENDAR_EVENT_H_
27 #include <dpl/shared_ptr.h>
29 namespace WrtPlugins {
31 const int UNDEFINED_LOG_ENTRY_ID = -1;
39 RECEIVED_CALLS_FOLDER,
40 REJECTED_CALLS_FOLDER,
42 INITIATED_CALLS_FOLDER,
43 INVALID_FOLDER = 10000,
44 UNDEFINED_FOLDER /* should be used only to mark a fact filter
52 void setId(int value);
54 std::string getPhoneNumber() const;
55 void setPhoneNumber(const std::string &value);
57 std::time_t getStartTime() const;
58 void setStartTime(std::time_t value);
60 int getDuration() const;
61 void setDuration(int value);
63 LogFolder getFolder() const;
64 void setFolder(LogFolder value);
66 std::string getDescription() const;
67 void setDescription(const std::string &value);
73 std::string m_phoneNumber;
74 std::time_t m_startTime;
77 std::string m_description;
80 typedef DPL::SharedPtr<LogEntry> LogEntryPtr;
84 #endif /* _ABSTRACT_LAYER_CALENDAR_EVENT_H_ */