yast2-transfer
|
00001 /* 00002 * YaST2: Core system 00003 * 00004 * Description: 00005 * YaST2 SCR: Tftp agent implementation 00006 * 00007 * Authors: 00008 * Anas Nashif <nashif@suse.de> 00009 * 00010 * $Id: TftpAgent.h 13223 2004-01-15 16:01:52Z jsrain $ 00011 */ 00012 00013 #ifndef _TftpAgent_h 00014 #define _TftpAgent_h 00015 00016 #include <Y2.h> 00017 #include <scr/SCRAgent.h> 00018 00019 00023 class TftpAgent : public SCRAgent 00024 { 00025 private: 00030 public: 00034 TftpAgent(); 00038 virtual ~TftpAgent(); 00039 00045 virtual YCPValue Read(const YCPPath &path, const YCPValue& arg = YCPNull(), const YCPValue& opt = YCPNull ()); 00046 00051 virtual YCPValue Execute(const YCPPath& path, const YCPValue& value , const YCPValue& arg ); 00055 virtual YCPBoolean Write(const YCPPath &path, const YCPValue& value, const YCPValue& arg ); 00056 00060 virtual YCPList Dir(const YCPPath& path); 00061 00065 virtual YCPValue otherCommand(const YCPTerm& term); 00066 }; 00067 00068 #endif /* _TftpAgent_h */