TApaApplicationFactory Class Reference

class TApaApplicationFactory

Encapsulates the functionality of creating an application, whether it be via a factory function or an ECOM plugin. Instances of this class can usually be created implicitly when required as function parameters - just specify the function pointer, ECOM plugin UID or CImplementationInformation reference.

CApaProcess EikStart

Constructor & Destructor Documentation

TApaApplicationFactory()

IMPORT_C TApaApplicationFactory ( )

Default constructor Constructor for TApaApplicationFactory

TApaApplicationFactory(TFunction)

IMPORT_C TApaApplicationFactory ( TFunction aFunction )

Constructor.

Parameters

TFunction aFunction The function from which the application is to be created.

TApaApplicationFactory(const CImplementationInformation &)

IMPORT_C TApaApplicationFactory ( const CImplementationInformation & aEmbeddedApplicationInformation )

Constructor. Use this constructor in preference to the constructor taking a "TUid" parameter if at all possible as it is much more efficient.

Parameters

const CImplementationInformation & aEmbeddedApplicationInformation The ECOM implementation-information of the embedded application to be created.

TApaApplicationFactory(TUid)

IMPORT_C TApaApplicationFactory ( TUid aEmbeddedApplicationUid )

Constructor. Use the constructor taking a "const CImplementationInformation&" parameter in preference to this constructor if at all possible as it is much more efficient.

Parameters

TUid aEmbeddedApplicationUid The ECOM implementation-UID of the embedded application to be created.

Member Functions Documentation

AppFileNameL()

HBufC * AppFileNameL ( ) const

AppFileUid()

TUid AppFileUid ( ) const

CleanupImplementationArray(TAny *)

void CleanupImplementationArray ( TAny * aImplementationArray ) [private, static]

Parameters

TAny * aImplementationArray

CreateApplicationL()

CApaApplication * CreateApplicationL ( ) const

CreateEmbeddedApplicationL(TUid)

CApaApplication * CreateEmbeddedApplicationL ( TUid aUid ) [private, static]

Parameters

TUid aUid

EmbeddedApplicationDisplayNameLC(TUid)

HBufC * EmbeddedApplicationDisplayNameLC ( TUid aUid ) [private, static]

Parameters

TUid aUid

FullAppFileNameL(const TDesC &)

HBufC * FullAppFileNameL ( const TDesC & aAppName ) [private, static]

Parameters

const TDesC & aAppName

Member Enumerations Documentation

Enum TType

Enumerators

ETypeFunction
ETypeEmbeddedApplicationInformation
ETypeEmbeddedApplicationUid

Member Type Definitions Documentation

Typedef TFunction

typedef CApaApplication *(* TFunction

Member Data Documentation

CApaApplication * iApplication

CApaApplication * iApplication [private]

TUint iData

TUint iData [private]

TInt iSpare2

TInt iSpare2 [private]

TType iType

TType iType [private]