Location:
LbsRequestor.h
Link against: lbsselflocate.lib
class CRequestorBase : public CBase;
Each instance of a CRequestor
class is used to hold the identity of one of the parties involved requesting the location. The class contains three data
fields that indicate: (1) If the requesting party is a "service" or an actual person ("contact"). (2) A descriptor that identifiers
the requestor and (3) a field that indicates which format the information is in
for example, a telephone number, URL or email address.
CBase
- Base class for all classes to be instantiated on the heap
CRequestorBase
- Each instance of a
Defined in CRequestorBase
:
CRequestorBase()
, ConstructL()
, EFormatApplication
, EFormatMail
, EFormatTelephone
, EFormatUnknown
, EFormatUrl
, ERequestorContact
, ERequestorService
, ERequestorUnknown
, ExtendedInterface()
, ExternalizeL()
, GetRequestor()
, InternalizeL()
, RequestorData()
, RequestorFormat()
, RequestorType()
, SetRequestorL()
, TRequestorFormat
, TRequestorType
, _TRequestorFormat
, _TRequestorType
, iFormat
, iRequestorType
, ~CRequestorBase()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
protected: IMPORT_C void ConstructL(TRequestorType aType, TRequestorFormat aFormat, const TDesC &aData);
Second phase constructor. Must be called by all derived classes to initialise CRequestorBase.
|
IMPORT_C void SetRequestorL(TRequestorType aType, TRequestorFormat aFormat, const TDesC &aData);
Replaces the requestor data for this object with the specified data.
|
IMPORT_C void GetRequestor(TRequestorType &aType, TRequestorFormat &aFormat, TPtrC &aData) const;
Simple accessor for this requestors member data.
|
IMPORT_C TRequestorType RequestorType() const;
Simple accessor for this requestors member data.
|
IMPORT_C TRequestorFormat RequestorFormat() const;
Simple accessor for this requestors member data.
|
IMPORT_C TDesC &RequestorData() const;
Simple accessor for this requestors member data.
|
virtual IMPORT_C void InternalizeL(RReadStream &aStream);
Restores this requestors member data from a stream.
|
virtual IMPORT_C void ExternalizeL(RWriteStream &aStream) const;
Stores this requestors member data to a stream.
|
protected: virtual IMPORT_C TAny *ExtendedInterface(TInt aFunctionNumber, TAny *aPtr1, TAny *aPtr2);
This method is used to allow polymorphic extensions to the API without breaking BC. See documentation for explanation.
|
|
_TRequestorType
TRequestorType
|
_TRequestorFormat
TRequestorFormat
|
protected: TRequestorFormat iFormat;
Requestor format