23 #include <wx/filename.h> 24 #include <wx/string.h> 160 static wxString GetOSXKicadUserDataDir();
165 static wxString GetOSXKicadMachineDataDir();
170 static wxString GetOSXKicadDataDir();
190 static wxString getWindowsKiCadRoot();
static bool EnsurePathExists(const wxString &aPath)
Attempts to create a given path if it does not exist.
static wxString GetDefaultUser3DModelsPath()
Gets the default path we point users to create projects.
static wxString GetUserScriptingPath()
Gets the user path for python scripts.
static wxString GetStockScriptingPath()
Gets the stock (install) scripting path.
static wxString GetStockPlugins3DPath()
Gets the stock (install) 3d viewer plugins path.
static wxString GetStockSymbolsPath()
Gets the stock (install) symbols path.
static wxString GetUserCachePath()
Gets the stock (install) 3d viewer plugins path.
static void getUserDocumentPath(wxFileName &aPath)
Gets the user path for the current kicad version which acts as the root for other user paths.
static wxString GetDocumentationPath()
Gets the documentation path, which is the base path for help files.
static wxString GetStockDataPath(bool aRespectRunFromBuildDir=true)
Gets the stock (install) data path, which is the base path for things like scripting,...
static wxString GetStockTemplatesPath()
Gets the stock (install) templates path.
static wxString GetUserPlugins3DPath()
Gets the user path for 3d viewer plugin.
static wxString GetUserPluginsPath()
Gets the user path for plugins.
static wxString GetUserTemplatesPath()
Gets the user path for custom templates.
static void EnsureUserPathsExist()
Ensures/creates user default paths.
static wxString GetDefaultUserProjectsPath()
Gets the default path we point users to create projects.
static wxString GetDefaultUserSymbolsPath()
Gets the default path we point users to create projects.
static wxString GetDefaultUserFootprintsPath()
Gets the default path we point users to create projects.
static wxString GetStockFootprintsPath()
Gets the stock (install) footprints path.
Helper class to centralize the paths used throughout kicad.
static wxString GetStockDemosPath()
Gets the stock (install) demos path.
static wxString GetStockEDALibraryPath()
Gets the stock (install) EDA library data path, which is the base path for templates,...
static wxString GetStock3dmodelsPath()
Gets the stock (install) 3dmodels path.
static wxString GetDefault3rdPartyPath()
Gets the default path for PCM packages.
static wxString GetLocaleDataPath()
Gets the locales translation data path.
static wxString GetStockPluginsPath()
Gets the stock (install) plugins path.