Robert Ellis / FTPServer

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