diff options
author | Seth ProductEngine <slitovchuk@productengine.com> | 2011-10-21 17:26:47 +0200 |
---|---|---|
committer | Seth ProductEngine <slitovchuk@productengine.com> | 2011-10-21 17:26:47 +0200 |
commit | 0297f55c6d4be505fe6831a593ed2630d565e14a (patch) | |
tree | 8caa874f98483f8110d5157be9d47b580e561a3d /indra/llui/lltoolbar.h | |
parent | 45b10b07473f011bbb9db687fca6daf1190e3d5d (diff) |
EXP-1416 FIXED "Speak" and "Voice controls" buttons added as control views in LLTransientFloaterMgr to prevent hiding the transient IM floater.
Diffstat (limited to 'indra/llui/lltoolbar.h')
-rw-r--r-- | indra/llui/lltoolbar.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/lltoolbar.h b/indra/llui/lltoolbar.h index e634e57f93..68fc44ee8e 100644 --- a/indra/llui/lltoolbar.h +++ b/indra/llui/lltoolbar.h @@ -195,6 +195,9 @@ public: LLToolBarButton* createButton(const LLCommandId& id); + typedef boost::signals2::signal<void (LLView* button)> button_add_signal_t; + boost::signals2::connection setButtonAddCallback(const button_add_signal_t::slot_type& cb); + bool hasButtons() const { return !mButtons.empty(); } bool isModified() const { return mModified; } @@ -255,6 +258,8 @@ private: LLToolBarButton::Params mButtonParams[LLToolBarEnums::BTNTYPE_COUNT]; LLHandle<class LLContextMenu> mPopupMenuHandle; + + button_add_signal_t* mButtonAddSignal; }; |