mm_pub/audio_effects_api/inc/OrientationData.h
changeset 0 40261b775718
equal deleted inserted replaced
-1:000000000000 0:40261b775718
       
     1 /*
       
     2 * Copyright (c) 2004 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:  This file contains definitions of audio effects data structures for
       
    15 *                Orientation.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef TEFORIENTATION_H
       
    22 #define TEFORIENTATION_H
       
    23 
       
    24 //  INCLUDES
       
    25 #include <e32std.h>
       
    26 #include <AudioEffectData.h>
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30 *  This class defines the effect data structure to be passed between client and
       
    31 *  server.
       
    32 *
       
    33 *  @lib OrientationEffect.lib
       
    34 *  @since 3.0
       
    35 */
       
    36 class TEfOrientation : public TEfCommon
       
    37     {
       
    38     public:
       
    39 
       
    40         /**
       
    41         * Constructor.
       
    42         */
       
    43         TEfOrientation() {}
       
    44 
       
    45         /**
       
    46         * Constructor.
       
    47         */
       
    48         TEfOrientation( TInt32 aHeading, TInt32 aPitch, TInt32 aRoll,
       
    49         			 	TInt32 aFrontX, TInt32 aFrontY, TInt32 aFrontZ,
       
    50         			 	TInt32 aAboveX, TInt32 aAboveY, TInt32 aAboveZ ) :
       
    51         			 	iHeading(aHeading), iPitch(aPitch), iRoll(aRoll),
       
    52         			    iFrontX(aFrontX), iFrontY(aFrontY), iFrontZ(aFrontZ),
       
    53         			    iAboveX(aAboveX), iAboveY(aAboveY), iAboveZ(aAboveZ) {}
       
    54 
       
    55     	// Data
       
    56         // Orientation values of a Orientation object
       
    57 		TInt32 iHeading;
       
    58 		TInt32 iPitch;
       
    59 		TInt32 iRoll;
       
    60 		TInt32 iFrontX;
       
    61 		TInt32 iFrontY;
       
    62 		TInt32 iFrontZ;
       
    63 		TInt32 iAboveX;
       
    64 		TInt32 iAboveY;
       
    65 		TInt32 iAboveZ;
       
    66 
       
    67     };
       
    68 
       
    69 typedef TPckgBuf<TEfOrientation> TEfOrientationDataPckg;
       
    70 
       
    71 #endif      // TEFORIENTATION_H
       
    72 
       
    73 // End of File