CMsgEditorServerWatchingOperation Class Reference

class CMsgEditorServerWatchingOperation : public CMsvOperation

CMsgEditorServerWatchingOperation Simple operation class which watches a service (editor application), completing when that thread closes.

The passed CMsvSession is not used (merely required to base-construct a CMsvOperation).

Inherits from

Constructor & Destructor Documentation

CMsgEditorServerWatchingOperation(CMsvSession &, TInt, TRequestStatus &, TUid)

IMPORT_CCMsgEditorServerWatchingOperation(CMsvSession &aMsvSession,
TIntaPriority,
TRequestStatus &aObserverRequestStatus,
TUidaMtm
)

C++ constructor

Parameters

CMsvSession & aMsvSession
TInt aPriority
TRequestStatus & aObserverRequestStatus
TUid aMtm

~CMsgEditorServerWatchingOperation()

IMPORT_C~CMsgEditorServerWatchingOperation()

Destructor.

Member Functions Documentation

CompleteObserver(TInt)

voidCompleteObserver(TIntaCode)[private]

Completes observer with the completion code

Parameters

TInt aCode

ConstructL(const TEditorParameters, TUid)

voidConstructL(const TEditorParametersaParams,
TUidaMtmType
)[private]

Parameters

const TEditorParameters aParams
TUid aMtmType

DoCancel()

voidDoCancel()[protected, virtual]

From CActive

FinalProgress()

const TDesC8 &FinalProgress()[protected, virtual]

HandleServerAppExit(TInt)

voidHandleServerAppExit(TIntaReason)[private]

Parameters

TInt aReason

NewL(CMsvSession &, TInt, TRequestStatus &, TUid, const TEditorParameters)

IMPORT_C CMsgEditorServerWatchingOperation *NewL(CMsvSession &aMsvSession,
TIntaPriority,
TRequestStatus &aObserverRequestStatus,
TUidaMtm,
const TEditorParametersaParams
)[static]

Parameters

CMsvSession & aMsvSession
TInt aPriority
TRequestStatus & aObserverRequestStatus
TUid aMtm
const TEditorParameters aParams

ProgressL()

const TDesC8 &ProgressL()[protected, virtual]

RunL()

voidRunL()[protected, virtual]

From CActive

Start()

voidStart()[protected]

Member Data Documentation

HBufC8 * iProgress

HBufC8 *iProgress[protected]

CMuiuMsgEditorService * iService

CMuiuMsgEditorService *iService[private]

The ID of the service that is associated with this operation.

Usually, the derived class constructor will contain a suitable argument to allow the caller to set this.

Service()