yast2-core
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
agent-ini
src
IniAgent.h
Go to the documentation of this file.
1
/*
2
* YaST2: Core system
3
*
4
* Description:
5
* YaST2 SCR: Ini agent implementation
6
*
7
* Authors:
8
* Petr Blahos <pblahos@suse.cz>
9
*
10
* $Id$
11
*/
12
13
#ifndef _IniAgent_h
14
#define _IniAgent_h
15
16
#include <
Y2.h
>
17
#include <
scr/SCRAgent.h
>
18
19
#include "
IniParser.h
"
20
24
class
IniAgent
:
public
SCRAgent
25
{
26
private
:
30
YCPTerm
generateSysConfigTemplate
(
string
fn);
31
32
IniParser
parser
;
33
public
:
37
IniAgent
();
41
virtual
~IniAgent
();
42
48
virtual
YCPValue
Read
(
const
YCPPath
&path,
const
YCPValue
& arg =
YCPNull
(),
const
YCPValue
& optarg =
YCPNull
() );
49
53
virtual
YCPBoolean
Write
(
const
YCPPath
&path,
const
YCPValue
& value,
const
YCPValue
& arg =
YCPNull
());
54
58
virtual
YCPList
Dir
(
const
YCPPath
& path);
59
63
virtual
YCPValue
otherCommand
(
const
YCPTerm
& term);
64
};
65
66
#endif
/* _IniAgent_h */
Generated on a sunny day for yast2-core by
1.8.2