yast2-users
CrackAgent.h
Go to the documentation of this file.
00001 /* CrackAgent.h
00002  *
00003  * Crack agent implementation
00004  *
00005  * Authors: Jiri Suchomel <jsuchome@suse.cz>
00006  *
00007  * $Id$
00008  */
00009 
00010 #ifndef _CrackAgent_h
00011 #define _CrackAgent_h
00012 
00013 #include <Y2.h>
00014 #include <scr/SCRAgent.h>
00015 
00016 #include <crack.h>
00017 
00018 
00022 class CrackAgent : public SCRAgent
00023 {
00024 private:
00028     string dictpath;
00029         
00030 public:
00034     CrackAgent();
00035 
00039     virtual ~CrackAgent();
00040 
00046     virtual YCPValue Read(const YCPPath &path,
00047                           const YCPValue& arg = YCPNull(),
00048                           const YCPValue& opt = YCPNull());
00049 
00053     virtual YCPBoolean Write(const YCPPath &path,
00054                            const YCPValue& value,
00055                            const YCPValue& arg = YCPNull());
00056 
00060     virtual YCPValue Execute(const YCPPath &path,
00061                              const YCPValue& value = YCPNull(),
00062                              const YCPValue& arg = YCPNull());
00063 
00067     virtual YCPList Dir(const YCPPath& path);
00068 
00072     virtual YCPValue otherCommand(const YCPTerm& term);
00073 };
00074 
00075 #endif /* _CrackAgent_h */

Generated on a sunny day for yast2-users by doxygen 1.7.6.1