ModulesAgent.h

Go to the documentation of this file.
00001 /* ModulesAgent.h -*- c++ -*-
00002  *
00003  * An agent for reading the modules.conf configuration file.
00004  *
00005  * Author: Michal Svec <msvec@suse.cz>
00006  *         Daniel Vesely <dan@suse.cz>
00007  *
00008  * $Id: ModulesAgent.h 13249 2004-01-17 13:56:49Z msvec $
00009  *
00010  */
00011 
00012 #ifndef ModulesAgent_h
00013 #define ModulesAgent_h
00014 
00015 #include <Y2.h>
00016 #include <scr/SCRAgent.h>
00017 
00018 class ModulesConf;
00019 
00023 class ModulesAgent : public SCRAgent {
00024 
00025 private:
00026     ModulesConf *modules_conf;
00027 
00028 public:
00032     ModulesAgent();
00036     virtual ~ModulesAgent();
00037 
00043     virtual YCPValue Read(const YCPPath &path, const YCPValue& arg = YCPNull(), const YCPValue& optarg = YCPNull());
00044 
00048     virtual YCPBoolean Write(const YCPPath &path, const YCPValue& value, const YCPValue& arg = YCPNull());
00049 
00053     virtual YCPList Dir(const YCPPath& path);
00054 
00058     virtual YCPValue otherCommand(const YCPTerm& term);
00059 };
00060 
00061 #endif /* ModulesAgent_h */

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