yast2-core
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
wfm
src
Y2SystemNamespace.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 Y2SystemNamespace_h
23
#define Y2SystemNamespace_h
24
25
#include <
y2/Y2Namespace.h
>
26
#include <
y2/Y2Function.h
>
27
28
class
Y2ProgramComponent
;
29
class
Y2SystemFunction
;
30
31
class
Y2SystemNamespace
:
public
Y2Namespace
{
32
33
Y2Namespace
*
m_local_ns
;
34
Y2ProgramComponent
*
m_remote_sender
;
35
bool
m_use_remote
;
36
37
vector<Y2SystemFunction*>
m_functions
;
38
39
string
m_name
;
40
41
friend
class
Y2SystemFunction
;
42
43
public
:
44
Y2SystemNamespace
(
Y2Namespace
* local_ns);
45
46
virtual
~Y2SystemNamespace
();
47
49
virtual
const
string
name
()
const
;
50
51
virtual
const
string
filename
()
const
;
52
53
virtual
YCPValue
evaluate
(
bool
);
54
64
virtual
Y2Function
*
createFunctionCall
(
const
string
name
, constFunctionTypePtr
type
);
65
66
void
useRemote
(
Y2ProgramComponent
* sender);
67
68
void
useLocal
();
69
};
70
71
72
#endif // Y2SystemNamespace_h
Generated on a sunny day for yast2-core by
1.8.2