diff options
author | Merov Linden <merov@lindenlab.com> | 2011-09-27 22:45:09 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2011-09-27 22:45:09 -0700 |
commit | 15f3ea39d7deb0c956b56703a94f6d072b7f2d21 (patch) | |
tree | 7d5b9df62c9eb100f102868534e14291048141dd /indra/llui/lltoolbar.h | |
parent | b234c23aa3c70ccac6d4332532a0da6184ec03db (diff) |
EXP-1257 : Save toolbar settings in a per user toolbars.xml file
Diffstat (limited to 'indra/llui/lltoolbar.h')
-rw-r--r-- | indra/llui/lltoolbar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llui/lltoolbar.h b/indra/llui/lltoolbar.h index 02db58128c..8e484c7e13 100644 --- a/indra/llui/lltoolbar.h +++ b/indra/llui/lltoolbar.h @@ -123,6 +123,7 @@ public: bool addCommand(const LLCommandId& commandId); bool hasCommand(const LLCommandId& commandId) const; bool enableCommand(const LLCommandId& commandId, bool enabled); + command_id_list_t& getCommandsList() { return mButtonCommands; } protected: friend class LLUICtrlFactory; @@ -143,7 +144,7 @@ private: const bool mReadOnly; std::list<LLToolBarButton*> mButtons; - std::list<LLCommandId> mButtonCommands; + command_id_list_t mButtonCommands; LLToolBarEnums::ButtonType mButtonType; LLLayoutStack* mCenteringStack; LLLayoutStack* mWrapStack; |