MApaEmbeddedDocObserver Class Reference

class MApaEmbeddedDocObserver

An interface class for handling the completion of the editing of an embedded document.

CApaDocument::EditL()

Public Member Functions
voidNotifyExit(TExitMode)
Protected Member Functions
MApaEmbeddedDocObserver()
Private Member Functions
IMPORT_C voidMApaEmbeddedDocObserver_Reserved1()
IMPORT_C voidMApaEmbeddedDocObserver_Reserved2()
Public Member Enumerations
enumTExitMode { EKeepChanges, ERevertToSaved, ENoChanges, EEmpty }
Private Attributes
TInt iMApaEmbeddedDocObserver_Reserved1

Constructor & Destructor Documentation

MApaEmbeddedDocObserver()

IMPORT_CMApaEmbeddedDocObserver()[protected]

Member Functions Documentation

MApaEmbeddedDocObserver_Reserved1()

IMPORT_C voidMApaEmbeddedDocObserver_Reserved1()[private, virtual]

MApaEmbeddedDocObserver_Reserved2()

IMPORT_C voidMApaEmbeddedDocObserver_Reserved2()[private, virtual]

NotifyExit(TExitMode)

voidNotifyExit(TExitModeaMode)[pure virtual]

Implements the required behaviour when the editing of an embedded document completes.

Parameters

TExitMode aModeIndicates the state of the document.

Member Enumerations Documentation

Enum TExitMode

Defines the state of the embedded document on completion of editing.

Enumerators

EKeepChanges

Changes to the embedded document must be saved.

ERevertToSaved

Reverts back to the saved version of the embedded document, i.e. reloads the whole document.

ENoChanges

No changes have been made to the embedded document.

EEmpty

The embedded document is empty.

Member Data Documentation

TInt iMApaEmbeddedDocObserver_Reserved1

TInt iMApaEmbeddedDocObserver_Reserved1[private]