#include <mw/apaid.h>
Link against: apparc.lib
class TApaAppCapability |
Public Attributes | |
---|---|
TBool | iAppIsHidden |
TUint | iAttributes |
TEmbeddability | iEmbeddability |
TApaAppGroupName | iGroupName |
TBool | iLaunchInBackground |
TBool | iSupportsNewFile |
Public Member Enumerations | |
---|---|
enum | TCapabilityAttribute { EBuiltAsDll, EControlPanelItem, ENonNative } |
enum | TEmbeddability { ENotEmbeddable, EEmbeddable, EEmbeddableOnly, EEmbeddableUiOrStandAlone, EEmbeddableUiNotStandAlone } |
Public Member Functions | |
---|---|
IMPORT_C void | CopyCapability(TDes8 &, const TDesC8 &) |
IMPORT_C void | ExternalizeL(RWriteStream &) |
IMPORT_C void | InternalizeL(RReadStream &) |
Application capabilities.
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 |
Indicates the application attributes. One or more values from TCapabilityAttribute may be specified.
TEmbeddability | iEmbeddability |
Indicates the extent to which the application can be embedded.
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 |
Indicates whether the application is document-based and supports being asked to create a new file.
Defines an application's attributes as a set of bit flags.
Enumerator | Value | Description |
---|---|---|
EBuiltAsDll | 0x00000001 |
This functionality is deprecated from v9.5 onwards. Deprecated This functionality is deprecated from v9.5 onwards. Deprecated |
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. |
Defines an application's support for embeddability.
Enumerator | Value | Description |
---|---|---|
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. |
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Externalises the application capabilities to a write stream.
Parameters | |
---|---|
aStream | The write stream. |