SystemAgent.h

Go to the documentation of this file.
00001 /*
00002  * SystemAgent.h
00003  *
00004  * An agent for handling commands on the system
00005  *
00006  * Authors: Klaus Kaempf <kkaempf@suse.de>
00007  *          Michal Svec <msvec@suse.cz>
00008  *          Petr Blahos <pblahos@suse.cz>
00009  *
00010  * $Id: SystemAgent.h 13279 2004-01-19 11:20:58Z visnov $
00011  */
00012 
00013 #ifndef SystemAgent_h
00014 #define SystemAgent_h
00015 
00016 
00017 #include <ycp/YCPValue.h>
00018 #include <scr/SCRAgent.h>
00019 
00020 
00024 class SystemAgent : public SCRAgent
00025 {
00026 
00027 public:
00028 
00029     SystemAgent ();
00030     ~SystemAgent ();
00031 
00035     virtual YCPValue Read (const YCPPath& path, const YCPValue& arg = YCPNull(), const YCPValue& opt = YCPNull ());
00036 
00040     virtual YCPBoolean Write (const YCPPath& path, const YCPValue& value,
00041                     const YCPValue& arg = YCPNull());
00042 
00046     virtual YCPValue Execute (const YCPPath& path, const YCPValue& value = YCPNull(),
00047                       const YCPValue& arg = YCPNull());
00048 
00052     virtual YCPList Dir (const YCPPath& path) { return YCPList (); }
00053 
00054 private:
00055 
00056     string tempdir;
00057 
00058 };
00059 
00060 
00061 #endif // SystemAgent_h

Generated on Fri Jun 16 18:07:45 2006 for yast2-core by  doxygen 1.4.6