yast2-core
ModulesAgent.h
Go to the documentation of this file.
1 /* ModulesAgent.h -*- c++ -*-
2  *
3  * An agent for reading the modules.conf configuration file.
4  *
5  * Author: Michal Svec <msvec@suse.cz>
6  * Daniel Vesely <dan@suse.cz>
7  *
8  * $Id$
9  *
10  */
11 
12 #ifndef ModulesAgent_h
13 #define ModulesAgent_h
14 
15 #include <Y2.h>
16 #include <scr/SCRAgent.h>
17 
18 class ModulesConf;
19 
23 class ModulesAgent : public SCRAgent {
24 
25 private:
27 
28 public:
32  ModulesAgent();
36  virtual ~ModulesAgent();
37 
43  virtual YCPValue Read(const YCPPath &path, const YCPValue& arg = YCPNull(), const YCPValue& optarg = YCPNull());
44 
48  virtual YCPBoolean Write(const YCPPath &path, const YCPValue& value, const YCPValue& arg = YCPNull());
49 
53  virtual YCPList Dir(const YCPPath& path);
54 
58  virtual YCPValue otherCommand(const YCPTerm& term);
59 };
60 
61 #endif /* ModulesAgent_h */
ModulesConf * modules_conf
Definition: ModulesAgent.h:26
virtual ~ModulesAgent()
Definition: ModulesAgent.cc:52
virtual YCPValue otherCommand(const YCPTerm &term)
Definition: ModulesAgent.cc:345
virtual YCPValue Read(const YCPPath &path, const YCPValue &arg=YCPNull(), const YCPValue &optarg=YCPNull())
Definition: ModulesAgent.cc:143
ModulesAgent()
Definition: ModulesAgent.cc:46
SuSE Configuration Repository Agent.
Definition: SCRAgent.h:37
An interface class between YaST2 and modules.conf.
Definition: ModulesAgent.h:23
Wrapper for YCPListRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPListRep with the arrow operator. See YCPListRep.
Definition: YCPList.h:236
Wrapper for YCPTermRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPTermRep with the arrow operator. See YCPTermRep.
Definition: YCPTerm.h:177
The modules.conf file.
Definition: ModulesConf.h:120
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
Wrapper for YCPPathRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPPathRep with the arrow operator. See YCPPathRep.
Definition: YCPPath.h:175
virtual YCPList Dir(const YCPPath &path)
Definition: ModulesAgent.cc:107
Wrapper for YCPBooleanRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPBooleanRep with the arrow operator. See YCPBooleanRep.
Definition: YCPBoolean.h:93
Definition: YCPElement.h:125
virtual YCPBoolean Write(const YCPPath &path, const YCPValue &value, const YCPValue &arg=YCPNull())
Definition: ModulesAgent.cc:230

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