yast2-core
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
scr
src
SCRSubAgent.h
Go to the documentation of this file.
1
// -*- c++ -*-
2
3
/*
4
* Author: Arvin Schnell <arvin@suse.de>
5
* Maintainer: Arvin Schnell <arvin@suse.de>
6
*/
7
8
9
#ifndef SCRSubAgent_h
10
#define SCRSubAgent_h
11
12
#include <
y2/Y2Component.h
>
13
#include <
scr/SCRAgent.h
>
14
15
16
class
SCRSubAgent
17
{
18
19
public
:
20
24
SCRSubAgent
(
YCPPath
,
YCPValue
);
25
29
~SCRSubAgent
();
30
35
YCPValue
mount
(
SCRAgent
*parent);
36
41
void
unmount
();
42
46
YCPPath
get_path
()
const
{
return
my_path
; }
47
52
Y2Component
*
get_comp
()
const
{
return
my_comp
; }
53
57
friend
int
operator <
(
const
SCRSubAgent
*,
const
YCPPath
&);
58
59
private
:
60
64
YCPPath
my_path
;
65
70
YCPValue
my_value
;
71
75
Y2Component
*
my_comp
;
76
77
SCRSubAgent
(
const
SCRSubAgent
&);
// disallow
78
void
operator =
(
const
SCRSubAgent
&);
// disallow
79
80
};
81
82
83
#endif // SCRSubAgent_h
Generated on a sunny day for yast2-core by
1.8.2