Change event sync to async
[platform/framework/native/appfw.git] / src / io / inc / FIo_ChannelServiceManager.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        FIo_ChannelServiceManager.h
19  * @brief       This is the header file for the _ChannelServiceManager class.
20  *
21  * This file contains the declarations of _ChannelServiceManager.
22  */
23
24 #ifndef _FIO_INTERNAL_CHANNEL_SERVICE_MANAGER_H_
25 #define _FIO_INTERNAL_CHANNEL_SERVICE_MANAGER_H_
26
27 #include <FOspConfig.h>
28 #include <FBaseObject.h>
29
30 namespace Tizen { namespace Io
31 {
32
33 class _IChannelService;
34
35 class _OSP_EXPORT_ _ChannelServiceManager
36         : public Tizen::Base::Object
37 {
38 public:
39         static _ChannelServiceManager* GetInstance();
40
41         _IChannelService* GetChannelService(void);
42
43         void SetChannelService(_IChannelService* pIChannelService);
44
45 private:
46         _ChannelServiceManager(void);
47
48         virtual ~_ChannelServiceManager(void);
49
50         _ChannelServiceManager(const _ChannelServiceManager& value);
51
52         _ChannelServiceManager& operator =(const _ChannelServiceManager& value);
53
54 private:
55         static _ChannelServiceManager* __pChannnelServiceManager;
56         _IChannelService* __pIChannelService;
57 }; // Channel
58
59 } } // Tizen::Io
60
61 #endif // _FIO_INTERNAL_CHANNEL_SERVICE_MANAGER_H_