kjsembed
KJSEmbed::IoFactory Class Reference
#include <iosupport.h>
Static Public Member Functions | |
static const Method * | methods () |
Static Public Attributes | |
static const Method | IoMethods [] |
Detailed Description
Definition at line 31 of file iosupport.h.
Member Function Documentation
◆ methods()
|
inlinestatic |
Definition at line 35 of file iosupport.h.
Member Data Documentation
◆ IoMethods
|
static |
Initial value:
=
{
{"debug", 1, KJS::DontDelete|KJS::ReadOnly, &callDebug },
{"print", 1, KJS::DontDelete|KJS::ReadOnly, &callPrint },
{"println", 1, KJS::DontDelete|KJS::ReadOnly, &callPrintLn },
{"readln", 0, KJS::DontDelete|KJS::ReadOnly, &callReadLine },
{"system", 1, KJS::DontDelete|KJS::ReadOnly, &callSystem },
{0, 0, 0, 0 }
}
KJS::JSValue * callReadLine(KJS::ExecState *exec, KJS::JSObject *, const KJS::List &args)
Definition: iosupport.cpp:53
KJS::JSValue * callPrintLn(KJS::ExecState *exec, KJS::JSObject *, const KJS::List &args)
Definition: iosupport.cpp:40
KJS::JSValue * callSystem(KJS::ExecState *exec, KJS::JSObject *, const KJS::List &args)
Definition: iosupport.cpp:61
KJS::JSValue * callDebug(KJS::ExecState *exec, KJS::JSObject *, const KJS::List &args)
Definition: iosupport.cpp:46
KJS::JSValue * callPrint(KJS::ExecState *exec, KJS::JSObject *, const KJS::List &args)
Definition: iosupport.cpp:34
Definition at line 34 of file iosupport.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.