Accept and respect Opensim's login response with "classified_fee" (otherwise assume 0 for opensim)

This commit is contained in:
Inusaito Sayori
2015-06-10 13:47:06 -04:00
parent aad24fa5c5
commit b35d1b7005
4 changed files with 13 additions and 11 deletions

View File

@@ -62,6 +62,7 @@ public:
const std::string& getRealCurrencySymbol() const { return mRealCurrencySymbol; }
std::string getUploadFee() const;
std::string getGroupCreationFee() const;
const int& getClassifiedFee() const { return mClassifiedFee; }
std::string getDirectoryFee() const;
void setPlatform (const std::string& platform);
@@ -87,7 +88,8 @@ public:
void setCurrencySymbol(const std::string& sym);
void setCurrencyText(const std::string& text);
void setRealCurrencySymbol(const std::string& sym);
void setDirectoryFee(int fee);
void setClassifiedFee(int fee) { mClassifiedFee = fee; }
void setDirectoryFee(int fee) { mDirectoryFee = fee; }
bool supportsInvLinks();
void setSupportsInvLinks(bool b);
bool getAutoUpdate();
@@ -126,6 +128,7 @@ private:
std::string mCurrencySymbol;
std::string mCurrencyText;
std::string mRealCurrencySymbol;
int mClassifiedFee;
int mDirectoryFee;
std::string mGridMessage;