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.
FTPUser.h
- Committer:
- Phlaphead
- Date:
- 2011-06-19
- Revision:
- 0:61dbbee3f903
- Child:
- 1:f5789613b955
File content as of revision 0:61dbbee3f903:
#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