tbx
0.7.6
|
Base class to help create a document and a window to show it in. More...
#include <docmanager.h>
Public Member Functions | |
DocCreatorBase (int file_type) | |
Construct a document and window creator for a file type. More... | |
int | file_type () const |
Return the file type handled by this document creator. | |
virtual Document * | create_document ()=0 |
Override this method to create the document object. More... | |
virtual void | create_window (Document *doc)=0 |
Create the window used to display the given document. More... | |
Base class to help create a document and a window to show it in.
|
inline |
Construct a document and window creator for a file type.
file_type | file type for this type of document |
|
pure virtual |
Override this method to create the document object.
Implemented in tbx::doc::DocCreator< T, W >.
|
pure virtual |
Create the window used to display the given document.
doc | document to create the main window for |
Implemented in tbx::doc::DocCreator< T, W >.