Public Member Functions | Static Public Member Functions

CMccCodecInformationFactory Class Reference

#include <mmcccodecinformationfactory.h>

List of all members.

Public Member Functions

virtual ~CMccCodecInformationFactory ()
IMPORT_C CMccCodecInformationCreateCodecInformationL (const TDesC8 &aSdpName)
IMPORT_C CMccCodecInformationCreateCodecInformationL (TFourCC aFourCC)

Static Public Member Functions

static IMPORT_C
CMccCodecInformationFactory
NewL ()

Detailed Description

Factory class returning instances of various codec information classes.

Short example of usage:

 CMccCodecInformationFactory* factory =
                              CMccCodecInformationFactory::NewL();
 
 CleanupStack::PushL( factory );
 
 CMccCodecInformation* amrCodec =
                       factory->CreateCodecInformationL( KAMRSdpName );
 
 CleanupStack::PopAndDestroy( factory );

mmccinterface.dll


Constructor & Destructor Documentation

virtual CMccCodecInformationFactory::~CMccCodecInformationFactory (  )  [virtual]

Destructor.


Member Function Documentation

IMPORT_C CMccCodecInformation* CMccCodecInformationFactory::CreateCodecInformationL ( const TDesC8 &  aSdpName  ) 

Factory method to create instances of various CMccCodecInformation class objects.

KErrNotSupported if codec is not supported.

Parameters:
aSdpName Codec information is created base on codec's SDP name.
Returns:
Codec information.
IMPORT_C CMccCodecInformation* CMccCodecInformationFactory::CreateCodecInformationL ( TFourCC  aFourCC  ) 

Factory method to create instances of various CMccCodecInformation classe objects.

KErrNotSupported if codec is not supported.

Parameters:
aFourCC Codec information is created base on codec's FOURCC.
Returns:
Codec information.
static IMPORT_C CMccCodecInformationFactory* CMccCodecInformationFactory::NewL (  )  [static]

Two-phased constructor.


The documentation for this class was generated from the following file:
 All Classes Functions Variables