khronosfws/openmax_al/src/ledarray/xaledarraydevice.h
changeset 33 5e8b14bae8c3
parent 28 ebf79c79991a
child 36 73253677b50a
equal deleted inserted replaced
28:ebf79c79991a 33:5e8b14bae8c3
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef XALEDARRAYDEVICE_H
       
    19 #define XALEDARRAYDEVICE_H
       
    20 
       
    21 #include "openmaxalwrapper.h"
       
    22 #include "xaobjectitf.h"
       
    23 #include "xaglobals.h"
       
    24 
       
    25 #include "xaadptbasectx.h"
       
    26 /** MACROS **/
       
    27 
       
    28 
       
    29 /** TYPES **/
       
    30 
       
    31 
       
    32 /** ENUMERATIONS **/
       
    33 /* Enumeration for interfaces that LEDArrayDevice supports.  */
       
    34 typedef enum
       
    35 {
       
    36     LEDARRAY_OBJECTITF,
       
    37     LEDARRAY_LEDARRAYITF,
       
    38     LEDARRAY_CONFIGEXTENSIONITF,
       
    39     LEDARRAY_DIMITF,
       
    40     LEDARRAY_ITFCOUNT
       
    41 } XALEDArrayDeviceInterfaces;
       
    42 
       
    43 /** STRUCTURES **/
       
    44 /* Specification for LEDArrayDeviceImpl. */
       
    45 typedef struct XALEDArrayDeviceImpl_
       
    46 {
       
    47     /* Parent for XALEDArrayDeviceImpl */
       
    48     XAObjectItfImpl baseObj;
       
    49 
       
    50     /* variables */
       
    51     XAuint32 deviceID;
       
    52 
       
    53     XAAdaptationBaseCtx* adaptationCtx;
       
    54 
       
    55 } XALEDArrayDeviceImpl;
       
    56 
       
    57 
       
    58 /** METHODS **/
       
    59 
       
    60 /* base object XAObjectItfImpl methods */
       
    61 XAresult    XALEDArrayDeviceImpl_DoRealize(XAObjectItf self);
       
    62 XAresult    XALEDArrayDeviceImpl_DoResume(XAObjectItf self);
       
    63 void        XALEDArrayDeviceImpl_FreeResources(XAObjectItf self);
       
    64 
       
    65 #endif /* XALEDARRAYDEVICE_H */