class CRequestorBase : public CBase |
for example, a telephone number, URL or email address.
Public Member Functions | |
---|---|
~CRequestorBase () | |
IMPORT_C void | ExternalizeL ( RWriteStream &) |
IMPORT_C void | GetRequestor ( TRequestorType &, TRequestorFormat &, TPtrC &) |
IMPORT_C void | InternalizeL ( RReadStream &) |
IMPORT_C TDesC & | RequestorData () |
IMPORT_C TRequestorFormat | RequestorFormat () |
IMPORT_C TRequestorType | RequestorType () |
IMPORT_C void | SetRequestorL ( TRequestorType , TRequestorFormat , const TDesC &) |
Protected Member Functions | |
---|---|
CRequestorBase () | |
IMPORT_C void | ConstructL ( TRequestorType , TRequestorFormat , const TDesC &) |
IMPORT_C TAny * | ExtendedInterface ( TInt , TAny *, TAny *) |
Public Member Enumerations | |
---|---|
enum | _TRequestorFormat { EFormatUnknown , EFormatApplication , EFormatTelephone , EFormatUrl , EFormatMail } |
enum | _TRequestorType { ERequestorUnknown , ERequestorService , ERequestorContact } |
Public Member Type Definitions | |
---|---|
typedef | TInt TRequestorFormat |
typedef | TInt TRequestorType |
Protected Attributes | |
---|---|
TRequestorFormat | iFormat |
TRequestorType | iRequestorType |
Private Attributes | |
---|---|
TAny * | iBaseReservedPtr |
HBufC * | iData |
IMPORT_C void | ConstructL | ( | TRequestorType | aType, |
TRequestorFormat | aFormat, | |||
const TDesC & | aData | |||
) | [protected] |
Second phase constructor. Must be called by all derived classes to initialise CRequestorBase .
TRequestorType aType | identifies the type of requestor, a service or a contact. |
TRequestorFormat aFormat | determines the type of data held in aData |
const TDesC & aData | is requestor data. Can be a telephone number, a URL etc. |
IMPORT_C TAny * | ExtendedInterface | ( | TInt | aFunctionNumber, |
TAny * | aPtr1, | |||
TAny * | aPtr2 | |||
) | [protected, virtual] |
This method is used to allow polymorphic extensions to the API without breaking BC. See documentation for explanation.
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [virtual] |
Stores this requestors member data to a stream.
RWriteStream & aStream | the stream to which the requestors data is written. |
IMPORT_C void | GetRequestor | ( | TRequestorType & | aType, |
TRequestorFormat & | aFormat, | |||
TPtrC & | aData | |||
) | const |
Simple accessor for this requestors member data.
TRequestorType & aType | will be set to the type of requestor. |
TRequestorFormat & aFormat | will be set to the type of data held in aData. |
TPtrC & aData | will be set to point to this requestors data. |
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) | [virtual] |
Restores this requestors member data from a stream.
RReadStream & aStream | the stream from which the requestors data is read. |
IMPORT_C TDesC & | RequestorData | ( | ) | const |
Simple accessor for this requestors member data.
IMPORT_C TRequestorFormat | RequestorFormat | ( | ) | const |
Simple accessor for this requestors member data.
IMPORT_C TRequestorType | RequestorType | ( | ) | const |
Simple accessor for this requestors member data.
IMPORT_C void | SetRequestorL | ( | TRequestorType | aType, |
TRequestorFormat | aFormat, | |||
const TDesC & | aData | |||
) |
Replaces the requestor data for this object with the specified data.
TRequestorType aType | identifies the type of requestor, a service or a contact. |
TRequestorFormat aFormat | determines the type of data held in aData |
const TDesC & aData | is requestor data. Can be a telephone number, a URL etc. |
TRequestorFormat
EFormatUnknown |
Requestor format unknown |
EFormatApplication |
EFormatApplication |
EFormatTelephone |
EFormatTelephone |
EFormatUrl |
EFormatUrl |
EFormatMail |
EFormatMail |
TRequestorType
ERequestorUnknown |
Unknown Requestor |
ERequestorService |
Requestor of type Service |
ERequestorContact |
Requestor of type Contact |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.