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.
18 #ifndef TIZEN_NFC_EVENTNFCCHANGEDPRIVATE_H_
19 #define TIZEN_NFC_EVENTNFCCHANGEDPRIVATE_H_
21 #include <dpl/shared_ptr.h>
22 #include <Commons/IEvent.h>
23 #include <CommonsJavaScript/JSCallbackManager.h>
28 class EventNFCChangedPrivateData : public WrtDeviceApis::Commons::IEventPrivateData,
29 public DeviceAPI::Common::SecurityAccessor
32 EventNFCChangedPrivateData(const WrtDeviceApis::CommonsJavaScript::JSCallbackManagerPtr& callbackManager,
33 const WrtDeviceApis::CommonsJavaScript::JSCallbackManagerPtr& detachedCallbackManager);
35 WrtDeviceApis::CommonsJavaScript::JSCallbackManagerPtr getCallbackManager() const;
36 WrtDeviceApis::CommonsJavaScript::JSCallbackManagerPtr getDetachedCallbackManager() const;
39 WrtDeviceApis::CommonsJavaScript::JSCallbackManagerPtr m_callbackManager;
40 WrtDeviceApis::CommonsJavaScript::JSCallbackManagerPtr m_detachedCallbackManager;
43 typedef DPL::SharedPtr<EventNFCChangedPrivateData> EventNFCChangedPrivateDataPtr;
47 #endif //TIZEN_NFC_EVENTNFCCHANGEDPRIVATE_H_