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