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

PPDAgent.h

Go to the documentation of this file.
00001 /*
00002  * YaST2: Core system
00003  *
00004  * Description:
00005  *   YaST2 SCR: PPD agent implementation
00006  *
00007  * Authors:
00008  *   Jiri Srain <jsrain@suse.cz>
00009  *
00010  * $Id: PPDAgent.h,v 1.2 2004/01/16 17:55:03 jsrain Exp $
00011  */
00012 
00013 #ifndef _PPDAgent_h
00014 #define _PPDAgent_h
00015 
00016 //#define y2log_component "ag_ppd"
00017 #include <Y2.h>
00018 #include <scr/SCRAgent.h>
00019 
00020 #include "PPDdb.h"
00021 #include "PPDfile.h"
00022 
00026 class PPDAgent : public SCRAgent {
00027 
00028 private:
00032     PPD database;
00033     PPDfile fileops;
00034 public:
00038     PPDAgent();
00042     virtual ~PPDAgent();
00043 
00049     virtual YCPValue Read(const YCPPath &path, const YCPValue& arg = YCPNull(), const YCPValue& opt = YCPNull());
00050 
00054     virtual YCPBoolean Write(const YCPPath &path, const YCPValue& value, const YCPValue& arg = YCPNull());
00055 
00059     virtual YCPList Dir(const YCPPath& path);
00060 
00064     virtual YCPValue otherCommand(const YCPTerm& term);
00065 };
00066 
00067 #endif /* _PPDAgent_h */

Generated on Thu Nov 17 21:26:41 2005 for yast2-printer by doxygen 1.3.6