committing the slightly-modified patch by R.U.10 for documenting some public functions of wxDocTemplate (closes #10078)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -91,6 +91,15 @@ public:
|
|||||||
*/
|
*/
|
||||||
virtual wxView* CreateView(wxDocument* doc, long flags = 0);
|
virtual wxView* CreateView(wxDocument* doc, long flags = 0);
|
||||||
|
|
||||||
|
/**
|
||||||
|
This function implements the default (very primitive) format detection
|
||||||
|
which checks if the extension is that of the template.
|
||||||
|
|
||||||
|
@param path
|
||||||
|
The path to be checked against the template.
|
||||||
|
*/
|
||||||
|
virtual bool FileMatchesTemplate(const wxString& path);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the default file extension for the document data, as passed to
|
Returns the default file extension for the document data, as passed to
|
||||||
the document template constructor.
|
the document template constructor.
|
||||||
@@ -109,6 +118,13 @@ public:
|
|||||||
*/
|
*/
|
||||||
wxString GetDirectory() const;
|
wxString GetDirectory() const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
Returns the run-time class information that allows document
|
||||||
|
instances to be constructed dynamically, as passed to the document
|
||||||
|
template constructor.
|
||||||
|
*/
|
||||||
|
wxClassInfo* GetDocClassInfo() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns a pointer to the document manager instance for which this
|
Returns a pointer to the document manager instance for which this
|
||||||
template was created.
|
template was created.
|
||||||
@@ -132,6 +148,13 @@ public:
|
|||||||
*/
|
*/
|
||||||
long GetFlags() const;
|
long GetFlags() const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
Returns the run-time class information that allows view instances
|
||||||
|
to be constructed dynamically, as passed to the document template
|
||||||
|
constructor.
|
||||||
|
*/
|
||||||
|
wxClassInfo* GetViewClassInfo() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the view type name, as passed to the document template
|
Returns the view type name, as passed to the document template
|
||||||
constructor.
|
constructor.
|
||||||
|
Reference in New Issue
Block a user