00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef CLISTENERDOPPLER_H
00021 #define CLISTENERDOPPLER_H
00022
00023
00024
00025 #include <e32base.h>
00026 #include <DopplerBase.h>
00027 #include <MCustomInterface.h>
00028
00029 const TUid KUidListenerDopplerEffect = {0x10207B16};
00030
00031
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
00046
00054 class CListenerDoppler : public CDoppler
00055 {
00056
00057 public:
00058
00065 IMPORT_C static CListenerDoppler* NewL( CMdaAudioConvertUtility& aUtility );
00066
00073 IMPORT_C static CListenerDoppler* NewL( CMdaAudioInputStream& aUtility );
00074
00081 IMPORT_C static CListenerDoppler* NewL( CMdaAudioOutputStream& aUtility );
00082
00089 IMPORT_C static CListenerDoppler* NewL( CMdaAudioPlayerUtility& aUtility );
00090
00099 IMPORT_C static CListenerDoppler* NewL( CMdaAudioRecorderUtility& aUtility, TBool aRecordStream );
00100
00107 IMPORT_C static CListenerDoppler* NewL( CMdaAudioToneUtility& aUtility );
00108
00115 IMPORT_C static CListenerDoppler* NewL( CMMFDevSound& aDevSound );
00116
00123 IMPORT_C static CListenerDoppler* NewL( CCustomCommandUtility* aUtility );
00124
00131 IMPORT_C static CListenerDoppler* NewL( MCustomInterface& aCustomInterface );
00132
00139 IMPORT_C static CListenerDoppler* NewL( CMidiClientUtility& aUtility );
00140
00147 IMPORT_C static CListenerDoppler* NewL( CDrmPlayerUtility& aUtility );
00148
00155 IMPORT_C static CListenerDoppler* NewL( CVideoPlayerUtility& aUtility );
00156
00161 IMPORT_C virtual ~CListenerDoppler();
00162
00163 public:
00164
00165
00166
00167
00168
00169
00170
00171 IMPORT_C TUid Uid() const;
00172
00173 protected:
00174
00181 IMPORT_C CListenerDoppler();
00182
00183 protected:
00184
00185 friend class CListenerDopplerMessageHandler;
00186
00187 };
00188
00189 #endif // of CLISTENERDOPPLER_H
00190
00191