-
Notifications
You must be signed in to change notification settings - Fork 4
/
yast.h
39 lines (35 loc) · 1.14 KB
/
yast.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include <Python.h>
#include <y2/Y2Namespace.h>
#include <y2/Y2Component.h>
#include <y2/Y2ComponentCreator.h>
#include <ycp/y2log.h>
#include <ycp/YBlock.h>
#include <ycp/YExpression.h>
#include <ycp/YStatement.h>
#include <ycp/Import.h>
#include <ycp-ui/YUIComponent.h>
#include <wfm/Y2WFMComponent.h>
#include <ycp/Parser.h>
#include <ycp/YCPMap.h>
#include <ycp/YCPList.h>
#include <ycp/YCPPath.h>
#include <ycp/YCPTerm.h>
#include <ycp/YCPString.h>
#include <ycp/YCPVoid.h>
#include <ycp/YCPFloat.h>
#include <ycp/YCPBoolean.h>
#include <ycp/SymbolTable.h>
#include <yui/YUILoader.h>
#include <yui/YSettings.h>
#include "PythonLogger.h"
#include <string>
#include <cstdarg>
#include <sstream>
using namespace std;
YCPValue CallYCPFunction(const char * namespace_name, const char * function_name, YCPList args);
void SetYCPVariable(const string & namespace_name, const string & variable_name, YCPValue value);
YCPValue GetYCPVariable(const string & namespace_name, const string & variable_name);
PyObject* import_module(const string & ns_name);
bool widget_names();
YCPValue _SCR_Run(char *function, YCPList args);
Y2Namespace * getNs(const char * ns_name);