X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..2a8312bced9d3f3415383a79a15cad2acf447b7e:/interface/wx/stdpaths.h?ds=sidebyside diff --git a/interface/wx/stdpaths.h b/interface/wx/stdpaths.h index e5bfd816b6..590c788532 100644 --- a/interface/wx/stdpaths.h +++ b/interface/wx/stdpaths.h @@ -37,6 +37,10 @@ This class is MT-safe: its methods may be called concurrently from different threads without additional locking. + Note that you don't allocate an instance of class wxStandardPaths, but retrieve the + global standard paths object using @c wxStandardPaths::Get on which you call the + desired methods. + @library{wxbase} @category{file} @@ -59,7 +63,7 @@ public: @see wxFileConfig */ - wxString GetConfigDir() const; + virtual wxString GetConfigDir() const; /** Return the location of the applications global, i.e. not user-specific, @@ -71,7 +75,7 @@ public: @see GetLocalDataDir() */ - wxString GetDataDir() const; + virtual wxString GetDataDir() const; /** Return the directory containing the current user's documents. @@ -82,7 +86,7 @@ public: @since 2.7.0 */ - wxString GetDocumentsDir() const; + virtual wxString GetDocumentsDir() const; /** Return the directory and the filename for the current executable. @@ -91,7 +95,7 @@ public: - Windows: @c C:\\Programs\\AppFolder\\exename.exe - Mac: @c /Programs/exename */ - wxString GetExecutablePath() const; + virtual wxString GetExecutablePath() const; /** @note This function is only available under Unix. @@ -109,7 +113,7 @@ public: This is the same as GetDataDir() except under Unix where it returns @c /etc/appname. */ - wxString GetLocalDataDir() const; + virtual wxString GetLocalDataDir() const; /** Return the localized resources directory containing the resource files of the @@ -133,7 +137,7 @@ public: @see wxDynamicLibrary */ - wxString GetPluginsDir() const; + virtual wxString GetPluginsDir() const; /** Return the directory where the application resource files are located. The @@ -150,7 +154,7 @@ public: @see GetLocalizedResourcesDir() */ - wxString GetResourcesDir() const; + virtual wxString GetResourcesDir() const; /** Return the directory for storing temporary files. To create unique temporary @@ -160,7 +164,7 @@ public: @since 2.7.2 */ - wxString GetTempDir() const; + virtual wxString GetTempDir() const; /** Return the directory for the user config files: @@ -171,23 +175,23 @@ public: directory, otherwise GetUserDataDir() is more appropriate. */ - wxString GetUserConfigDir() const; + virtual wxString GetUserConfigDir() const; /** Return the directory for the user-dependent application data files: - Unix: @c ~/.appname - - Windows: @c C:\\Documents @c and @c Settings\\username\Application @c Data\appname + - Windows: @c C:\\Documents @c and @c Settings\\username\\Application @c Data\\appname - Mac: @c ~/Library/Application @c Support/appname */ - wxString GetUserDataDir() const; + virtual wxString GetUserDataDir() const; /** Return the directory for user data files which shouldn't be shared with the other machines. This is the same as GetUserDataDir() for all platforms except Windows where it returns - @c C:\\Documents @c and @c Settings\\username\\Local @c Settings\\Application @c Data\appname + @c C:\\Documents @c and @c Settings\\username\\Local @c Settings\\Application @c Data\\appname */ - wxString GetUserLocalDataDir() const; + virtual wxString GetUserLocalDataDir() const; /** @note This function is only available under Unix.