Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <APAID.H>
Link against: apparc.lib

Class TApaAppCapability

class TApaAppCapability;

Description

Application capabilities.

Members

Defined in TApaAppCapability:


Member functions


CopyCapability(TDes8 &,const TDesC8 &)

IMPORT_C static void CopyCapability(TDes8 &aDest, const TDesC8 &aSource);

Description

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

Parameters

TDes8 &aDest

Target descriptor.

const TDesC8 &aSource

Source descriptor.


InternalizeL(RReadStream &)

IMPORT_C void InternalizeL(RReadStream &aStream);

Description

Parameters

RReadStream &aStream


Internalize7_0L(RReadStream &)

Interface status: deprecated

IMPORT_C void Internalize7_0L(RReadStream &aStream);

Description

Parameters

RReadStream &aStream


ExternalizeL(RWriteStream &)const

IMPORT_C void ExternalizeL(RWriteStream &aStream) const;

Description

Externalises the application capabilities to a write stream.

Parameters

RWriteStream &aStream

The write stream.

[Top]


Member enumerations


Enum TEmbeddability

TEmbeddability

Description

Defines an application's support for embeddability.

ENotEmbeddable

An application cannot be embedded.

EEmbeddable

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

EEmbeddableOnly

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

EEmbeddableUiOrStandAlone

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

EEmbeddableUiNotStandAlone

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


Enum TCapabilityAttribute

TCapabilityAttribute

Description

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

EBuiltAsDll

If set, the application was built as a DLL, otherwise it was built as an EXE.

EControlPanelItem

If set, the application provides control panel functionality.

ENonNative

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.

[Top]


Member data


iEmbeddability

TEmbeddability iEmbeddability;

Description

Indicates the extent to which the application can be embedded.


iSupportsNewFile

TBool iSupportsNewFile;

Description

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


iAppIsHidden

TBool iAppIsHidden;

Description

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


iLaunchInBackground

TBool iLaunchInBackground;

Description

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


iGroupName

TApaAppGroupName iGroupName;

Description

Stores the application's logical group name.


iAttributes

TUint iAttributes;

Description

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