Update change log and spec for wrt-plugins-tizen_0.4.46
[platform/framework/web/wrt-plugins-tizen.git] / src / Callhistory / CallHistoryFilterConverter.cpp
1 //
2 // Tizen Web Device API
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
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
8 //
9 // http://www.apache.org/licenses/LICENSE-2.0
10 //
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.
16 //
17
18 /**
19  * @file        CallHistoryFilterConverter.cpp
20  * @author      Kisub Song (kisubs.song@samsung.com)
21  * @version     0.1
22  * @description Reference from CalendarConverter.cpp
23  */
24
25 #include "CallHistoryFilterConverter.h"
26 #include <Logger.h>
27
28 namespace DeviceAPI {
29 namespace CallHistory {
30
31 using namespace std;
32 using namespace DeviceAPI::Tizen;
33
34 static PropertyStructArray properties =
35 {
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}
45 };
46
47 CallHistoryFilterConverter::CallHistoryFilterConverter(JSContextRef context) :
48                 FilterConverter(context, properties, false)
49 {
50 }
51
52 CallHistoryFilterConverter::~CallHistoryFilterConverter()
53 {
54         LoggerD("entered");
55 }
56
57 } // CallHistory
58 } // DeviceAPI
59