diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2011-04-13 16:31:16 -0700 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2011-04-13 16:31:16 -0700 |
commit | 1a6908a2d97380d8a625bb8d8797599c6f3dce7a (patch) | |
tree | 25c8101f0399ba6bd52c25534381054235e0fa16 /indra/newview/llfloaterregiondebugconsole.cpp | |
parent | 241350f8455a262eca8f1195b6abfc167674dca6 (diff) |
SH-1299 and SH-1300 Adding mesh enabled checkbox to region floater
Diffstat (limited to 'indra/newview/llfloaterregiondebugconsole.cpp')
-rw-r--r-- | indra/newview/llfloaterregiondebugconsole.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llfloaterregiondebugconsole.cpp b/indra/newview/llfloaterregiondebugconsole.cpp index ada0dcf569..c7fab2573f 100644 --- a/indra/newview/llfloaterregiondebugconsole.cpp +++ b/indra/newview/llfloaterregiondebugconsole.cpp @@ -58,8 +58,6 @@ namespace { // Signal used to notify the floater of responses from the asynchronous // API. - typedef boost::signals2::signal< - void (const std::string& output)> console_reply_signal_t; console_reply_signal_t sConsoleReplySignal; const std::string PROMPT("\n\n> "); @@ -132,6 +130,11 @@ namespace }; } +boost::signals2::connection LLFloaterRegionDebugConsole::setConsoleReplyCallback(const console_reply_signal_t::slot_type& cb) +{ + return sConsoleReplySignal.connect(cb); +} + LLFloaterRegionDebugConsole::LLFloaterRegionDebugConsole(LLSD const & key) : LLFloater(key), mOutput(NULL) { |