yast2-transfer
|
00001 /**************************************************************************** 00002 00003 Copyright (c) 2000 - 2012 Novell, Inc. 00004 All Rights Reserved. 00005 00006 This program is free software; you can redistribute it and/or 00007 modify it under the terms of version 2 of the GNU General Public License as 00008 published by the Free Software Foundation. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program; if not, contact Novell, Inc. 00017 00018 To contact Novell about this file by physical or electronic mail, 00019 you may find current contact information at www.novell.com 00020 00021 ****************************************************************************/ 00022 /* 00023 * YaST2: Core system 00024 * 00025 * Description: 00026 * YaST2 SCR: Tftp agent implementation 00027 * 00028 * Authors: 00029 * Anas Nashif <nashif@suse.de> 00030 * 00031 * $Id$ 00032 */ 00033 00034 #ifndef _TftpAgent_h 00035 #define _TftpAgent_h 00036 00037 #include <Y2.h> 00038 #include <scr/SCRAgent.h> 00039 00040 00044 class TftpAgent : public SCRAgent 00045 { 00046 private: 00051 public: 00055 TftpAgent(); 00059 virtual ~TftpAgent(); 00060 00066 virtual YCPValue Read(const YCPPath &path, const YCPValue& arg = YCPNull(), const YCPValue& opt = YCPNull ()); 00067 00072 virtual YCPValue Execute(const YCPPath& path, const YCPValue& value , const YCPValue& arg ); 00076 virtual YCPBoolean Write(const YCPPath &path, const YCPValue& value, const YCPValue& arg ); 00077 00081 virtual YCPList Dir(const YCPPath& path); 00082 00086 virtual YCPValue otherCommand(const YCPTerm& term); 00087 }; 00088 00089 #endif /* _TftpAgent_h */