diff options
author | Merov Linden <merov@lindenlab.com> | 2011-10-21 18:37:26 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2011-10-21 18:37:26 -0700 |
commit | 05e2814261f1581169772f3917f1e82ad7521af9 (patch) | |
tree | 3496e856792d8d52e8c3b973082f18a266b5fdf1 /indra/llui/lltoolbar.h | |
parent | 5676e4a62efd2636840395a0667e3df3a48f1989 (diff) | |
parent | 51bdbc9481f6194b2851ee51c98d671e8b952aca (diff) |
Pull from richard/viewer-experience-fui
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; }; |