yast2-hardware-detection
|
00001 /* HardwareDetectionAgent.h 00002 * 00003 * HardwareDetection agent implementation 00004 * 00005 * Authors: Martin Vidner <mvidner@suse.cz> 00006 * 00007 * $Id$ 00008 */ 00009 00010 #ifndef _HardwareDetectionAgent_h 00011 #define _HardwareDetectionAgent_h 00012 00013 #include <Y2.h> 00014 #include <scr/SCRAgent.h> 00015 00019 class HardwareDetectionAgent : public SCRAgent 00020 { 00021 private: 00026 public: 00030 HardwareDetectionAgent(); 00031 00035 virtual ~HardwareDetectionAgent(); 00036 00042 virtual YCPValue Read(const YCPPath &path, 00043 const YCPValue& arg = YCPNull(), 00044 const YCPValue& opt = YCPNull()); 00045 00049 virtual YCPBoolean Write(const YCPPath &path, 00050 const YCPValue& value, 00051 const YCPValue& arg = YCPNull()); 00052 00056 virtual YCPValue Execute(const YCPPath &path, 00057 const YCPValue& value = YCPNull(), 00058 const YCPValue& arg = YCPNull()); 00059 00063 virtual YCPList Dir(const YCPPath& path); 00064 00068 virtual YCPValue otherCommand(const YCPTerm& term); 00069 }; 00070 00071 #endif /* _HardwareDetectionAgent_h */