Password authentication (stage 1 - without xosso-terminal)
[urpo] / src / urpoprocess.h
index 6a3d07a..1a0cf02 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <QObject>
 #include <QStringList>
+#include <QString>
 #include <QProcess>
 class UrpoConnection;
 
@@ -86,7 +87,8 @@ public:
         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 {
@@ -202,6 +204,7 @@ private:
     UrpoStatus status_;
     UrpoError error_;
     int timeout_;   /*! Timeout in msecs */
+    QString storedPassword_; /* Password to store */
 };
 
 #endif // URPOPROCESS_H