sourceorientationbase.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : SourceOrientationBase.h
00004 *  Part of     : Effects Framework
00005 *  Description : This is the definition of the source orientation effect class.
00006 *  Version     : %version: 4 %
00007 *
00008 *  Copyright © 2006 Nokia. All rights reserved.
00009 *  This material, including documentation and any related
00010 *  computer programs, is protected by copyright controlled by
00011 *  Nokia Corporation. All rights are reserved. Copying,
00012 *  including reproducing, storing, adapting or translating, any
00013 *  or all of this material requires the prior written consent of
00014 *  Nokia Corporation. This material also contains confidential
00015 *  information which may not be disclosed to others without the
00016 *  prior written consent of Nokia Corporation.
00017 * ==============================================================================
00018 */
00019 
00020 #ifndef CSOURCEORIENTATION_H
00021 #define CSOURCEORIENTATION_H
00022 
00023 // INCLUDES
00024 
00025 #include <e32base.h>
00026 #include <OrientationBase.h>
00027 #include <MCustomInterface.h>
00028 
00029 const TUid KUidSourceOrientationEffect = {0x10203834};
00030 
00031 // FORWARD DELCARATION
00032 class CMdaAudioConvertUtility;
00033 class CMdaAudioPlayerUtility;
00034 class CMdaAudioRecorderUtility;
00035 class CMdaAudioInputStream;
00036 class CMdaAudioOutputStream;
00037 class CMdaAudioToneUtility;
00038 class CCustomCommandUtility;
00039 class CCustomInterfaceUtility;
00040 class CMMFDevSound;
00041 class CMidiClientUtility;
00042 class CDrmPlayerUtility;
00043 class CVideoPlayerUtility;
00044 
00045 // CLASS DECLARATION
00046 
00054 class CSourceOrientation : public COrientation
00055     {
00056 
00057     public:     // Constructors and Destructor
00058 
00065         IMPORT_C static CSourceOrientation* NewL( CMMFDevSound& aDevSound );
00066 
00073         IMPORT_C static CSourceOrientation* NewL( CMdaAudioConvertUtility& aUtility );
00074 
00081         IMPORT_C static CSourceOrientation* NewL( CMdaAudioInputStream& aUtility );
00082 
00089         IMPORT_C static CSourceOrientation* NewL( CMdaAudioOutputStream& aUtility );
00090 
00097         IMPORT_C static CSourceOrientation* NewL( CMdaAudioPlayerUtility& aUtility );
00098 
00107         IMPORT_C static CSourceOrientation* NewL( CMdaAudioRecorderUtility& aUtility, TBool aRecordStream );
00108 
00115         IMPORT_C static CSourceOrientation* NewL( CMdaAudioToneUtility& aUtility );
00116 
00123         IMPORT_C static CSourceOrientation* NewL( CCustomCommandUtility* aUtility );
00124 
00131         IMPORT_C static CSourceOrientation* NewL( MCustomInterface& aCustomInterface );
00132 
00139         IMPORT_C static CSourceOrientation* NewL( CMidiClientUtility& aUtility );
00140 
00147         IMPORT_C static CSourceOrientation* NewL( CDrmPlayerUtility& aUtility );
00148 
00155         IMPORT_C static CSourceOrientation* NewL( CVideoPlayerUtility& aUtility );
00156 
00161         IMPORT_C virtual ~CSourceOrientation();
00162 
00163 
00164     public: // functions from base class
00165 
00166         /*
00167         * From CAudioEffect
00168         * Get the unique identifier of the audio effect
00169         * 
00170         * @return Unique identifier
00171         */
00172         IMPORT_C TUid Uid() const;
00173 
00174     protected:
00175 
00182         IMPORT_C CSourceOrientation();
00183 
00184     protected:    // Friend classes
00185 
00186         friend class CSourceOrientationMessageHandler;
00187 
00188     };
00189 
00190 // of CSOURCEORIENTATION_H
00191 #endif
00192 
00193 // End of File

Copyright © Nokia Corporation 2001-2008
Back to top