tbx
0.7.3
|
Templated class to provide information on a documents file type and how to create the document and its window. More...
#include <docmanager.h>
Public Member Functions | |
DocCreator (int file_type) | |
Construct document creator for a file type. More... | |
virtual Document * | create_document () |
Override this method to create the document object. More... | |
virtual void | create_window (Document *doc) |
Create the window used to display the given document. More... | |
![]() | |
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. | |
Templated class to provide information on a documents file type and how to create the document and its window.
|
inline |
Construct document creator for a file type.
file_type | file type of documents created by this object |
|
inlinevirtual |
Override this method to create the document object.
Implements tbx::doc::DocCreatorBase.
|
inlinevirtual |
Create the window used to display the given document.
doc | document to create the main window for |
Implements tbx::doc::DocCreatorBase.