#include <script.h>
Public Member Functions | |
| wxScriptFile () | |
| virtual | ~wxScriptFile () |
| virtual bool | Load (const wxString &file)=0 |
| wxScriptFileType | GetScriptFileType () const |
Static Public Member Functions | |
| static wxString | GetAllowedExtString () |
| Returns a string in the form EXT1;EXT2;EXT3;EXT4 . | |
| static wxArrayString | GetAllowedExt () |
Static Public Attributes | |
| static wxString | m_strFileExt [wxSCRIPT_SUPPORTED_FORMATS] |
| The array of the extensions recognized by wxScriptFile. | |
Protected Attributes | |
| wxString | m_strFileName |
| The name of the file containing the scripted functions. | |
| wxScriptFileType | m_tScriptFile |
| The default script file type. | |
|
|
|
|
|
|
|
|
|
|
|
Returns a string in the form EXT1;EXT2;EXT3;EXT4 . .... where EXT1, EXT2 ... are the extensions supported by the auto-recognition algorithm of the wxScriptFile class (which uses wxScriptFile::m_strFileExt to store the extensions associated with each allowed script format). |
|
|
|
|
|
|
|
|
The array of the extensions recognized by wxScriptFile. You can access this array using the wxScriptFileType enum: wxString old = wxScriptFile::m_strFileExt[wxLUA_SCRIPTFILE]; wxScriptFile::m_strFileExt[wxLUA_SCRIPTFILE] = "myext"; |
|
|
The name of the file containing the scripted functions.
|
|
|
The default script file type.
|
1.4.3