Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: apaid.h
Link against:

Class TApaAppCapability

TApaAppCapability

Support

Supported from 5.0

Description

Application capabilities.

Defined in TApaAppCapability:
CopyCapability(), EEmbeddable, EEmbeddableOnly, ENotEmbeddable, ExternalizeL(), InternalizeL(), TEmbeddability, iAppIsHidden, iEmbeddability, iSupportsNewFile


Persistence


ExternalizeL()

void ExternalizeL(RWriteStream& aStream) const;

Description

Externalises the application capabilities to a write stream.

Parameters

RWriteStream& aStream

The write stream.


InternalizeL()

void InternalizeL(RReadStream& aStream);

Description

Internalises the application capabilities from a read stream.

Parameters

RReadStream& aStream

The read stream.

[Top]


Utility function


CopyCapability()

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.

[Top]


Enumerations


Enum TEmbeddability

TEmbeddability

Description

Defines an application's support for embeddability.

ENotEmbeddable

An application cannot be embedded.

EEmbeddable

An application can be embedded, and can also run as a main application.

EEmbeddableOnly

An application can only be embedded and will not run as a main application.

[Top]


Public data members


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.