projects
/
urpo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Password authentication (stage 1 - without xosso-terminal)
[urpo]
/
src
/
urpoprocess.h
diff --git
a/src/urpoprocess.h
b/src/urpoprocess.h
index
6a3d07a
..
1a0cf02
100644
(file)
--- a/
src/urpoprocess.h
+++ b/
src/urpoprocess.h
@@
-25,6
+25,7
@@
#include <QObject>
#include <QStringList>
#include <QObject>
#include <QStringList>
+#include <QString>
#include <QProcess>
class UrpoConnection;
#include <QProcess>
class UrpoConnection;
@@
-86,7
+87,8
@@
public:
Ready /*! Ready for connecting */ = 0,
Running /*! Command running */ = 1,
Successed /*! Command successed */ = 2,
Ready /*! Ready for connecting */ = 0,
Running /*! Command running */ = 1,
Successed /*! Command successed */ = 2,
- Failed /*! Command failed */ = 3
+ Failed /*! Command failed */ = 3,
+ PasswdRunning /*! Running after password sent */ = 11
};
enum UrpoError {
};
enum UrpoError {
@@
-202,6
+204,7
@@
private:
UrpoStatus status_;
UrpoError error_;
int timeout_; /*! Timeout in msecs */
UrpoStatus status_;
UrpoError error_;
int timeout_; /*! Timeout in msecs */
+ QString storedPassword_; /* Password to store */
};
#endif // URPOPROCESS_H
};
#endif // URPOPROCESS_H