Seperate DeviceManagerService into System-service so.
[platform/framework/native/appfw.git] / src / system-server / inc / FSys_IDeviceManager.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
4 // Licensed under the Apache License, Version 2.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //     http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16
17 /**
18  * @file         FSys_IDeviceManager.h
19  * @brief       This is the header file of the _IDeviceManager class.
20  *
21  * This header file contains the declarations of the _IDeviceManager class.
22  */
23 #include <FBase.h>
24 #include <FSystem.h>
25
26 #ifndef _FSYS_INTERNAL_IDEVICE_MANAGER_H_
27 #define _FSYS_INTERNAL_IDEVICE_MANAGER_H_
28
29 namespace Tizen { namespace System {
30
31 /**
32  * @class       _IDeviceManager
33  * @brief       This class contains implementaion of device control.
34  * @since 2.1
35  */
36 class _OSP_EXPORT_ _IDeviceManager
37 {
38 protected:
39         _IDeviceManager(void) {};
40         virtual ~_IDeviceManager(void) {};
41 public:
42         virtual result InitializeDevice(void) = 0;
43         virtual result DeinitializeDevice(void) = 0;
44         virtual bool GetBluetoothStatus(void) = 0;
45         virtual result RegisterListner(IDeviceEventListener &listener) = 0;
46         virtual result UnregisterListner(IDeviceEventListener &listener) = 0;
47 };      //_IDeviceManager
48
49 }} //Tizen::System
50 #endif /* _FSYS_INTERNAL_IDEVICE_MANAGER_H_ */