From b24cbb3633594ed7a7ebde1701175cbe33608dea Mon Sep 17 00:00:00 2001 From: Dmitry Zaporozhan Date: Wed, 9 Dec 2009 17:48:18 +0200 Subject: Implemented normal task EXT-3194 - Object chiclets should be accessible in the IM well. --HG-- branch : product-engine --- indra/newview/llscriptfloater.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'indra/newview/llscriptfloater.h') diff --git a/indra/newview/llscriptfloater.h b/indra/newview/llscriptfloater.h index 8de7a28d0f..95ec5a4d9c 100644 --- a/indra/newview/llscriptfloater.h +++ b/indra/newview/llscriptfloater.h @@ -88,6 +88,11 @@ public: */ static void onToastButtonClick(const LLSD¬ification, const LLSD&response); + typedef boost::signals2::signal object_signal_t; + + boost::signals2::connection addNewObjectCallback(const object_signal_t::slot_type& cb) { return mNewObjectSignal.connect(cb); } + boost::signals2::connection addToggleObjectFloaterCallback(const object_signal_t::slot_type& cb) { return mToggleFloaterSignal.connect(cb); } + private: struct LLNotificationData @@ -100,6 +105,9 @@ private: typedef std::map script_notification_map_t; script_notification_map_t mNotifications; + + object_signal_t mNewObjectSignal; + object_signal_t mToggleFloaterSignal; }; /** -- cgit v1.2.3