Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:

See also:


Construction and destruction


TApaApplicationFactory()

IMPORT_C TApaApplicationFactory();

Description

Constructor for TApaApplicationFactory


TApaApplicationFactory(TFunction)

IMPORT_C TApaApplicationFactory(TFunction aFunction);

Description

Constructor.

Parameters

TApaApplicationFactory::TFunction aFunction

The function from which the application is to be created.


TApaApplicationFactory(const CImplementationInformation &)

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

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