summaryrefslogtreecommitdiff
path: root/indra/newview/llwlhandlers.h
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-05-23 19:26:17 +0300
committerVadim ProductEngine <vsavchuk@productengine.com>2011-05-23 19:26:17 +0300
commitb60c63bf075a92084ba94459a840decba846a916 (patch)
treeba4da57fcc3678449c20033fc22e620827dc9b5f /indra/newview/llwlhandlers.h
parent99fe1004a6cb4406bcac790420a5be6269e02723 (diff)
STORM-1256 WIP Implemented editing region environment settings via the Region/Estate floater.
Diffstat (limited to 'indra/newview/llwlhandlers.h')
-rw-r--r--indra/newview/llwlhandlers.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/indra/newview/llwlhandlers.h b/indra/newview/llwlhandlers.h
index 05b2244e8a..b5eb62b0b0 100644
--- a/indra/newview/llwlhandlers.h
+++ b/indra/newview/llwlhandlers.h
@@ -66,6 +66,18 @@ private:
int mID;
};
+class LLEnvironmentApply
+{
+ LOG_CLASS(LLEnvironmentApply);
+public:
+ /// @return true if request was successfully sent
+ static bool initiateRequest(const LLSD& content);
+
+private:
+ static clock_t sLastUpdate;
+ static clock_t UPDATE_WAIT_SECONDS;
+};
+
class LLEnvironmentApplyResponder: public LLHTTPClient::Responder
{
LOG_CLASS(LLEnvironmentApplyResponder);
@@ -89,14 +101,8 @@ public:
virtual void error(U32 status, const std::string& reason); // non-200 errors only
private:
- friend class LLEnvManager;
+ friend class LLEnvironmentApply;
- static clock_t sLastUpdate;
- static clock_t UPDATE_WAIT_SECONDS;
-
- // for format of packet expected, see llwlscrubbers.cpp in llmessage
- static bool initiateRequest(const LLSD& packet);
-
LLEnvironmentApplyResponder() {}
};