2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
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
8 // http://www.apache.org/licenses/LICENSE-2.0
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.
18 * @file FSys_DeviceManagerEventProvider.h
19 * @brief This is the header file for the _DeviceManagerEventProvider class.
22 #ifndef _FSYS_INTERNAL_DEVICEMANAGER_EVENT_PROVIDER_H_
23 #define _FSYS_INTERNAL_DEVICEMANAGER_EVENT_PROVIDER_H_
25 #include <FOspConfig.h>
26 #include <FBaseObject.h>
28 namespace Tizen { namespace System
31 class _IDeviceManagerEventProvider;
34 * @class _DeviceManagerEventProvider
35 * @brief This class provides device event for service.
38 class _OSP_EXPORT_ _DeviceManagerEventProvider
39 : public Tizen::Base::Object
43 static _DeviceManagerEventProvider* GetInstance(void);
45 void SetIDeviceManageEventProvider(_IDeviceManagerEventProvider* listener);
49 * This is the default constructor for this class.
51 _DeviceManagerEventProvider(void);
54 * This is the default destructor for this class.
56 virtual ~_DeviceManagerEventProvider(void);
58 static void InitDeviceManagerEventProvider(void);
62 _IDeviceManagerEventProvider* __pListener;
64 static _DeviceManagerEventProvider* __pDeviceManagerEventProvider;
69 #endif //_FSYS_INTERNAL_DEVICEMANAGER_EVENT_PROVIDER_H_