Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: apparc.h
Link against: apparc.lib

Class TApaApplicationFactory

class TApaApplicationFactory;

Description

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.

Members

Defined in TApaApplicationFactory:
TApaApplicationFactory(), TApaApplicationFactory(), TApaApplicationFactory(), TApaApplicationFactory(), TFunction

See also:


Construction and destruction


TApaApplicationFactory()

IMPORT_C TApaApplicationFactory();

Description

Constructor for TApaApplicationFactory


TApaApplicationFactory()

IMPORT_C TApaApplicationFactory(TFunction aFunction);

Description

Constructor.

Parameters

TFunction aFunction

The function from which the application is to be created.


TApaApplicationFactory()

IMPORT_C TApaApplicationFactory(const CImplementationInformation &aEmbeddedApplicationInformation);

Description

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()

IMPORT_C TApaApplicationFactory(TUid aEmbeddedApplicationUid);

Description

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.

[Top]


Member type definitions


Typedef TFunction

typedef CApaApplication*(* TApaApplicationFactory::TFunction)();

Description