yast2-users
CrackAgent.h
Go to the documentation of this file.
1 /* CrackAgent.h
2  *
3  * Crack agent implementation
4  *
5  * Authors: Jiri Suchomel <jsuchome@suse.cz>
6  *
7  * $Id: CrackAgent.h 13274 2004-01-19 09:55:22Z jsrain $
8  */
9 
10 #ifndef _CrackAgent_h
11 #define _CrackAgent_h
12 
13 #include <Y2.h>
14 #include <scr/SCRAgent.h>
15 
16 #include <crack.h>
17 
18 
22 class CrackAgent : public SCRAgent
23 {
24 private:
28  string dictpath;
29 
30 public:
34  CrackAgent();
35 
39  virtual ~CrackAgent();
40 
46  virtual YCPValue Read(const YCPPath &path,
47  const YCPValue& arg = YCPNull(),
48  const YCPValue& opt = YCPNull());
49 
53  virtual YCPBoolean Write(const YCPPath &path,
54  const YCPValue& value,
55  const YCPValue& arg = YCPNull());
56 
60  virtual YCPValue Execute(const YCPPath &path,
61  const YCPValue& value = YCPNull(),
62  const YCPValue& arg = YCPNull());
63 
67  virtual YCPList Dir(const YCPPath& path);
68 
72  virtual YCPValue otherCommand(const YCPTerm& term);
73 };
74 
75 #endif /* _CrackAgent_h */

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