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]

Parameters

const CPosPrivacyNotifierExtension &

~CPosPrivacyNotifierExtension()

~CPosPrivacyNotifierExtension()

Destructor.

Member Functions Documentation

Cancel()

voidCancel()

From MEikSrvNotifierBase2 Cancels all outstanding requests.

CompleteAllRequests(TInt)

voidCompleteAllRequests(TIntaCompletionCode)

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 aCompletionCodeThe request completion code.

CompleteRequest(TPosQNRequestId, TInt)

voidCompleteRequest(TPosQNRequestIdaRequestId,
TIntaCompletionCode
)

This method completes a privacy query or notification request.

Parameters

TPosQNRequestId aRequestIdThe id of the privacy query or notification request to complete.
TInt aCompletionCodeThe request completion code.

ConstructL(CPosPrivacyNotifier *)

voidConstructL(CPosPrivacyNotifier *aPrivNotifier)[private]

By default Symbian 2nd phase constructor is private.

Parameters

CPosPrivacyNotifier * aPrivNotifier

Find(TPosQNRequestId)

TInt Find(TPosQNRequestIdaRequestId)const

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

Parameters

TPosQNRequestId aRequestIdThe id of a query or notification request.

Info()

TNotifierInfoInfo()const

NewL(CPosPrivacyNotifier *)

CPosPrivacyNotifierExtension *NewL(CPosPrivacyNotifier *aPrivNotifier)[static]

Two-phased constructor.

Parameters

CPosPrivacyNotifier * aPrivNotifier

PrepareL(TPosQNRequestId)

voidPrepareL(TPosQNRequestIdaRequestId)

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

Parameters

TPosQNRequestId aRequestId

RegisterL()

TNotifierInfoRegisterL()

From MEikSrvNotifierBase2 Called when the DLL is loaded.

Release()

voidRelease()

From MEikSrvNotifierBase2 Called to destroy notifier.

RemoveRequestFromArray(TPosQNRequestId)

TInt RemoveRequestFromArray(TPosQNRequestIdaRequestId)

Removes a request from the array containing all outstanding requests.

Parameters

TPosQNRequestId aRequestIdThe id of a query or notification request.

ResetData()

voidResetData()

Resets data

StartL(const TDesC8 &)

TPtrC8 StartL(const TDesC8 &aBuffer)

From MEikSrvNotifierBase2

Not supported, leaves if called.

Parameters

const TDesC8 & aBufferInput descriptor. Not used.

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

voidStartL(const TDesC8 &aBuffer,
TIntaReplySlot,
const RMessagePtr2 &aMessage
)

Parameters

const TDesC8 & aBufferInput descriptor, contains the format. Not used.
TInt aReplySlotReply slot. Not used.
const RMessagePtr2 & aMessageUsed to write data back to client

UpdateL(const TDesC8 &)

TPtrC8 UpdateL(const TDesC8 &aBuffer)

From MEikSrvNotifierBase2 Starts the notifier dialog.

Parameters

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

operator=(const CPosPrivacyNotifierExtension &)

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

Parameters

const CPosPrivacyNotifierExtension &

Member Data Documentation

TPosQNRequestId iCurrentRequestId

TPosQNRequestId iCurrentRequestId

RMessagePtr2 iMessage

RMessagePtr2 iMessage

TNotifierInfo iNotifierInfo

TNotifierInfoiNotifierInfo

CPosPrivacyNotifier * iPrivacyNotifier

CPosPrivacyNotifier *iPrivacyNotifier[private]

RArray< TPosQNInputData > iRequestArray

RArray< TPosQNInputData >iRequestArray

CPosRequestHandler * iRequestHandler

CPosRequestHandler *iRequestHandler[private]

RPosRequestorStack iRequestorStack

RPosRequestorStack iRequestorStack