yast2-slp
|
00001 /* SlpAgent.h 00002 * 00003 * Slp agent implementation 00004 * 00005 * Authors: Anas Nashif <nashif@suse.de> 00006 * 00007 * $Id: SlpAgent.h 13976 2004-02-09 10:06:47Z nashif $ 00008 */ 00009 00010 #ifndef _SlpAgent_h 00011 #define _SlpAgent_h 00012 00013 #include <Y2.h> 00014 #include <scr/SCRAgent.h> 00015 00019 class SlpAgent : public SCRAgent 00020 { 00021 private: 00026 public: 00030 SlpAgent(); 00031 00035 virtual ~SlpAgent(); 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, 00058 const YCPValue& arg ); 00059 00063 virtual YCPList Dir(const YCPPath& path); 00064 00068 virtual YCPValue otherCommand(const YCPTerm& term); 00069 }; 00070 00071 #endif /* _SlpAgent_h */