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.
Public Member Functions | |
---|---|
TApaApplicationFactory() | |
TApaApplicationFactory(TFunction) | |
TApaApplicationFactory(const CImplementationInformation &) | |
TApaApplicationFactory(TUid) | |
HBufC * | AppFileNameL() |
TUid | AppFileUid() |
CApaApplication * | CreateApplicationL() |
Private Member Functions | |
---|---|
void | CleanupImplementationArray(TAny *) |
CApaApplication * | CreateEmbeddedApplicationL(TUid) |
HBufC * | EmbeddedApplicationDisplayNameLC(TUid) |
HBufC * | FullAppFileNameL(const TDesC &) |
Private Member Enumerations | |
---|---|
enum | TType { ETypeFunction, ETypeEmbeddedApplicationInformation, ETypeEmbeddedApplicationUid } |
Public Member Type Definitions | |
---|---|
typedef | CApaApplication *(* TFunction |
Private Attributes | |
---|---|
CApaApplication * | iApplication |
TUint | iData |
TInt | iSpare2 |
TType | iType |
IMPORT_C | TApaApplicationFactory | ( | TFunction | aFunction | ) |
TFunction aFunction |
IMPORT_C | TApaApplicationFactory | ( | const CImplementationInformation & | aEmbeddedApplicationInformation | ) |
const CImplementationInformation & aEmbeddedApplicationInformation |
IMPORT_C | TApaApplicationFactory | ( | TUid | aEmbeddedApplicationUid | ) |
TUid aEmbeddedApplicationUid |
void | CleanupImplementationArray | ( | TAny * | aImplementationArray | ) | [private, static] |
TAny * aImplementationArray |
CApaApplication * | CreateEmbeddedApplicationL | ( | TUid | aUid | ) | [private, static] |
TUid aUid |
HBufC * | EmbeddedApplicationDisplayNameLC | ( | TUid | aUid | ) | [private, static] |
TUid aUid |
HBufC * | FullAppFileNameL | ( | const TDesC & | aAppName | ) | [private, static] |
const TDesC & aAppName |