|
Public Types |
enum | Type {
Default,
Custom,
Local,
Remote,
Slp,
Unknown
} |
Public Member Functions |
| PMYouServer () |
| PMYouServer (const std::string &, Type type=Unknown) |
| PMYouServer (const Url &url, const std::string &name, const std::string &directory, Type type) |
void | setUrl (const Url &url) |
void | setUrl (const std::string &url) |
Url | url () const |
void | setUsernamePassword (const std::string &username, const std::string &password) |
void | setName (const std::string &name) |
std::string | name () const |
void | setDirectory (const std::string &dir) |
std::string | directory () const |
void | setType (Type type) |
Type | type () const |
std::string | typeAsString () const |
bool | operator== (const PMYouServer &server) const |
bool | fromString (const std::string &) |
std::string | toString () const |
Static Public Member Functions |
std::string | typeToString (Type) |
Type | typeFromString (std::string) |
Private Attributes |
Url | _url |
std::string | _name |
std::string | _directory |
Type | _type |