yast2-core
Y2IniAgentComponent.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 Y2IniAgentComponent_h
14 #define Y2IniAgentComponent_h
15 
16 #include "Y2.h"
17 
18 class SCRInterpreter;
19 class IniAgent;
20 
21 
23 {
24  private:
25  SCRInterpreter *interpreter;
27 
28  public:
29 
34 
39 
43  bool isServer() const;
44 
48  virtual string name() const;
49 
58  virtual YCPValue evaluate(const YCPValue& command);
59 };
60 
61 #endif
virtual YCPValue evaluate(const YCPValue &command)
Definition: Y2IniAgentComponent.cc:47
Definition: Y2IniAgentComponent.h:22
IniAgent * agent
Definition: Y2IniAgentComponent.h:26
virtual string name() const
Definition: Y2IniAgentComponent.cc:41
An interface class between YaST2 and Ini Agent.
Definition: IniAgent.h:24
SCRInterpreter * interpreter
Definition: Y2IniAgentComponent.h:25
Communication handle to a YaST2 component.
Definition: Y2Component.h:262
bool isServer() const
Definition: Y2IniAgentComponent.cc:35
~Y2IniAgentComponent()
Definition: Y2IniAgentComponent.cc:25
Wrapper for YCPValueRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPValueRep with the arrow operator. See YCPValueRep.
Definition: YCPValue.h:275
Y2IniAgentComponent()
Definition: Y2IniAgentComponent.cc:18

Generated on a sunny day for yast2-core by doxygen 1.8.6