Robert Ellis / FTPServer
Revision:
0:61dbbee3f903
Child:
1:f5789613b955
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/FTPUser.h	Sun Jun 19 13:59:16 2011 +0000
@@ -0,0 +1,27 @@
+
+#ifndef FTP_USER_H
+#define FTP_USER_H
+
+#include <string>
+
+using namespace std;
+
+class FTPUser
+{
+public:
+
+    FTPUser();
+    FTPUser(char* username, char* password);
+    
+    void setUsername(const string& username) { m_username = username; }
+    void setPassword(const string& password) { m_password = password; }
+    
+    string& getUsername() { return m_username; }
+    string& getPassword() { return m_password; }
+    
+private:
+    string m_username;
+    string m_password;
+};
+
+#endif