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 #include "EventFindCallHistory.h"
20 using namespace TizenApis::Api::Tizen;
25 EventFindCallHistory::EventFindCallHistory() : m_filterIsSet(false),
26 m_sortModesIsSet(false),
32 void EventFindCallHistory::setFilter(const FilterPtr &filter)
38 void EventFindCallHistory::setSortMode(const SortModeArrayPtr &sortMode)
40 m_sortModes = sortMode;
41 m_sortModesIsSet = true;
44 void EventFindCallHistory::setLimit(const unsigned long limit)
52 void EventFindCallHistory::setOffset(const unsigned long offset)
60 void EventFindCallHistory::setResult(const CallHistoryEntryListPtr &callEntries)
62 m_callEntries = callEntries;
65 FilterPtr EventFindCallHistory::getFilter() const
70 SortModeArrayPtr EventFindCallHistory::getSortMode() const
75 unsigned long EventFindCallHistory::getLimit() const
80 unsigned long EventFindCallHistory::getOffset() const
85 bool EventFindCallHistory::getFilterIsSet() const
90 bool EventFindCallHistory::getSortModesIsSet() const
92 return m_sortModesIsSet;
95 bool EventFindCallHistory::getLimitIsSet() const
100 bool EventFindCallHistory::getOffsetIsSet() const
102 return m_offsetIsSet;
105 CallHistoryEntryListPtr EventFindCallHistory::getResult() const
107 return m_callEntries;