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 GetUserPlugins3DPath();
63 static wxString GetDefaultUserProjectsPath();
68 static wxString GetDefaultUserSymbolsPath();
73 static wxString GetDefaultUserFootprintsPath();
78 static wxString GetDefaultUser3DModelsPath();
83 static wxString GetStockDataPath(
bool aRespectRunFromBuildDir =
true );
89 static wxString GetStockEDALibraryPath();
94 static wxString GetDefault3rdPartyPath();
99 static wxString GetStockSymbolsPath();
104 static wxString GetStockFootprintsPath();
109 static wxString GetStock3dmodelsPath();
114 static wxString GetStockScriptingPath();
119 static wxString GetStockPluginsPath();
124 static wxString GetStockPlugins3DPath();
129 static wxString GetStockDemosPath();
134 static wxString GetStockTemplatesPath();
139 static wxString GetLocaleDataPath();
144 static wxString GetUserCachePath();
149 static wxString GetDocumentationPath();
154 static bool EnsurePathExists(
const wxString& aPath );
159 static void EnsureUserPathsExist();
167 static wxString GetOSXKicadUserDataDir();
172 static wxString GetOSXKicadMachineDataDir();
177 static wxString GetOSXKicadDataDir();
184 static wxString GetWindowsFontConfigDir();
196 static wxString GetUserSettingsPath();
212 static wxString CalculateUserSettingsPath(
bool aIncludeVer =
true,
bool aUseEnv =
true );
214 static const wxString& GetExecutablePath();
224 static void getUserDocumentPath( wxFileName& aPath );
232 static wxString getWindowsKiCadRoot();
Helper class to centralize the paths used throughout kicad.