00001 /* 00002 * ============================================================================== 00003 * Name : OrientationData.h 00004 * Part of : Effects Framework 00005 * Interface : Audio Effects 00006 * Description : This file contains definitions of audio effects data structures for 00007 * Orientation. 00008 * Version : 1 00009 * 00010 * Copyright (c) 2004 Nokia Corporation. 00011 * This material, including documentation and any related 00012 * computer programs, is protected by copyright controlled by 00013 * Nokia Corporation. All rights are reserved. Copying, 00014 * including reproducing, storing, adapting or translating, any 00015 * or all of this material requires the prior written consent of 00016 * Nokia Corporation. This material also contains confidential 00017 * information which may not be disclosed to others without the 00018 * prior written consent of Nokia Corporation. 00019 * ============================================================================== 00020 */ 00021 00022 00023 #ifndef TEFORIENTATION_H 00024 #define TEFORIENTATION_H 00025 00026 // INCLUDES 00027 #include <e32std.h> 00028 #include <AudioEffectData.h> 00029 // CLASS DECLARATION 00030 00038 class TEfOrientation : public TEfCommon 00039 { 00040 public: 00041 00045 TEfOrientation() {} 00046 00050 TEfOrientation( TInt32 aHeading, TInt32 aPitch, TInt32 aRoll, 00051 TInt32 aFrontX, TInt32 aFrontY, TInt32 aFrontZ, 00052 TInt32 aAboveX, TInt32 aAboveY, TInt32 aAboveZ ) : 00053 iHeading(aHeading), iPitch(aPitch), iRoll(aRoll), 00054 iFrontX(aFrontX), iFrontY(aFrontY), iFrontZ(aFrontZ), 00055 iAboveX(aAboveX), iAboveY(aAboveY), iAboveZ(aAboveZ) {} 00056 00057 // Data 00058 // Orientation values of a Orientation object 00059 TInt32 iHeading; 00060 TInt32 iPitch; 00061 TInt32 iRoll; 00062 TInt32 iFrontX; 00063 TInt32 iFrontY; 00064 TInt32 iFrontZ; 00065 TInt32 iAboveX; 00066 TInt32 iAboveY; 00067 TInt32 iAboveZ; 00068 00069 }; 00070 00071 typedef TPckgBuf<TEfOrientation> TEfOrientationDataPckg; 00072 00073 // TEFORIENTATION_H 00074 #endif 00075 00076 // End of File