Fix editing accounts and add more descriptive information of why it fails.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16504 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
João Mesquita committed 2010-01-24 20:18:24 +00:00
1 parent 62341a9526
commit e3ea7c61bb
6 files changed
+30 -5

No files matched your search

+5 -1
View File
@@ -35,13 +35,17 @@ public:
QString getName() { return _name; }
void setState(int state) { _state = state; }
int getState() { return _state; }
QString getStateName() { return fscomm_gw_state_names[_state]; }
QString getStateName();
QString getUUID() { return _uuid; }
void setStausCode(QString code) { _statusCode = code; }
void setStatusPhrase(QString phrase) { _statusPhrase = phrase; }
private:
QString _name;
int _state;
QString _uuid;
QString _statusCode;
QString _statusPhrase;
};
#endif // ACCOUNT_H