yast2-core
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
wfm
src
Y2SystemFunction.h
Go to the documentation of this file.
1
/*------------------------------------------------------------*- c++ -*-\
2
| |
3
| __ __ ____ _____ ____ |
4
| \ \ / /_ _/ ___|_ _|___ \ |
5
| \ V / _` \___ \ | | __) | |
6
| | | (_| |___) || | / __/ |
7
| |_|\__,_|____/ |_| |_____| |
8
| |
9
| core system |
10
| (C) SuSE GmbH |
11
\-----------------------------------------------------------------------/
12
13
File: Y2SystemNamespace.h
14
a wrapper interface for accessing a LiMaL namespace
15
(configurable via SCROpen/SCRClose)
16
17
Author: Stanislav Visnovsky <visnov@suse.cz>
18
Maintainer: Stanislav Visnovsky <visnov@suse.cz>
19
20
/-*/
21
22
#ifndef Y2SystemFunction_h
23
#define Y2SystemFunction_h
24
25
#include <
y2/Y2Namespace.h
>
26
#include <
y2/Y2Function.h
>
27
28
class
Y2Component
;
29
30
class
Y2SystemFunction
:
public
Y2Function
{
31
32
Y2Function
*
m_local
;
33
Y2Function
*
m_remote
;
34
35
bool
m_use_remote
;
36
37
constFunctionTypePtr
m_type
;
38
39
public
:
40
Y2SystemFunction
(
Y2Function
* local_call, constFunctionTypePtr
type
);
41
42
virtual
~Y2SystemFunction
();
43
48
virtual
bool
attachParameter
(
const
YCPValue
& arg,
const
int
position);
49
56
virtual
constTypePtr
wantedParameterType
()
const
;
57
62
virtual
bool
appendParameter
(
const
YCPValue
& arg);
63
68
virtual
bool
finishParameters
();
69
73
virtual
YCPValue
evaluateCall
();
74
79
virtual
bool
reset
();
80
81
void
useRemote
(
Y2Function
* remote_call);
82
83
void
useLocal
();
84
85
string
name
()
const
;
86
87
constFunctionTypePtr
type
()
const
;
88
};
89
90
#endif // Y2SystemFunction_h
Generated on a sunny day for yast2-core by
1.8.2