MythTV
master
|
#include <libmythupnp/serverSideScripting.h>
Public Member Functions | |
ServerSideScripting () | |
~ServerSideScripting () | |
QString | SetResourceRootPath (const QString &path) |
void | RegisterMetaObjectType (const QString &sName, const QMetaObject *pMetaObject, QScriptEngine::FunctionSignature pFunction) |
bool | EvaluatePage (QTextStream *pOutStream, const QString &sFileName, HTTPRequest *pRequest, const QByteArray &cspToken) |
Public Attributes | |
QScriptEngine | m_engine |
QScriptEngineDebugger | m_debugger |
Protected Member Functions | |
void | Lock () |
void | Unlock () |
ScriptInfo * | GetLoadedScript (const QString &sFileName) |
QString | CreateMethodFromFile (const QString &sFileName) const |
bool | ProcessLine (QTextStream &sCode, QString &sLine, bool bInCode, QString &sTransBuffer) const |
Static Protected Member Functions | |
static QString | ReadFileContents (const QString &sFileName) |
Protected Attributes | |
QMutex | m_mutex |
QMap< QString, ScriptInfo * > | m_mapScripts |
QString | m_sResRootPath |
Definition at line 49 of file serverSideScripting.h.
ServerSideScripting::ServerSideScripting | ( | ) |
Definition at line 52 of file serverSideScripting.cpp.
ServerSideScripting::~ServerSideScripting | ( | ) |
Definition at line 87 of file serverSideScripting.cpp.
QString ServerSideScripting::SetResourceRootPath | ( | const QString & | path | ) |
Definition at line 102 of file serverSideScripting.cpp.
void ServerSideScripting::RegisterMetaObjectType | ( | const QString & | sName, |
const QMetaObject * | pMetaObject, | ||
QScriptEngine::FunctionSignature | pFunction | ||
) |
Definition at line 117 of file serverSideScripting.cpp.
bool ServerSideScripting::EvaluatePage | ( | QTextStream * | pOutStream, |
const QString & | sFileName, | ||
HTTPRequest * | pRequest, | ||
const QByteArray & | cspToken | ||
) |
Definition at line 151 of file serverSideScripting.cpp.
|
inlineprotected |
Definition at line 77 of file serverSideScripting.h.
Referenced by EvaluatePage(), GetLoadedScript(), RegisterMetaObjectType(), ServerSideScripting(), SetResourceRootPath(), and ~ServerSideScripting().
|
inlineprotected |
Definition at line 78 of file serverSideScripting.h.
Referenced by EvaluatePage(), GetLoadedScript(), RegisterMetaObjectType(), ServerSideScripting(), SetResourceRootPath(), and ~ServerSideScripting().
|
protected |
Definition at line 133 of file serverSideScripting.cpp.
Referenced by EvaluatePage().
|
staticprotected |
Definition at line 493 of file serverSideScripting.cpp.
Referenced by ProcessLine().
|
protected |
Definition at line 447 of file serverSideScripting.cpp.
Referenced by EvaluatePage().
|
protected |
Definition at line 522 of file serverSideScripting.cpp.
Referenced by CreateMethodFromFile().
QScriptEngine ServerSideScripting::m_engine |
Definition at line 53 of file serverSideScripting.h.
Referenced by EvaluatePage(), RegisterMetaObjectType(), and ServerSideScripting().
QScriptEngineDebugger ServerSideScripting::m_debugger |
Definition at line 56 of file serverSideScripting.h.
Referenced by ServerSideScripting().
|
protected |
Definition at line 73 of file serverSideScripting.h.
|
protected |
Definition at line 74 of file serverSideScripting.h.
Referenced by EvaluatePage(), GetLoadedScript(), and ~ServerSideScripting().
|
protected |
Definition at line 75 of file serverSideScripting.h.
Referenced by ProcessLine(), and SetResourceRootPath().