sl@0: /* sl@0: * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: This file contains definitions of audio effects data structures for sl@0: * Orientation. sl@0: * sl@0: */ sl@0: sl@0: sl@0: sl@0: #ifndef TEFORIENTATION_H sl@0: #define TEFORIENTATION_H sl@0: sl@0: // INCLUDES sl@0: #include sl@0: #include sl@0: // CLASS DECLARATION sl@0: sl@0: /** sl@0: * This class defines the effect data structure to be passed between client and sl@0: * server. sl@0: * sl@0: * @lib OrientationEffect.lib sl@0: * @since 3.0 sl@0: */ sl@0: class TEfOrientation : public TEfCommon sl@0: { sl@0: public: sl@0: sl@0: /** sl@0: * Constructor. sl@0: */ sl@0: TEfOrientation() {} sl@0: sl@0: /** sl@0: * Constructor. sl@0: */ sl@0: TEfOrientation( TInt32 aHeading, TInt32 aPitch, TInt32 aRoll, sl@0: TInt32 aFrontX, TInt32 aFrontY, TInt32 aFrontZ, sl@0: TInt32 aAboveX, TInt32 aAboveY, TInt32 aAboveZ ) : sl@0: iHeading(aHeading), iPitch(aPitch), iRoll(aRoll), sl@0: iFrontX(aFrontX), iFrontY(aFrontY), iFrontZ(aFrontZ), sl@0: iAboveX(aAboveX), iAboveY(aAboveY), iAboveZ(aAboveZ) {} sl@0: sl@0: // Data sl@0: // Orientation values of a Orientation object sl@0: TInt32 iHeading; sl@0: TInt32 iPitch; sl@0: TInt32 iRoll; sl@0: TInt32 iFrontX; sl@0: TInt32 iFrontY; sl@0: TInt32 iFrontZ; sl@0: TInt32 iAboveX; sl@0: TInt32 iAboveY; sl@0: TInt32 iAboveZ; sl@0: sl@0: }; sl@0: sl@0: typedef TPckgBuf TEfOrientationDataPckg; sl@0: sl@0: #endif // TEFORIENTATION_H sl@0: sl@0: // End of File