27 #include <wx/stdpaths.h> 44 for(
unsigned i = 0; i < bases.GetCount(); ++i )
46 wxFileName fn( bases[i], wxEmptyString );
54 fn.AppendDir( wxT(
"library" ) );
57 fn.AppendDir( wxT(
"doc" ) );
67 fn.AppendDir( wxT(
"modules" ) );
72 fn.AppendDir( wxT(
"3dmodels" ) );
78 fn.AppendDir( wxT(
"template" ) );
83 aDst->
AddPaths( wxT(
"/usr/local/share" ) );
bool start_common(int aCtlBits)
Common things to do for a top program module, during OnKifaceStart().
System directories search utilities.
Look for files in a number of paths.
This file contains miscellaneous commonly used macros and functions.
void end_common()
Common things to do for a top program module, during OnKifaceEnd();.
void SystemDirsAppend(SEARCH_STACK *aSearchStack)
Append system places to aSearchStack in a platform specific way and pertinent to KiCad programs.
int m_start_flags
flags provided in OnKifaceStart()
FACE_T
Known KIFACE implementations.
static void setSearchPaths(SEARCH_STACK *aDst, KIWAY::FACE_T aId)
Initialize aDst SEARCH_STACK with KIFACE (DSO) specific settings.
void AddPaths(const wxString &aPaths, int aIndex=-1)
Insert or append path(s).