yast2-core
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
agent-system
src
SystemAgent.h
Go to the documentation of this file.
1
/*
2
* SystemAgent.h
3
*
4
* An agent for handling commands on the system
5
*
6
* Authors: Klaus Kaempf <kkaempf@suse.de>
7
* Michal Svec <msvec@suse.cz>
8
* Petr Blahos <pblahos@suse.cz>
9
*
10
* $Id$
11
*/
12
13
#ifndef SystemAgent_h
14
#define SystemAgent_h
15
16
17
#include <
ycp/YCPValue.h
>
18
#include <
scr/SCRAgent.h
>
19
20
24
class
SystemAgent
:
public
SCRAgent
25
{
26
27
public
:
28
29
SystemAgent
();
30
~SystemAgent
();
31
35
virtual
YCPValue
Read
(
const
YCPPath
& path,
const
YCPValue
& arg =
YCPNull
(),
const
YCPValue
& opt =
YCPNull
());
36
40
virtual
YCPBoolean
Write
(
const
YCPPath
& path,
const
YCPValue
& value,
41
const
YCPValue
& arg =
YCPNull
());
42
46
virtual
YCPValue
Execute
(
const
YCPPath
& path,
const
YCPValue
& value =
YCPNull
(),
47
const
YCPValue
& arg =
YCPNull
());
48
52
virtual
YCPList
Dir
(
const
YCPPath
& path) {
return
YCPList
(); }
53
54
private
:
55
56
string
tempdir
;
57
58
};
59
60
61
#endif // SystemAgent_h
Generated on a sunny day for yast2-core by
1.8.2