TApaAppCapability Class Reference

class TApaAppCapability

Application capabilities.

Public Member Functions
IMPORT_C voidCopyCapability(TDes8 &, const TDesC8 &)
IMPORT_C voidExternalizeL(RWriteStream &)
IMPORT_C voidInternalizeL(RReadStream &)
Private Member Functions
voidDoInternalizeL(RReadStream &, TBool &, TApaAppGroupName &)
Public Member Enumerations
enumTCapabilityAttribute { EBuiltAsDll = 0x00000001, EControlPanelItem = 0x00000002, ENonNative = 0x00000004 }
enumTEmbeddability { ENotEmbeddable = 0, EEmbeddable = 1, EEmbeddableOnly = 2, EEmbeddableUiOrStandAlone = 5, EEmbeddableUiNotStandAlone = 6 }
Public Attributes
TBool iAppIsHidden
TUint iAttributes
TEmbeddability iEmbeddability
TApaAppGroupName iGroupName
TBool iLaunchInBackground
TBool iSupportsNewFile
Private Attributes
TInt iTApaAppCapability_Reserved1

Member Functions Documentation

CopyCapability(TDes8 &, const TDesC8 &)

IMPORT_C voidCopyCapability(TDes8 &aDest,
const TDesC8 &aSource
)[static]

Parameters

TDes8 & aDest
const TDesC8 & aSource

DoInternalizeL(RReadStream &, TBool &, TApaAppGroupName &)

voidDoInternalizeL(RReadStream &aStream,
TBool &aLaunchInBackground,
TApaAppGroupName &aGroupName
)[private]

Parameters

RReadStream & aStream
TBool & aLaunchInBackground
TApaAppGroupName & aGroupName

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Parameters

RReadStream & aStream

Member Enumerations Documentation

Enum TCapabilityAttribute

Defines an application's attributes as a set of bit flags.

Enumerators

EBuiltAsDll = 0x00000001

This functionality is deprecated from v9.5 onwards.

EControlPanelItem = 0x00000002

If set, the application provides control panel functionality.

ENonNative = 0x00000004

If set, the application is not a native executable, and hence the "path" and "extension" (as well as the "name") must be provided in the app_file field of the APP_REGISTRATION_INFO resource.

Enum TEmbeddability

Defines an application's support for embeddability.

Enumerators

ENotEmbeddable = 0

An application cannot be embedded.

EEmbeddable = 1

An application can be run embedded or standalone and can read/write embedded document-content.

EEmbeddableOnly = 2

An application can only be run embedded and can read/write embedded document-content.

EEmbeddableUiOrStandAlone = 5

An application can be run embedded or standalone and cannot read/write embedded document-content.

EEmbeddableUiNotStandAlone = 6

An application can only be run embedded and cannot read/write embedded document-content.

Member Data Documentation

TBool iAppIsHidden

TBool iAppIsHidden

Indicates whether the existence of the application should be advertised to the user. If this is set to ETrue, the application does not appear on the Extras Bar (or equivalent).

TUint iAttributes

TUint iAttributes

Indicates the application attributes. One or more values from TCapabilityAttribute may be specified.

TEmbeddability iEmbeddability

TEmbeddability iEmbeddability

Indicates the extent to which the application can be embedded.

TApaAppGroupName iGroupName

TApaAppGroupName iGroupName

Stores the application's logical group name.

TBool iLaunchInBackground

TBool iLaunchInBackground

Allows the application to be launched in the foreground (when set to EFalse) or in the background (when set to ETrue).

TBool iSupportsNewFile

TBool iSupportsNewFile

Indicates whether the application is document-based and supports being asked to create a new file.

TInt iTApaAppCapability_Reserved1

TInt iTApaAppCapability_Reserved1[private]