2010-01-18 23:03:34 -05:00
|
|
|
#ifndef ACCOUNT_H
|
|
|
|
#define ACCOUNT_H
|
|
|
|
|
2010-01-20 00:11:40 -05:00
|
|
|
#include <QString>
|
2010-07-03 12:37:32 -04:00
|
|
|
//#include "fscomm.h" Why does this break AccountManager?
|
2010-01-18 23:03:34 -05:00
|
|
|
|
2010-01-20 00:11:40 -05:00
|
|
|
class Account {
|
2010-01-18 23:03:34 -05:00
|
|
|
public:
|
2010-01-20 00:11:40 -05:00
|
|
|
explicit Account(QString name);
|
2010-01-18 23:03:34 -05:00
|
|
|
void setName(QString name) { _name = name; }
|
|
|
|
QString getName() { return _name; }
|
|
|
|
void setState(int state) { _state = state; }
|
|
|
|
int getState() { return _state; }
|
2010-01-24 15:18:24 -05:00
|
|
|
QString getStateName();
|
2010-01-20 00:11:40 -05:00
|
|
|
QString getUUID() { return _uuid; }
|
2010-01-24 15:18:24 -05:00
|
|
|
void setStausCode(QString code) { _statusCode = code; }
|
|
|
|
void setStatusPhrase(QString phrase) { _statusPhrase = phrase; }
|
2010-01-18 23:03:34 -05:00
|
|
|
|
|
|
|
private:
|
|
|
|
QString _name;
|
|
|
|
int _state;
|
2010-01-20 00:11:40 -05:00
|
|
|
QString _uuid;
|
2010-01-24 15:18:24 -05:00
|
|
|
QString _statusCode;
|
|
|
|
QString _statusPhrase;
|
2010-01-18 23:03:34 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // ACCOUNT_H
|