CPosPrivacyNotifierExtension Class Reference

class CPosPrivacyNotifierExtension : public CBase

The privacy notifier extension helper class.

Inherits from

  • CPosPrivacyNotifierExtension

Constructor & Destructor Documentation

CPosPrivacyNotifierExtension()

CPosPrivacyNotifierExtension ( ) [private]

C++ default constructor.

CPosPrivacyNotifierExtension(const CPosPrivacyNotifierExtension &)

CPosPrivacyNotifierExtension ( const CPosPrivacyNotifierExtension & ) [private]

~CPosPrivacyNotifierExtension()

~CPosPrivacyNotifierExtension ( )

Destructor.

Member Functions Documentation

Cancel()

void Cancel ( )

From MEikSrvNotifierBase2 Cancels all outstanding requests.

CompleteAllRequests(TInt)

void CompleteAllRequests ( TInt aCompletionCode )

This method completes all outstanding requests.

This function should be used if a serious error is encountered. All requests can then be completed with the same error code.

Parameters

TInt aCompletionCode The request completion code.

CompleteRequest(TPosQNRequestId, TInt)

void CompleteRequest ( TPosQNRequestId aRequestId,
TInt aCompletionCode
)

This method completes a privacy query or notification request.

Parameters

TPosQNRequestId aRequestId The id of the privacy query or notification request to complete.
TInt aCompletionCode The request completion code.

ConstructL(CPosPrivacyNotifier *)

void ConstructL ( CPosPrivacyNotifier * aPrivNotifier ) [private]

By default Symbian 2nd phase constructor is private.

Parameters

CPosPrivacyNotifier * aPrivNotifier

Find(TPosQNRequestId)

TInt Find ( TPosQNRequestId aRequestId ) const

Finds the request id in the array which matches the specified request id.

Parameters

TPosQNRequestId aRequestId The id of a query or notification request.

Info()

TNotifierInfo Info ( ) const

NewL(CPosPrivacyNotifier *)

CPosPrivacyNotifierExtension * NewL ( CPosPrivacyNotifier * aPrivNotifier ) [static]

Two-phased constructor.

Parameters

CPosPrivacyNotifier * aPrivNotifier

PrepareL(TPosQNRequestId)

void PrepareL ( TPosQNRequestId aRequestId )

Empties the array containing all outstanding requests. Prepares the current request by getting RequestorStack.

Parameters

TPosQNRequestId aRequestId

RegisterL()

TNotifierInfo RegisterL ( )

From MEikSrvNotifierBase2 Called when the DLL is loaded.

Release()

void Release ( )

From MEikSrvNotifierBase2 Called to destroy notifier.

RemoveRequestFromArray(TPosQNRequestId)

TInt RemoveRequestFromArray ( TPosQNRequestId aRequestId )

Removes a request from the array containing all outstanding requests.

Parameters

TPosQNRequestId aRequestId The id of a query or notification request.

ResetData()

void ResetData ( )

Resets data

StartL(const TDesC8 &)

TPtrC8 StartL ( const TDesC8 & aBuffer )

From MEikSrvNotifierBase2

Not supported, leaves if called.

Parameters

const TDesC8 & aBuffer Input descriptor. Not used.

StartL(const TDesC8 &, TInt, const RMessagePtr2 &)

void StartL ( const TDesC8 & aBuffer,
TInt aReplySlot,
const RMessagePtr2 & aMessage
)

Parameters

const TDesC8 & aBuffer Input descriptor, contains the format. Not used.
TInt aReplySlot Reply slot. Not used.
const RMessagePtr2 & aMessage Used to write data back to client

UpdateL(const TDesC8 &)

TPtrC8 UpdateL ( const TDesC8 & aBuffer )

From MEikSrvNotifierBase2 Starts the notifier dialog.

Parameters

const TDesC8 & aBuffer Input descriptor, contains the format. A TPosQNInputData is expected as input.

operator=(const CPosPrivacyNotifierExtension &)

CPosPrivacyNotifierExtension & operator= ( const CPosPrivacyNotifierExtension & ) [private]

Member Data Documentation

TPosQNRequestId iCurrentRequestId

TPosQNRequestId iCurrentRequestId

RMessagePtr2 iMessage

RMessagePtr2 iMessage

TNotifierInfo iNotifierInfo

TNotifierInfo iNotifierInfo

CPosPrivacyNotifier * iPrivacyNotifier

CPosPrivacyNotifier * iPrivacyNotifier [private]

RArray< TPosQNInputData > iRequestArray

RArray < TPosQNInputData > iRequestArray

CPosRequestHandler * iRequestHandler

CPosRequestHandler * iRequestHandler [private]

RPosRequestorStack iRequestorStack

RPosRequestorStack iRequestorStack