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)
23 #include <dpl/log/log.h>
25 namespace WrtPlugins {
27 LogEntry::LogEntry() :
28 m_id(UNDEFINED_LOG_ENTRY_ID),
31 m_folder(LogEntry::INVALID_FOLDER)
39 int LogEntry::getId() const
44 void LogEntry::setId(int value)
49 std::string LogEntry::getPhoneNumber() const
54 void LogEntry::setPhoneNumber(const std::string &value)
56 m_phoneNumber = value;
59 std::time_t LogEntry::getStartTime() const
64 void LogEntry::setStartTime(std::time_t value)
69 int LogEntry::getDuration() const
74 void LogEntry::setDuration(int value)
79 LogEntry::LogFolder LogEntry::getFolder() const
84 void LogEntry::setFolder(LogFolder value)
89 std::string LogEntry::getDescription() const
94 void LogEntry::setDescription(const std::string &value)
96 m_description = value;
99 void LogEntry::display()
101 LogDebug("m_id " << m_id);
102 LogDebug("m_duration " << m_duration);
103 LogDebug("m_startTime " << m_startTime);
104 LogDebug("m_phoneNumber " << m_phoneNumber);
105 LogDebug("m_folder " << m_folder);
106 LogDebug("m_description " << m_description);