Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

LiloAgent.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 
00022 #ifndef __LILOAGENT
00023 #define __LILOAGENT
00024 
00025 #include <Y2.h>
00026 #include <scr/SCRAgent.h>
00027 //#include <scr/SCRInterpreter.h>
00028 
00029 #include "LiloFile.h"
00030 
00031 class LiloFile;
00032 
00033 /* An interface class between YaST2 and RcFile */
00034 class LiloAgent : public SCRAgent {
00035 //    LiloFile *rc_file;
00036     liloFile* lilo;
00037 public:
00038     LiloAgent();
00039     virtual ~LiloAgent();
00040     
00041     virtual YCPValue Read(const YCPPath &path, const YCPValue& arg = YCPNull(), const YCPValue& opt = YCPNull());
00042     virtual YCPBoolean Write(const YCPPath &path, const YCPValue& value, const YCPValue& arg = YCPNull());
00043     virtual YCPList Dir(const YCPPath& path);
00044     virtual YCPValue Execute (const YCPPath& path, const YCPValue& value = YCPNull(), const YCPValue& arg = YCPNull());
00045     
00046     virtual YCPValue otherCommand(const YCPTerm& term);
00047 private:
00048     string type;
00049 };
00050 
00051 #endif /* _RcAgent_h */

Generated on Wed Nov 12 03:41:06 2008 for yast2-bootloader by  doxygen 1.3.9.1