update the header for Doxygen
[platform/framework/native/bluetooth.git] / src / FNetBt_BluetoothIpcProxy.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012-2013 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  * @file        FNetBt_BluetoothIpcProxy.h
19  * @brief       This is the header file for the %_BluetoothIpcProxy class.
20  *
21  * This header file contains the declarations of the %_BluetoothIpcProxy class.
22  */
23
24 #ifndef _FNET_BT_INTERNAL_BLUETOOTH_IPC_PROXY_H_
25 #define _FNET_BT_INTERNAL_BLUETOOTH_IPC_PROXY_H_
26
27 #include <FBaseObject.h>
28
29 // Forward declaration
30 namespace Tizen { namespace Base
31 {
32 class String;
33 } }
34
35 namespace Tizen { namespace Io
36 {
37 class _IpcClient;
38 } }
39
40 namespace Tizen { namespace Net { namespace Bluetooth
41 {
42
43 /**
44  * @class   _BluetoothIpcProxy
45  * @brief   This class represents an IPC proxy for %Bluetooth service.
46  *
47  * This class represents an IPC proxy for %Bluetooth service to communicate with Connectivity service daemon.
48  */
49 class _BluetoothIpcProxy
50         : public Tizen::Base::Object
51 {
52 public:
53         static _BluetoothIpcProxy* GetInstance(void);
54
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;
58
59 private:
60         _BluetoothIpcProxy(void);
61         virtual ~_BluetoothIpcProxy(void);
62         result Construct(void);
63
64
65         _BluetoothIpcProxy(const _BluetoothIpcProxy& value);
66         _BluetoothIpcProxy& operator =(const _BluetoothIpcProxy& rhs);
67
68         static void InitSingleton(void);
69
70 private:
71         Tizen::Io::_IpcClient* __pIpcClient;
72         static _BluetoothIpcProxy* __pInstance;
73
74 }; // _BluetoothIpcProxy
75
76 } } }
77 #endif // _FNET_BT_INTERNAL_BLUETOOTH_IPC_PROXY_H_