KiCad PCB EDA Suite
|
This file is part of the common library. More...
Go to the source code of this file.
Functions | |
int | KeyWordOk (const wxString &aKeyList, const wxString &aDatabase) |
Function KeyWordOk searches aKeyList for any words found in aDatabase. More... | |
bool | GetAssociatedDocument (wxWindow *aParent, const wxString &aDocName, const wxPathList *aPaths=NULL) |
Function GetAssociatedDocument open a document (file) with the suitable browser. More... | |
bool GetAssociatedDocument | ( | wxWindow * | aParent, |
const wxString & | aDocName, | ||
const wxPathList * | aPaths = NULL |
||
) |
Function GetAssociatedDocument open a document (file) with the suitable browser.
aParent | = main frame |
aDocName | = filename of file to open (Full filename or short filename) if aDocName begins with http: or ftp: or www. the default internet browser is launched |
aPaths | = a wxPathList to explore. if NULL or aDocName is a full filename, aPath is not used. |
Definition at line 87 of file eda_doc.cpp.
References DIM, DisplayError(), EDA_FILE_SELECTOR(), EDAfallbacks, GetChars(), mimeDatabase, OpenPDF(), ProcessExecute(), UNIX_STRING_DIR_SEP, and WIN_STRING_DIR_SEP.
Referenced by EDA_BASE_FRAME::GetKicadHelp(), LIB_EDIT_FRAME::OnViewEntryDoc(), LIB_VIEW_FRAME::onViewSymbolDocument(), SCH_EDIT_FRAME::Process_Special_Functions(), PCB_EDIT_FRAME::Process_Special_Functions(), DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB::showButtonHandler(), and DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::showButtonHandler().
int KeyWordOk | ( | const wxString & | aKeyList, |
const wxString & | aDatabase | ||
) |
Function KeyWordOk searches aKeyList for any words found in aDatabase.
Definition at line 214 of file eda_doc.cpp.
Referenced by PCB_BASE_FRAME::SelectFootprint().