#include <mw/apaapp.h>
Link against: apparc.lib
class TApaApplicationFactory |
Public Member Type Definitions | |
---|---|
typedef | CApaApplication *(* TFunction |
Public Member Functions | |
---|---|
TApaApplicationFactory() | |
TApaApplicationFactory(TFunction) | |
TApaApplicationFactory(const CImplementationInformation &) | |
TApaApplicationFactory(TUid) | |
HBufC * | AppFileNameL() |
TUid | AppFileUid() |
CApaApplication * | CreateApplicationL() |
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.
See also: CApaProcess EikStart
typedef CApaApplication *(* | TFunction |
IMPORT_C | TApaApplicationFactory | ( | ) |
Default constructor Constructor for TApaApplicationFactory
IMPORT_C | TApaApplicationFactory | ( | TFunction | aFunction | ) |
Constructor.
Parameters | |
---|---|
aFunction | The function from which the application is to be created. |
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 | |
---|---|
aEmbeddedApplicationInformation | The ECOM implementation-information of the embedded application to be created. |
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 | |
---|---|
aEmbeddedApplicationUid | The ECOM implementation-UID of the embedded application to be created. |