1ab2cf5882fdc1f94fe282ccd4986cd82b833636
[framework/web/wrt-plugins-common.git] / src / modules / API / Camera / IFeatureValue.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  * @author      Karol Majewski (k.majewski@samsung.com)
18  * @version     0.1
19  * @brief
20  */
21
22 #ifndef WRTDEVICEAPIS_CAMERA_API_IFEATUREVALUE_H_
23 #define WRTDEVICEAPIS_CAMERA_API_IFEATUREVALUE_H_
24
25 #include <string>
26
27 namespace WrtDeviceApis {
28 namespace Camera {
29 namespace Api {
30
31 class IFeatureValue
32 {
33   public:
34     enum IdType
35     {
36         ZOOM,
37         NO_ZOOM,
38         CONTRAST,
39         BRIGHTNESS,
40         COLORTEMPERATURE,
41         NIGHTMODE,
42         MANUALFOCUS,
43         FOCUS,
44         LIGHT,
45         FLASH
46     };
47   private:
48     //The feature value identifier.
49     unsigned short m_id;
50
51     //An optional description of the feature value.
52     std::string m_description;
53
54   public:
55     IFeatureValue();
56     virtual ~IFeatureValue();
57 };
58
59 }
60 }
61 }
62 #endif /* WRTPLUGINSIFEATUREVALUE_H_ */