class CApaRegistrationResourceFileWriter : public CApaResourceFileWriterBase |
Used to support the registration of non-native applications.
The task of this class is to generate the resource files expected by the Apparc server. Applications that register other applications can use functions of this class to customise the generated resource files.
Public Member Functions | |
---|---|
~CApaRegistrationResourceFileWriter() | |
IMPORT_C void | AddDataTypeL(TInt, const TDesC8 &) |
IMPORT_C void | AddFileOwnershipInfoL(const TDesC &) |
TUid | AppUid() |
void | GenerateFileContentsL(RBuf8 &) |
IMPORT_C CApaRegistrationResourceFileWriter * | NewL(TUid, const TDesC &, TUint) |
IMPORT_C void | SetAppIsHiddenL(TBool) |
IMPORT_C void | SetDefaultScreenNumberL(TInt) |
IMPORT_C void | SetEmbeddabilityL(TApaAppCapability::TEmbeddability) |
IMPORT_C void | SetGroupNameL(const TDesC &) |
IMPORT_C void | SetLaunchInBackgroundL(TBool) |
void | SetLocalisableResourceFileL(const TDesC &) |
IMPORT_C void | SetOpaqueDataL(const TDesC8 &) |
IMPORT_C void | SetSupportsNewFileL(TBool) |
Private Member Functions | |
---|---|
CApaRegistrationResourceFileWriter(TUid, TUint) | |
void | ConstructL(const TDesC &) |
void | MainResourceInCompiledFormatL(MDataSink &) |
const TDesC8 * | SecondResourceL(TBool &) |
void | WriteDataTypeL(MDataSink &, const SDataType &) |
void | WriteFileOwnershipInfoL(MDataSink &, const SFileOwnershipInfo &) |
CApaRegistrationResourceFileWriter | ( | TUid | aAppUid, |
TUint | aAttributes | ||
) | [private] |
IMPORT_C void | AddFileOwnershipInfoL | ( | const TDesC & | aFileName | ) |
const TDesC & aFileName |
void | ConstructL | ( | const TDesC & | aAppFile | ) | [private] |
const TDesC & aAppFile |
void | GenerateFileContentsL | ( | RBuf8 & | aBuffer | ) | const |
RBuf8 & aBuffer |
void | MainResourceInCompiledFormatL | ( | MDataSink & | aDataSink | ) | const [private, virtual] |
MDataSink & aDataSink |
IMPORT_C CApaRegistrationResourceFileWriter * | NewL | ( | TUid | aAppUid, |
const TDesC & | aAppFile, | |||
TUint | aAttributes | |||
) | [static] |
const TDesC8 * | SecondResourceL | ( | TBool & | aSecondResourceInCompressedUnicodeFormat | ) | const [private, virtual] |
TBool & aSecondResourceInCompressedUnicodeFormat |
IMPORT_C void | SetDefaultScreenNumberL | ( | TInt | aDefaultScreenNumber | ) |
TInt aDefaultScreenNumber |
IMPORT_C void | SetEmbeddabilityL | ( | TApaAppCapability::TEmbeddability | aEmbeddability | ) |
TApaAppCapability::TEmbeddability aEmbeddability |
IMPORT_C void | SetGroupNameL | ( | const TDesC & | aGroupName | ) |
const TDesC & aGroupName |
IMPORT_C void | SetLaunchInBackgroundL | ( | TBool | aLaunchInBackground | ) |
TBool aLaunchInBackground |
void | SetLocalisableResourceFileL | ( | const TDesC & | aLocalisableResourceFile | ) |
const TDesC & aLocalisableResourceFile |
IMPORT_C void | SetOpaqueDataL | ( | const TDesC8 & | aOpaqueData | ) |
const TDesC8 & aOpaqueData |
IMPORT_C void | SetSupportsNewFileL | ( | TBool | aSupportsNewFile | ) |
TBool aSupportsNewFile |
void | WriteDataTypeL | ( | MDataSink & | aDataSink, |
const SDataType & | aDataType | |||
) | const [private] |
void | WriteFileOwnershipInfoL | ( | MDataSink & | aDataSink, |
const SFileOwnershipInfo & | aFileOwnershipInfo | |||
) | const [private] |
MDataSink & aDataSink | |
const SFileOwnershipInfo & aFileOwnershipInfo |
TApaAppCapability::TEmbeddability | iEmbeddability | [private] |
RArray< SFileOwnershipInfo > | iFileOwnershipList | [private] |