Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: FTPUser.h
- Revision:
- 0:61dbbee3f903
- Child:
- 1:f5789613b955
diff -r 000000000000 -r 61dbbee3f903 FTPUser.h
--- /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