#include #include #include #include #include wxString PATHS::GetUserScriptingPath() { wxFileName tmp; tmp.AssignDir( KIPLATFORM::ENV::GetDocumentsDir() ); tmp.AppendDir( "kicad" ); tmp.AppendDir( SETTINGS_MANAGER::GetSettingsVersion() ); tmp.AppendDir( "scripting" ); return tmp.GetFullPath(); } wxString PATHS::GetUserTemplatesPath() { wxFileName tmp; tmp.AssignDir( KIPLATFORM::ENV::GetDocumentsDir() ); tmp.AppendDir( "kicad" ); tmp.AppendDir( SETTINGS_MANAGER::GetSettingsVersion() ); tmp.AppendDir( "templates" ); return tmp.GetFullPath(); } wxString PATHS::GetDefaultUserProjectsPath() { wxFileName tmp; tmp.AssignDir( KIPLATFORM::ENV::GetDocumentsDir() ); tmp.AppendDir( "kicad" ); tmp.AppendDir( SETTINGS_MANAGER::GetSettingsVersion() ); tmp.AppendDir( "projects" ); return tmp.GetFullPath(); }