24#include <wx/filename.h>
30#define UNIX_STRING_DIR_SEP wxT( "/" )
31#define WIN_STRING_DIR_SEP wxT( "\\" )
43 static wxString GetUserScriptingPath();
48 static wxString GetUserTemplatesPath();
53 static wxString GetUserPluginsPath();
58 static wxString GetDefaultUserProjectsPath();
63 static wxString GetDefaultUserSymbolsPath();
68 static wxString GetDefaultUserFootprintsPath();
73 static wxString GetDefaultUser3DModelsPath();
78 static wxString GetStockDataPath(
bool aRespectRunFromBuildDir =
true );
84 static wxString GetStockEDALibraryPath();
89 static wxString GetDefault3rdPartyPath();
94 static wxString GetStockSymbolsPath();
99 static wxString GetStockFootprintsPath();
104 static wxString GetStock3dmodelsPath();
109 static wxString GetStockScriptingPath();
114 static wxString GetStockPluginsPath();
119 static wxString GetStockPlugins3DPath();
124 static wxString GetStockDemosPath();
129 static wxString GetStockTemplatesPath();
134 static wxString GetLocaleDataPath();
139 static wxString GetUserCachePath();
144 static wxString GetDocumentationPath();
149 static wxString GetInstanceCheckerPath();
154 static wxString GetLogsPath();
159 static bool EnsurePathExists(
const wxString& aPath );
164 static void EnsureUserPathsExist();
172 static wxString GetOSXKicadUserDataDir();
177 static wxString GetOSXKicadMachineDataDir();
182 static wxString GetOSXKicadDataDir();
189 static wxString GetWindowsFontConfigDir();
195 static wxString GetWindowsBaseSharePath();
207 static wxString GetUserSettingsPath();
223 static wxString CalculateUserSettingsPath(
bool aIncludeVer =
true,
bool aUseEnv =
true );
225 static const wxString& GetExecutablePath();
235 static void getUserDocumentPath( wxFileName& aPath );
243 static wxString getWindowsKiCadRoot();
Helper class to centralize the paths used throughout kicad.