diff options
author | Rider Linden <rider@lindenlab.com> | 2018-07-09 17:06:24 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2018-07-09 17:06:24 -0700 |
commit | 26b6cc516076c55befff3fbd9c21f47565bbc390 (patch) | |
tree | c4bddc640a6ce1d07b2ae67ee19fb3e864bdd39c /indra/newview/llinventorypanel.h | |
parent | 21d165011b81909c8cab944755b53f908e51ad16 (diff) |
MAINT-8821: Clean up some of the selection and enable/disable code, Add menu for adding settings.
Diffstat (limited to 'indra/newview/llinventorypanel.h')
-rw-r--r-- | indra/newview/llinventorypanel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llinventorypanel.h b/indra/newview/llinventorypanel.h index 79d39c8b82..e2da06b8d8 100644 --- a/indra/newview/llinventorypanel.h +++ b/indra/newview/llinventorypanel.h @@ -144,6 +144,8 @@ public: virtual ~LLInventoryPanel(); public: + typedef std::set<LLFolderViewItem*> selected_items_t; + LLInventoryModel* getModel() { return mInventory; } LLFolderViewModelInventory& getRootViewModel() { return mInventoryViewModel; } @@ -168,6 +170,8 @@ public: void setSelection(const LLUUID& obj_id, BOOL take_keyboard_focus); void setSelectCallback(const boost::function<void (const std::deque<LLFolderViewItem*>& items, BOOL user_action)>& cb); void clearSelection(); + selected_items_t getSelectedItems() const; + bool isSelectionRemovable(); LLInventoryFilter& getFilter(); const LLInventoryFilter& getFilter() const; |