aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llinventorymodel.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:11 -0500
committerJacek Antonelli2008-08-15 23:45:11 -0500
commit215f423cbe18fe9ca14a26caef918d303bad28ff (patch)
tree0743442b286216cc8e19aa487c26f4e9345ffd64 /linden/indra/newview/llinventorymodel.h
parentSecond Life viewer sources 1.18.3.5-RC (diff)
downloadmeta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.zip
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.gz
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.bz2
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.xz
Second Life viewer sources 1.18.4.0-RC
Diffstat (limited to 'linden/indra/newview/llinventorymodel.h')
-rw-r--r--linden/indra/newview/llinventorymodel.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/linden/indra/newview/llinventorymodel.h b/linden/indra/newview/llinventorymodel.h
index 78ab0e3..e321f1f 100644
--- a/linden/indra/newview/llinventorymodel.h
+++ b/linden/indra/newview/llinventorymodel.h
@@ -2,6 +2,8 @@
2 * @file llinventorymodel.h 2 * @file llinventorymodel.h
3 * @brief LLInventoryModel class header file 3 * @brief LLInventoryModel class header file
4 * 4 *
5 * $LicenseInfo:firstyear=2002&license=viewergpl$
6 *
5 * Copyright (c) 2002-2007, Linden Research, Inc. 7 * Copyright (c) 2002-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLINVENTORYMODEL_H 32#ifndef LL_LLINVENTORYMODEL_H
@@ -162,6 +165,11 @@ public:
162 BOOL include_trash, 165 BOOL include_trash,
163 LLInventoryCollectFunctor& add); 166 LLInventoryCollectFunctor& add);
164 167
168 // This method will return false if this inventory model is in an usabel state.
169 // The inventory model usage is sensitive to the initial construction of the
170 // model.
171 bool isInventoryUsable();
172
165 // 173 //
166 // Mutators 174 // Mutators
167 // 175 //
@@ -428,6 +436,9 @@ protected:
428 static F32 sMinTimeBetweenFetches; 436 static F32 sMinTimeBetweenFetches;
429 static F32 sMaxTimeBetweenFetches; 437 static F32 sMaxTimeBetweenFetches;
430 438
439 // This flag is used to handle an invalid inventory state.
440 bool mIsAgentInvUsable;
441
431public: 442public:
432 // *NOTE: DEBUG functionality 443 // *NOTE: DEBUG functionality
433 void dumpInventory(); 444 void dumpInventory();
@@ -797,3 +808,4 @@ protected:
797 808
798 809
799#endif // LL_LLINVENTORYMODEL_H 810#endif // LL_LLINVENTORYMODEL_H
811