TApaAppCapability Class Reference

#include <mw/apaid.h>

Link against: apparc.lib

class TApaAppCapability

Detailed Description

Application capabilities.

Member Attribute Documentation

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).

iAttributes

TUint iAttributes

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

iEmbeddability

TEmbeddability iEmbeddability

Indicates the extent to which the application can be embedded.

iGroupName

TApaAppGroupName iGroupName

Stores the application's logical group name.

iLaunchInBackground

TBool iLaunchInBackground

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

iSupportsNewFile

TBool iSupportsNewFile

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

Member Enumeration Documentation

Enum TCapabilityAttribute

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

EnumeratorValueDescription
EBuiltAsDll0x00000001

This functionality is deprecated from v9.5 onwards. Deprecated

EControlPanelItem0x00000002

If set, the application provides control panel functionality.

ENonNative0x00000004

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.

EnumeratorValueDescription
ENotEmbeddable0

An application cannot be embedded.

EEmbeddable1

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

EEmbeddableOnly2

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

EEmbeddableUiOrStandAlone5

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

EEmbeddableUiNotStandAlone6

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

Member Function Documentation

CopyCapability ( TDes8 &, const TDesC8 & )

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

A utility function that can copy capability information from one descriptor to another.

ParameterDescription
aDestTarget descriptor.
aSourceSource descriptor.

ExternalizeL ( RWriteStream & )

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Externalises the application capabilities to a write stream.

ParameterDescription
aStreamThe write stream.

InternalizeL ( RReadStream & )

IMPORT_C voidInternalizeL(RReadStream &aStream)