summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.h
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-05-25 17:48:21 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-05-25 17:48:21 -0700
commit403ed9656bf4c0c92004cce44d08972b9bd6ee43 (patch)
tree893fd0d63a913c576442fa4462afa37a62c24c32 /indra/newview/llagent.h
parent3c2a4da3a6a2630de7ad6a526b3190ecfccceff0 (diff)
EXP-1942,EXP-1945: More robust handling and syncing of the maturity preference.
Diffstat (limited to 'indra/newview/llagent.h')
-rw-r--r--indra/newview/llagent.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/indra/newview/llagent.h b/indra/newview/llagent.h
index 18b1a59d42..d3b71d46e7 100644
--- a/indra/newview/llagent.h
+++ b/indra/newview/llagent.h
@@ -696,22 +696,21 @@ public:
private:
bool mIsDoSendMaturityPreferenceToServer;
maturity_preferences_callback_t mMaturityPreferenceConfirmCallback;
- unsigned int mMaturityPerferenceRequestId;
- unsigned int mMaturityPerferenceResponseId;
+ unsigned int mMaturityPreferenceRequestId;
+ unsigned int mMaturityPreferenceResponseId;
+ unsigned int mMaturityPreferenceNumRetries;
U8 mLastKnownRequestMaturity;
U8 mLastKnownResponseMaturity;
- boost::signals2::connection mPreferredMaturityValidateSlot;
- boost::signals2::connection mPreferredMaturityCommitSlot;
- void sendMaturityPreferenceToServer(U8 pPreferredMaturity, U8 pPreviousMaturity); // ! "U8" instead of "int"?
+ void sendMaturityPreferenceToServer(U8 pPreferredMaturity);
friend class LLMaturityPreferencesResponder;
- void handlePreferredMaturityResult(unsigned int pRequestId, U8 pServerMaturity);
- void handlePreferredMaturityError(unsigned int pRequestId, U8 pPreferredMaturity, U8 pPreviousMaturity);
- void handlePreferredMaturityUnexpectedResult(unsigned int pRequestId, U8 pPreferredMaturity, U8 pPreviousMaturity, U8 pServerMaturity);
+ void handlePreferredMaturityResult(U8 pServerMaturity);
+ void handlePreferredMaturityError();
+ void reportPreferredMaturityError();
// Maturity callbacks for PreferredMaturity control variable
- void handleMaturity(const LLSD &pNewValue, const LLSD &pPreviousValue);
+ void handleMaturity(const LLSD &pNewValue);
bool validateMaturity(const LLSD& newvalue);