d5ad8f380f8fd3fc18bd4f04c6695e5c0f0b520c
[framework/web/wrt-plugins-tizen.git] / src / Callhistory / CallHistoryMultiCallback.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 #include "CallHistoryMultiCallback.h"
19
20
21 namespace DeviceAPI {
22 namespace CallHistory {
23
24 EventCallHistoryListenerPrivateData::EventCallHistoryListenerPrivateData(
25                         const JSCallbackManagerPtr& onAdded, const JSCallbackManagerPtr& onChanged) :
26                         m_onAdded(onAdded), m_onChanged(onChanged)
27 {
28 }
29
30 JSCallbackManagerPtr EventCallHistoryListenerPrivateData::getOnAdded() const
31 {
32         return m_onAdded;
33 }
34
35 JSCallbackManagerPtr EventCallHistoryListenerPrivateData::getOnChanged() const
36 {
37         return m_onChanged;
38 }
39
40 }
41 }
42