2 // Open Service Platform
3 // Copyright (c) 2012-2013 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 * @file FNetBt_BluetoothIpcProxy.h
19 * @brief This is the header file for the %_BluetoothIpcProxy class.
21 * This header file contains the declarations of the %_BluetoothIpcProxy class.
24 #ifndef _FNET_BT_INTERNAL_BLUETOOTH_IPC_PROXY_H_
25 #define _FNET_BT_INTERNAL_BLUETOOTH_IPC_PROXY_H_
27 #include <FBaseObject.h>
29 // Forward declaration
30 namespace Tizen { namespace Base
35 namespace Tizen { namespace Io
40 namespace Tizen { namespace Net { namespace Bluetooth
44 * @class _BluetoothIpcProxy
45 * @brief This class represents an IPC proxy for %Bluetooth service.
47 * This class represents an IPC proxy for %Bluetooth service to communicate with Connectivity service daemon.
49 class _BluetoothIpcProxy
50 : public Tizen::Base::Object
53 static _BluetoothIpcProxy* GetInstance(void);
55 result GetLocalDeviceName(Tizen::Base::String& deviceName) const;
56 result SetLocalDeviceName(const Tizen::Base::String& deviceName) const;
57 result SetDiscoverableMode(int mode, int seconds) const;
60 _BluetoothIpcProxy(void);
61 virtual ~_BluetoothIpcProxy(void);
62 result Construct(void);
65 _BluetoothIpcProxy(const _BluetoothIpcProxy& value);
66 _BluetoothIpcProxy& operator =(const _BluetoothIpcProxy& rhs);
68 static void InitSingleton(void);
71 Tizen::Io::_IpcClient* __pIpcClient;
72 static _BluetoothIpcProxy* __pInstance;
74 }; // _BluetoothIpcProxy
77 #endif // _FNET_BT_INTERNAL_BLUETOOTH_IPC_PROXY_H_