X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/382f12e41917abf78fb7f00d786c7ead112e4df4..b46eeeae7edb49c1e9cb5b1e41831bab25aff6dc:/interface/wx/stdpaths.h diff --git a/interface/wx/stdpaths.h b/interface/wx/stdpaths.h index b72c98bd52..af4dac1d29 100644 --- a/interface/wx/stdpaths.h +++ b/interface/wx/stdpaths.h @@ -53,6 +53,23 @@ public: */ static wxStandardPathsBase& Get(); + /** + Return the directory for the document files used by this application. + + If the application-specific directory doesn't exist, this function + returns GetDocumentsDir(). + + Example return values: + - Unix: @c ~/appname + - Windows: @c "C:\Documents and Settings\username\My Documents\appname" + - Mac: @c ~/Documents/appname + + @since 2.9.0 + + @see GetAppDocumentsDir() + */ + virtual wxString GetAppDocumentsDir() const; + /** Return the directory containing the system config files. Example return values: @@ -78,12 +95,15 @@ public: /** Return the directory containing the current user's documents. + Example return values: - Unix: @c ~ (the home directory) - Windows: @c "C:\Documents and Settings\username\My Documents" - Mac: @c ~/Documents @since 2.7.0 + + @see GetAppDocumentsDir() */ virtual wxString GetDocumentsDir() const;