/**
@class wxStandardPaths
- @wxheader{stdpaths.h}
wxStandardPaths returns the standard locations in the file system and should be
used by applications to find their data files in a portable way.
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}
@see wxFileConfig
*/
- wxString GetConfigDir() const;
+ virtual wxString GetConfigDir() const;
/**
Return the location of the applications global, i.e. not user-specific,
@see GetLocalDataDir()
*/
- wxString GetDataDir() const;
+ virtual wxString GetDataDir() const;
/**
Return the directory containing the current user's documents.
@since 2.7.0
*/
- wxString GetDocumentsDir() const;
+ virtual wxString GetDocumentsDir() const;
/**
Return the directory and the filename for the current executable.
- 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.
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
@see wxDynamicLibrary
*/
- wxString GetPluginsDir() const;
+ virtual wxString GetPluginsDir() const;
/**
Return the directory where the application resource files are located. The
@see GetLocalizedResourcesDir()
*/
- wxString GetResourcesDir() const;
+ virtual wxString GetResourcesDir() const;
/**
Return the directory for storing temporary files. To create unique temporary
@since 2.7.2
*/
- wxString GetTempDir() const;
+ virtual wxString GetTempDir() const;
/**
Return the directory for the user config files:
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.