2 * Copyright 2012 Samsung Electronics Co., Ltd
\r
4 * Licensed under the Flora License, Version 1.0 (the "License");
\r
5 * you may not use this file except in compliance with the License.
\r
6 * You may obtain a copy of the License at
\r
8 * http://www.tizenopensource.org/license
\r
10 * Unless required by applicable law or agreed to in writing, software
\r
11 * distributed under the License is distributed on an "AS IS" BASIS,
\r
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
13 * See the License for the specific language governing permissions and
\r
14 * limitations under the License.
\r
18 #ifndef _CCAM_DEVICE_CAPACITY_H_
\r
19 #define _CCAM_DEVICE_CAPACITY_H_
\r
21 #include "cam_property.h"
\r
23 class CCamDeviceCapacity
\r
25 //===========================================================================
\r
26 // Constructor & Destructor
\r
30 CCamDeviceCapacity();
\r
31 virtual ~CCamDeviceCapacity();
\r
34 //===========================================================================
\r
37 static CCamDeviceCapacity* m_pInstance;
\r
39 typedef struct _DevCapsSupported
\r
45 typedef struct _DevCapsMinMax
\r
53 typedef struct _DevCapsRange
\r
57 unsigned int unCaps;
\r
60 DevCapsRange m_Effect;
\r
61 DevCapsMinMax m_Zoom;
\r
63 unsigned int m_uFuncCaps;
\r
64 //===========================================================================
\r
68 static CCamDeviceCapacity* GetInstance();
\r
72 void GetCamDevFuncCaps(unsigned int *eType, void *user_data);
\r
73 bool GetCamDevEffectCaps(unsigned int *uCapacity, void *user_data);
\r
74 bool GetCamDevZoomCaps(int *min, int *max);
\r
77 bool IsSupported(unsigned int type, CamDeviceType deviceType, void *user_data);
\r
81 #endif //_CCAM_DEVICE_CAPACITY_H_
\r