40ea87d7a39c9bea5421a89befc12211e610430a
[framework/web/wrt-plugins-common.git] / src / modules / API / Camera / CameraFactory.h
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
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  *  Created on: 2010-06-28
18  *      Author: kmajewski
19  */
20
21 #ifndef WRTDEVICEAPIS_CAMERA_CAMERAFACTORY_H_
22 #define WRTDEVICEAPIS_CAMERA_CAMERAFACTORY_H_
23
24 #include "ICameraManager.h"
25
26 namespace WrtDeviceApis {
27 namespace Camera {
28 namespace Api {
29
30 class CameraFactory : private DPL::Noncopyable
31 {
32   private:
33     /**
34      * Private constructor to provide singleton
35      */
36     CameraFactory()
37     {}
38
39   public:
40
41     /**
42      * Get camera manager
43      */
44     ICameraManager& getCameraManagerObject();
45
46     /**
47      * Get singleton instance
48      */
49     static CameraFactory& getInstance();
50 };
51
52 }
53 }
54 }
55 #endif /* WRTPLUGINSCAMERAFACTORY_H_ */