![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXDocument.h>
Inheritance diagram for FXDocument:
Public Types | |
enum | { ID_TITLE = 10000, ID_FILENAME, ID_LAST } |
Public Methods | |
FXDocument () | |
Constructor. | |
FXbool | isModified () const |
Return true if document is modified. | |
void | setModified (FXbool mdfy=TRUE) |
Set its modified state. | |
void | setTitle (const FXString &name) |
Set document title. | |
void | setFilename (const FXString &path) |
Set document filename. | |
virtual void | save (FXStream &store) const |
Save document to a stream. | |
virtual void | load (FXStream &store) |
Load document from a stream. | |
virtual | ~FXDocument () |
Destructor. | |
Public Attributes | |
FXString | getTitle () const |
Get document title. | |
FXString | getFilename () const |
Get document filename. |
|
|