00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef CHFNPROC_H
00012 #define CHFNPROC_H
00013
00014 #include <tqcstring.h>
00015 #include <kdesu/process.h>
00016
00017 class ChfnProcess : public PtyProcess
00018 {
00019 public:
00020
00021 enum Errors { ChfnNotFound=1, PasswordError=2, MiscError=3 };
00022
00023 int exec(const char *pass, const char *name);
00024
00025 TQCString error() { return m_Error; }
00026
00027 private:
00028 int ConverseChfn(const char *pass);
00029
00030 TQCString m_Error;
00031 };
00032
00033 #endif