2 // Tizen Web Device API
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file CallHistoryFilterConverter.cpp
20 * @author Kisub Song (kisubs.song@samsung.com)
22 * @description Reference from CalendarConverter.cpp
25 #include "CallHistoryFilterConverter.h"
29 namespace CallHistory {
32 using namespace DeviceAPI::Tizen;
34 static PropertyStructArray properties =
36 { "uid", PrimitiveType_String},
37 { "type", PrimitiveType_String},
38 { "features", PrimitiveType_String},
39 { "remoteParties.remoteParty", PrimitiveType_String},
40 { "remoteParties.personId", PrimitiveType_String},
41 { "startTime", PrimitiveType_Time},
42 { "duration", PrimitiveType_String},
43 { "direction", PrimitiveType_String},
44 { 0, PrimitiveType_NoType}
47 CallHistoryFilterConverter::CallHistoryFilterConverter(JSContextRef context) :
48 FilterConverter(context, properties, false)
52 CallHistoryFilterConverter::~CallHistoryFilterConverter()