khronosfws/openmax_al/src/vibra/xavibradevice.h
changeset 42 1fa3fb47b1e3
parent 32 94fc26b6e006
child 47 c2e43643db4c
equal deleted inserted replaced
32:94fc26b6e006 42:1fa3fb47b1e3
     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 XAVIBRADEVICE_H
       
    19 #define XAVIBRADEVICE_H
       
    20 
       
    21 #include "xaobjectitf.h"
       
    22 #include "xaadptbasectx.h"
       
    23 /** MACROS **/
       
    24 
       
    25 
       
    26 /** TYPES **/
       
    27 
       
    28 
       
    29 /** ENUMERATIONS **/
       
    30 /* Enumeration for interfaces that CameraDevice supports.  */
       
    31 typedef enum
       
    32 {
       
    33     VIBRA_OBJECTITF,
       
    34     VIBRA_CONFIGEXTENSIONITF,
       
    35     VIBRA_VIBRAITF,
       
    36     VIBRA_DIMITF,
       
    37     VIBRA_ITFCOUNT
       
    38 } XAVibraDeviceInterfaces;
       
    39 
       
    40 /** STRUCTURES **/
       
    41 /* Specification for VibraDeviceImpl. */
       
    42 typedef struct XAVibraDeviceImpl_
       
    43 {
       
    44     /* Parent for XACameraDeviceImpl */
       
    45     XAObjectItfImpl baseObj;
       
    46 
       
    47     /* variables */
       
    48     XAuint32 deviceID;
       
    49 
       
    50     XAAdaptationBaseCtx* adaptationCtx;
       
    51 
       
    52 } XAVibraDeviceImpl;
       
    53 
       
    54 /** METHODS **/
       
    55 
       
    56 /* base object XAObjectItfImpl methods */
       
    57 XAresult    XAVibraDeviceImpl_DoRealize(XAObjectItf self);
       
    58 XAresult    XAVibraDeviceImpl_DoResume(XAObjectItf self);
       
    59 void        XAVibraDeviceImpl_FreeResources(XAObjectItf self);
       
    60 
       
    61 #endif /* XAVIBRADEVICE_H */