|Home||You are here: Home > Support > Reference v1.0|
Change language: German
Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members
Application / Document ModelThe Application / Document Model provide typical features of file base applications. These features are usually placed within the file menu of an application. The model support the following typical standard functions:
The Model also provide a single or a multiple document interface. The SDI allow only one simultaneous open docuemnt - the MDI multiple simultaneous open documents. The interface type have to be set, when creation the application singleton. Each document will be represented by an instance of exom::XmDocument. All documents are managed by the exom::XmApplication singleton accessible with exom::GetApp().
The Application / Document Model is optional. When using it, it have to be activated by exom::XmApplication::InitApp(). An application settings file will be used, when specifying a file name. It will be loaded at startup and saved at shutdown of the application.exom::XmApplicationExt. Each library has one instance of this class, which handle all documents available in the library.
To simplify the usage of document files in the user interface, it is possible to specify a file extension filter, file descriptions and an initial directory. The settings will be used within the applications "Open" and "Save" Dialog of the user interface. By default documents will be saved and opened with the extension *.xml. These settings can be modified with exom::XmApplication::m_FileOptions.
|Copyright © 2006 Praetz Software Development - www.exomware.com|