diff options
author | Kyle Ambroff <ambroff@lindenlab.com> | 2010-10-23 18:43:27 -0700 |
---|---|---|
committer | Kyle Ambroff <ambroff@lindenlab.com> | 2010-10-23 18:43:27 -0700 |
commit | 9b97fc3f309518155f2b468ea94fc6f373620f2c (patch) | |
tree | 23e98f29969d7d69601a5198fca389d811eba3f0 /indra/newview/llfloaterregiondebugconsole.h | |
parent | f940b49d0fdcca8efc7d1bdfc7eed2ce65a14767 (diff) |
ER-219: Add an asynchronous api for the region debug console
Add support for a new capability, SimConsoleAsync. This is a replacement for
the deprecated SimConsole capability that provides an asynchronous API. The old
API is still supported, but the simulator will never support both.
For the new API, commands will be sent via HTTP POST to the SimConsoleAsync
capability, same as before. But the resulting output will be pushed to the
viewer view the event-poll, using the newly added SimConsoleResponse LLSD
message.
Will review with Simon or Falcon.
Diffstat (limited to 'indra/newview/llfloaterregiondebugconsole.h')
-rw-r--r-- | indra/newview/llfloaterregiondebugconsole.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llfloaterregiondebugconsole.h b/indra/newview/llfloaterregiondebugconsole.h index 69d7773fec..4171a4da6b 100644 --- a/indra/newview/llfloaterregiondebugconsole.h +++ b/indra/newview/llfloaterregiondebugconsole.h @@ -34,6 +34,8 @@ #ifndef LL_LLFLOATERREGIONDEBUGCONSOLE_H #define LL_LLFLOATERREGIONDEBUGCONSOLE_H +#include <boost/signals2.hpp> + #include "llfloater.h" #include "llhttpclient.h" @@ -43,6 +45,7 @@ class LLFloaterRegionDebugConsole : public LLFloater, public LLHTTPClient::Respo { public: LLFloaterRegionDebugConsole(LLSD const & key); + virtual ~LLFloaterRegionDebugConsole(); // virtual BOOL postBuild(); @@ -50,6 +53,11 @@ public: void onInput(LLUICtrl* ctrl, const LLSD& param); LLTextEditor * mOutput; + + private: + void onReplyReceived(const std::string& output); + + boost::signals2::connection mReplySignalConnection; }; #endif // LL_LLFLOATERREGIONDEBUGCONSOLE_H |