MApaEmbeddedDocObserver Class Reference

class MApaEmbeddedDocObserver

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

CApaDocument::EditL()

Public Member Functions
void NotifyExit ( TExitMode )
Protected Member Functions
MApaEmbeddedDocObserver ()
Private Member Functions
IMPORT_C void MApaEmbeddedDocObserver_Reserved1 ()
IMPORT_C void MApaEmbeddedDocObserver_Reserved2 ()
Public Member Enumerations
enum TExitMode { EKeepChanges , ERevertToSaved , ENoChanges , EEmpty }
Private Attributes
TInt iMApaEmbeddedDocObserver_Reserved1

Constructor & Destructor Documentation

MApaEmbeddedDocObserver()

IMPORT_C MApaEmbeddedDocObserver ( ) [protected]

Member Functions Documentation

MApaEmbeddedDocObserver_Reserved1()

IMPORT_C void MApaEmbeddedDocObserver_Reserved1 ( ) [private, virtual]

Reserved for future use

MApaEmbeddedDocObserver_Reserved2()

IMPORT_C void MApaEmbeddedDocObserver_Reserved2 ( ) [private, virtual]

Reserved for future use

NotifyExit(TExitMode)

void NotifyExit ( TExitMode aMode ) [pure virtual]

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

Parameters

TExitMode aMode Indicates 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]