00001 /* 00002 * ============================================================================== 00003 * Name : mmcccodecinformationfactory.h 00004 * Part of : Multimedia Comms Controller 00005 * Interface : OEM API, Media Control API 00006 * Description : Class is used for creating media codecs. 00007 * Version : 1.0 00008 * 00009 * Copyright © 2006-2009 Nokia. This material, including documentation and any 00010 * related computer programs, is protected by copyright controlled by Nokia. 00011 * All rights are reserved. Copying, including reproducing, storing, adapting 00012 * or translating, any or all of this material requires the prior written 00013 * consent of Nokia. This material also contains confidential information, 00014 * which may not be disclosed to others without the prior written consent 00015 * of Nokia. 00016 * ============================================================================== 00017 */ 00018 00019 #ifndef MMCCCODECINFORMATIONFACTORY_H 00020 #define MMCCCODECINFORMATIONFACTORY_H 00021 00022 #include <e32base.h> 00023 00024 class CMccCodecInformation; 00025 class TFourCC; 00026 00047 class CMccCodecInformationFactory : public CBase 00048 { 00049 public: // Constructors and destructor 00050 00054 IMPORT_C static CMccCodecInformationFactory* NewL(); 00055 00059 virtual ~CMccCodecInformationFactory(); 00060 00061 public: 00062 00071 IMPORT_C CMccCodecInformation* CreateCodecInformationL( 00072 const TDesC8& aSdpName ); 00073 00082 IMPORT_C CMccCodecInformation* CreateCodecInformationL( TFourCC aFourCC ); 00083 00084 private: 00085 00089 CMccCodecInformationFactory(); 00090 00094 void ConstructL(); 00095 00096 }; 00097 00098 #endif // MMCCCODECINFORMATIONFACTORY_H