Login object now has methods to retrieve user name and password
This commit is contained in:
parent
fb742ba06d
commit
d4e543e74a
|
|
@ -58,6 +58,24 @@ public:
|
|||
*/
|
||||
virtual ~Login() {}
|
||||
|
||||
/**
|
||||
* Retrieve the user name
|
||||
* @return string
|
||||
*/
|
||||
const std::string &user() const
|
||||
{
|
||||
return _user;
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve the password
|
||||
* @return string
|
||||
*/
|
||||
const std::string &password() const
|
||||
{
|
||||
return _password;
|
||||
}
|
||||
|
||||
/**
|
||||
* String representation in SASL PLAIN mode
|
||||
* @return string
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
CPP = g++
|
||||
CPP = g++-4.8
|
||||
RM = rm -f
|
||||
CPPFLAGS = -Wall -c -I. -O2 -flto -std=c++11 -g
|
||||
LD = g++
|
||||
|
|
|
|||
Loading…
Reference in New Issue