Unix: @c /etc
Windows: @c C:\Documents and Settings\All Users\Application Data
Mac: @c /Library/Preferences
-
+
@see wxFileConfig
*/
wxString GetConfigDir() const;
Unix: @c @e prefix/share/@e appname
Windows: the directory where the executable file is located
Mac: @c @e appname.app/Contents/SharedSupport bundle subdirectory
-
+
@see GetLocalDataDir()
*/
wxString GetDataDir() const;
Unix: @c ~ (the home directory)
Windows: @c C:\Documents and Settings\@e username\Documents
Mac: @c ~/Documents
-
+
@wxsince{2.7.0}
*/
wxString GetDocumentsDir() const;
wxString GetExecutablePath() const;
/**
- @b Note: This function is only available under Unix.
+ @note This function is only available under Unix.
Return the program installation prefix, e.g. @c /usr, @c /opt or
@c /home/zeitlin.
If the prefix had been previously by
@c @e lang.lproj under Mac OS X) but is something quite
different for message catalog category under Unix where it returns the standard
@c @e prefix/share/locale/@e lang/LC_MESSAGES directory.
-
+
@wxsince{2.7.0}
*/
wxString GetLocalizedResourcesDir(const wxString& lang,
Unix: @c @e prefix/lib/@e appname
Windows: the directory of the executable file
Mac: @c @e appname.app/Contents/PlugIns bundle subdirectory
-
+
@see wxDynamicLibrary
*/
wxString GetPluginsDir() const;
Unix: @c @e prefix/share/@e appname
Windows: the directory where the executable file is located
Mac: @c @e appname.app/Contents/Resources bundle subdirectory
-
+
@wxsince{2.7.0}
-
+
@see GetLocalizedResourcesDir()
*/
wxString GetResourcesDir() const;
files,
it is best to use wxFileName::CreateTempFileName for correct behaviour when
multiple processes are attempting to create temporary files.
-
+
@wxsince{2.7.2}
*/
wxString GetTempDir() const;
wxString GetUserLocalDataDir() const;
/**
- @b Note: This function is only available under Unix.
+ @note This function is only available under Unix.
Lets wxStandardPaths know about the real program installation prefix on a Unix
system. By default, the value returned by
GetInstallPrefix() is used.