diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llinventoryview.h | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/linden/indra/newview/llinventoryview.h b/linden/indra/newview/llinventoryview.h index 38c44da..78fa362 100644 --- a/linden/indra/newview/llinventoryview.h +++ b/linden/indra/newview/llinventoryview.h | |||
@@ -126,11 +126,6 @@ public: | |||
126 | 126 | ||
127 | void unSelectAll() { mFolders->setSelection(NULL, FALSE, FALSE); } | 127 | void unSelectAll() { mFolders->setSelection(NULL, FALSE, FALSE); } |
128 | 128 | ||
129 | BOOL getNeedsAutoSelect() { return mNeedsAutoSelect; } | ||
130 | void setNeedsAutoSelect(BOOL val) { mNeedsAutoSelect = val; } | ||
131 | |||
132 | void setAutoSelectOverride(bool override) { mFolders->setAutoSelectOverride(override); } | ||
133 | |||
134 | protected: | 129 | protected: |
135 | // Given the id and the parent, build all of the folder views. | 130 | // Given the id and the parent, build all of the folder views. |
136 | void rebuildViewsFor(const LLUUID& id, U32 mask); | 131 | void rebuildViewsFor(const LLUUID& id, U32 mask); |
@@ -155,7 +150,6 @@ protected: | |||
155 | BOOL mAllowMultiSelect; | 150 | BOOL mAllowMultiSelect; |
156 | const LLString mSortOrderSetting; | 151 | const LLString mSortOrderSetting; |
157 | LLFolderSearchFunction mSearchFunction; | 152 | LLFolderSearchFunction mSearchFunction; |
158 | BOOL mNeedsAutoSelect; | ||
159 | }; | 153 | }; |
160 | 154 | ||
161 | class LLInventoryView; | 155 | class LLInventoryView; |
@@ -292,6 +286,29 @@ public: | |||
292 | virtual void doItem(LLFolderViewItem* item); | 286 | virtual void doItem(LLFolderViewItem* item); |
293 | }; | 287 | }; |
294 | 288 | ||
289 | class LLSaveFolderState : public LLFolderViewFunctor | ||
290 | { | ||
291 | public: | ||
292 | LLSaveFolderState() : mApply(FALSE) {} | ||
293 | virtual ~LLSaveFolderState() {} | ||
294 | virtual void doFolder(LLFolderViewFolder* folder); | ||
295 | virtual void doItem(LLFolderViewItem* item) {} | ||
296 | void setApply(BOOL apply); | ||
297 | void clearOpenFolders() { mOpenFolders.clear(); } | ||
298 | protected: | ||
299 | std::set<LLUUID> mOpenFolders; | ||
300 | BOOL mApply; | ||
301 | }; | ||
302 | |||
303 | class LLOpenFoldersWithSelection : public LLFolderViewFunctor | ||
304 | { | ||
305 | public: | ||
306 | LLOpenFoldersWithSelection() {} | ||
307 | virtual ~LLOpenFoldersWithSelection() {} | ||
308 | virtual void doFolder(LLFolderViewFolder* folder); | ||
309 | virtual void doItem(LLFolderViewItem* item); | ||
310 | }; | ||
311 | |||
295 | ///---------------------------------------------------------------------------- | 312 | ///---------------------------------------------------------------------------- |
296 | /// Function declarations, constants, enums, and typedefs | 313 | /// Function declarations, constants, enums, and typedefs |
297 | ///---------------------------------------------------------------------------- | 314 | ///---------------------------------------------------------------------------- |