#include <apmstd.h>
class TDataTypeWithPriority |
Public Attributes | |
---|---|
TDataType | iDataType |
TDataTypePriority | iPriority |
Public Member Functions | |
---|---|
TDataTypeWithPriority() | |
TDataTypeWithPriority(const TDataType &, TDataTypePriority) | |
IMPORT_C void | ExternalizeL(RWriteStream &) |
IMPORT_C void | InternalizeL(RReadStream &) |
A data (MIME) type and a priority value for that data type.
The priority is used to resolve the current preferred handler of a data type, in the absence of any user preferences. An AIF file can associate an application with a data (MIME) type that is not native to Symbian OS. A priority value can be specified that allows the device to choose the highest priority application that can handle that data type.
See also: TDataType TDataTypePriority
IMPORT_C | TDataTypeWithPriority | ( | const TDataType & | aDataType, |
TDataTypePriority | aPriority | |||
) |
Constructor taking a data type and a priority value.
Parameter | Description |
---|---|
aDataType | The data type. |
aPriority | The priority value. |
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aWriteStream | ) | const |
Externalizes the data type to a stream.
The presence of this function means that the standard templated stream operator<<() is available to externalise objects of this class.
Parameter | Description |
---|---|
aWriteStream | The write stream. |
IMPORT_C void | InternalizeL | ( | RReadStream & | aReadStream | ) |
Internalizes the data type from a stream.
The presence of this function means that the standard templated stream operator>>() is available to internalize objects of this class.
Parameter | Description |
---|---|
aReadStream | The read stream. |