#include <mw/apadoc.h>
| class MApaEmbeddedDocObserver | 
| Public Member Enumerations | |
|---|---|
| enum | TExitMode { EKeepChanges, ERevertToSaved, ENoChanges, EEmpty } | 
| Public Member Functions | |
|---|---|
| pure virtual void | NotifyExit(TExitMode) | 
| Protected Member Functions | |
|---|---|
| MApaEmbeddedDocObserver() | |
An interface class for handling the completion of the editing of an embedded document.
See also: CApaDocument::EditL()
Defines the state of the embedded document on completion of editing.
| Enumerator | Value | Description | 
|---|---|---|
| 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.  | 
| IMPORT_C | MApaEmbeddedDocObserver | ( | ) | [protected] | 
Constructor for MApaEmbeddedDocObserver
| void | NotifyExit | ( | TExitMode | aMode | ) | [pure virtual] | 
Implements the required behaviour when the editing of an embedded document completes.
| Parameters | |
|---|---|
| aMode | Indicates the state of the document. |