#include <Script.h>
Static Public Member Functions | |
| static QStringList | languages () |
| Return the names of available implementations. | |
| static ScriptingEnv * | newEnv (const char *name, ApplicationWindow *parent) |
| Return an instance of the implementation specified by name, NULL on failure. | |
| static ScriptingEnv * | newEnv (ApplicationWindow *parent) |
| Return an instance of the first implementation we can find. | |
| static int | numLanguages () |
| Return the number of available implementations. | |
Private Types | |
| typedef ScriptingEnv *(* | ScriptingEnvConstructor )(ApplicationWindow *) |
Static Private Attributes | |
| static ScriptingLang | langs [] |
| global registry of available languages | |
Classes | |
| struct | ScriptingLang |
typedef ScriptingEnv*(* ScriptingLangManager::ScriptingEnvConstructor)(ApplicationWindow *) [private] |
| QStringList ScriptingLangManager::languages | ( | ) | [static] |
Return the names of available implementations.
References ScriptingLangManager::ScriptingLang::constructor, and langs.
Referenced by ConfigDialog::initAppPage(), and ScriptingLangDialog::updateLangList().
| ScriptingEnv * ScriptingLangManager::newEnv | ( | const char * | name, | |
| ApplicationWindow * | parent | |||
| ) | [static] |
Return an instance of the implementation specified by name, NULL on failure.
References ScriptingLangManager::ScriptingLang::constructor, and langs.
| ScriptingEnv * ScriptingLangManager::newEnv | ( | ApplicationWindow * | parent | ) | [static] |
Return an instance of the first implementation we can find.
References ScriptingLangManager::ScriptingLang::constructor, and langs.
Referenced by ApplicationWindow::setScriptingLanguage().
| static int ScriptingLangManager::numLanguages | ( | ) | [static] |
Return the number of available implementations.
ScriptingLangManager::ScriptingLang ScriptingLangManager::langs [static, private] |
Initial value:
{
{ NULL, NULL }
}
Referenced by languages(), and newEnv().
1.5.6