#include <Y2ScriptComponent.h>
Inheritance diagram for Y2ScriptComponent:
Public Member Functions | |
Y2ScriptComponent () | |
void | setupComponent (string client_name, string fullname, const YCPValue &script) |
~Y2ScriptComponent () | |
virtual string | name () const |
virtual YCPValue | evaluate (const YCPValue &command) |
virtual YCPValue | doActualWork (const YCPList &arglist, Y2Component *user_interface) |
virtual Y2Namespace * | import (const char *name_space) |
Static Public Member Functions | |
Y2ScriptComponent * | instance () |
Private Member Functions | |
Y2Component * | wfm_instance () |
Private Attributes | |
YCPValue | script |
string | client_name |
string | fullname |
Y2Component * | m_wfm |
Static Private Attributes | |
Y2ScriptComponent * | m_instance = NULL |
|
|
|
Cleans up |
|
Implements the communication with the server component. It delegates it to the workflowmanager component. Reimplemented from Y2Component. |
|
Only used for callbacks. Reimplemented from Y2Component. |
|
Try to import a given namespace. This method is used for transparent handling of namespaces (YCP modules) through whole YaST. NOTICE: there is no reverse operation to import. Semantics of YCP modules is there is a single instance and it is available from the first import until the end of YaST run.
Reimplemented from Y2Component. |
|
|
|
Returns the name of the component the script implements. Implements Y2Component. |
|
Setups this script component.
|
|
|
|
The name of the client that is implemented by the script. |
|
The fullname of the script file. |
|
|
|
|
|
The script that implements the component. |