diff -r 94fc26b6e006 -r 1fa3fb47b1e3 khronosfws/openmax_al/src/camera/xacameradevice.h --- a/khronosfws/openmax_al/src/camera/xacameradevice.h Tue Jul 06 14:50:35 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,75 +0,0 @@ -/* -* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: -* -*/ - -#ifndef XACAMERADEVICE_H -#define XACAMERADEVICE_H - -#include "openmaxalwrapper.h" -#include "xaobjectitf.h" -#include "xaglobals.h" -#include "xaadptbasectx.h" -/** MACROS **/ - - -/** TYPES **/ - - -/** ENUMERATIONS **/ -/* Enumeration for interfaces that CameraDevice supports. */ -typedef enum -{ - CAMERA_OBJECTITF, - CAMERA_CAMERAITF, - CAMERA_CONFIGEXTENSIONITF, - CAMERA_DIMITF, - CAMERA_IMAGECONTROLSITF, - CAMERA_IMAGEEFFECTSITF, - CAMERA_VIDEOPOSTPROCESSINGITF, - CAMERA_ITFCOUNT -} XACameraDeviceInterfaces; - -/** STRUCTURES **/ -/* Specification for CameraDeviceImpl. */ -typedef struct XACameraDeviceImpl_ -{ - /* Parent for XACameraDeviceImpl */ - XAObjectItfImpl baseObj; - - /* variables */ - XAuint32 deviceID; - - XAAdaptationBaseCtx* adaptationCtx; - -} XACameraDeviceImpl; - - -/** METHODS **/ - -/* base object XAObjectItfImpl methods */ -XAresult XACameraDeviceImpl_DoRealize(XAObjectItf self); -XAresult XACameraDeviceImpl_DoResume(XAObjectItf self); -void XACameraDeviceImpl_FreeResources(XAObjectItf self); - -/* CameraDeviceImpl -specific methods*/ -/* DynamicInterfaceManagement object-specific methods */ -XAresult XACameraDeviceImpl_DoAddItf(XAObjectItf self, XAObjItfMapEntry *mapEntry ); -XAresult XACameraDeviceImpl_DoResumeItf(XAObjectItf self, XAObjItfMapEntry *mapEntry ); -XAresult XACameraDeviceImpl_DoRemoveItf(XAObjectItf self, XAObjItfMapEntry *mapEntry ); - - - -#endif /* XACAMERADEVICE_H */