yast2-hardware-detection
HardwareDetectionAgent.h
Go to the documentation of this file.
1 /* HardwareDetectionAgent.h
2  *
3  * HardwareDetection agent implementation
4  *
5  * Authors: Martin Vidner <mvidner@suse.cz>
6  *
7  * $Id$
8  */
9 
10 #ifndef _HardwareDetectionAgent_h
11 #define _HardwareDetectionAgent_h
12 
13 #include <Y2.h>
14 #include <scr/SCRAgent.h>
15 
19 class HardwareDetectionAgent : public SCRAgent
20 {
21 private:
26 public:
31 
35  virtual ~HardwareDetectionAgent();
36 
42  virtual YCPValue Read(const YCPPath &path,
43  const YCPValue& arg = YCPNull(),
44  const YCPValue& opt = YCPNull());
45 
49  virtual YCPBoolean Write(const YCPPath &path,
50  const YCPValue& value,
51  const YCPValue& arg = YCPNull());
52 
56  virtual YCPValue Execute(const YCPPath &path,
57  const YCPValue& value = YCPNull(),
58  const YCPValue& arg = YCPNull());
59 
63  virtual YCPList Dir(const YCPPath& path);
64 
68  virtual YCPValue otherCommand(const YCPTerm& term);
69 };
70 
71 #endif /* _HardwareDetectionAgent_h */
virtual YCPValue Read(const YCPPath &path, const YCPValue &arg=YCPNull(), const YCPValue &opt=YCPNull())
Definition: HardwareDetectionAgent.cc:38
virtual YCPList Dir(const YCPPath &path)
Definition: HardwareDetectionAgent.cc:29
HardwareDetectionAgent()
Definition: HardwareDetectionAgent.cc:15
virtual YCPValue otherCommand(const YCPTerm &term)
Definition: HardwareDetectionAgent.cc:67
virtual ~HardwareDetectionAgent()
Definition: HardwareDetectionAgent.cc:22
virtual YCPValue Execute(const YCPPath &path, const YCPValue &value=YCPNull(), const YCPValue &arg=YCPNull())
Definition: HardwareDetectionAgent.cc:57
virtual YCPBoolean Write(const YCPPath &path, const YCPValue &value, const YCPValue &arg=YCPNull())
Definition: HardwareDetectionAgent.cc:47
An interface class between YaST2 and HardwareDetection Agent.
Definition: HardwareDetectionAgent.h:19

Generated on a sunny day for yast2-hardware-detection by doxygen 1.8.11