f311eeb016a355f86447eddbe8d18c20d134189c
[platform/framework/native/appfw.git] / src / system / FSys_DeviceEventListenerContainer.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_DeviceEventListenerContainer.h
19  * @brief               This is the header file for the _DeviceEventListenerContainer class.
20  */
21
22 #ifndef _FSYS_INTERNAL_DEVICE_EVENT_LISTENER_CONATINER_H_
23 #define _FSYS_INTERNAL_DEVICE_EVENT_LISTENER_CONATINER_H_
24
25 #include <FBaseRtEvent.h>
26 #include <FSysDeviceManager.h>
27
28 namespace Tizen { namespace System
29 {
30
31 class _DeviceEventListenerContainer
32 {
33 public:
34         _DeviceEventListenerContainer(void);
35         virtual ~_DeviceEventListenerContainer(void);
36
37         bool IsInvalid(void);
38 public:
39         //Interested device event list
40         bool __bluetoothHeadset;
41         bool __charger;
42         bool __usbClient;
43         bool __tvOut;
44         bool __wiredHeadset;
45         bool __wiredHeadphone;
46         bool __storageCard;
47         bool __keyboard;
48         bool __hdmi;
49
50         Tizen::Base::Runtime::Event* __pEvent;
51         IDeviceEventListener* __pListener;
52 };
53
54 } }
55 #endif  // _FSYS_INTERNAL_DEVICE_EVENT_LISTENER_CONATINER_H_