mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
* Use version of DateAndTime that returns a wxString and delete the version that takes a char* as it is no longer required. * Merge StrNumICmp() and StrLenNumICmp() into StrLenNumCmp() to create a single function for comparing strings with integers and remove a lot of duplicate code. * Remove unused strupper from string.cpp. * Use wxArrayString for sorting the EDA_LIST_DIALOG contents.
34 lines
1000 B
C
34 lines
1000 B
C
/**
|
|
* This file is part of the common library.
|
|
* @file eda_doc.h
|
|
* @see common.h
|
|
*/
|
|
|
|
#ifndef __INCLUDE__EDA_DOC_H__
|
|
#define __INCLUDE__EDA_DOC_H__ 1
|
|
|
|
|
|
/**
|
|
* Function KeyWordOk
|
|
* searches \a aKeyList for any words found in \a aDatabase.
|
|
*
|
|
* @return 0 if no keyword is found or 1 if keyword is found.
|
|
*/
|
|
int KeyWordOk( const wxString& aKeyList, const wxString& aDatabase );
|
|
|
|
/**
|
|
* Function GetAssociatedDocument
|
|
* open a document (file) with the suitable browser
|
|
* @param aFrame = main frame
|
|
* @param aDocName = filename of file to open (Full filename or short filename)
|
|
* if \a aDocName begins with http: or ftp: or www. the default internet browser is launched
|
|
* @param aPaths = a wxPathList to explore.
|
|
* if NULL or aDocName is a full filename, aPath is not used.
|
|
*/
|
|
bool GetAssociatedDocument( wxFrame* aFrame,
|
|
const wxString& aDocName,
|
|
const wxPathList* aPaths = NULL );
|
|
|
|
|
|
#endif /* __INCLUDE__EDA_DOC_H__ */
|