diff options
Diffstat (limited to 'linden/indra/newview/llinventorymodel.h')
-rw-r--r-- | linden/indra/newview/llinventorymodel.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linden/indra/newview/llinventorymodel.h b/linden/indra/newview/llinventorymodel.h index d73fef7..74a2ec7 100644 --- a/linden/indra/newview/llinventorymodel.h +++ b/linden/indra/newview/llinventorymodel.h | |||
@@ -323,6 +323,8 @@ public: | |||
323 | // relations. | 323 | // relations. |
324 | void buildParentChildMap(); | 324 | void buildParentChildMap(); |
325 | 325 | ||
326 | // Empty the entire contents | ||
327 | void empty(); | ||
326 | // | 328 | // |
327 | // Category accounting. | 329 | // Category accounting. |
328 | // | 330 | // |
@@ -374,6 +376,7 @@ public: | |||
374 | static bool isEverythingFetched(); | 376 | static bool isEverythingFetched(); |
375 | static void backgroundFetch(void*); // background fetch idle function | 377 | static void backgroundFetch(void*); // background fetch idle function |
376 | static void incrBulkFetch(S16 fetching) { sBulkFetchCount+=fetching; if (sBulkFetchCount<0) sBulkFetchCount=0; } | 378 | static void incrBulkFetch(S16 fetching) { sBulkFetchCount+=fetching; if (sBulkFetchCount<0) sBulkFetchCount=0; } |
379 | |||
377 | protected: | 380 | protected: |
378 | 381 | ||
379 | // Internal methods which add inventory and make sure that all of | 382 | // Internal methods which add inventory and make sure that all of |
@@ -387,8 +390,7 @@ protected: | |||
387 | // preferred type. Returns LLUUID::null if not found | 390 | // preferred type. Returns LLUUID::null if not found |
388 | LLUUID findCatUUID(LLAssetType::EType preferred_type); | 391 | LLUUID findCatUUID(LLAssetType::EType preferred_type); |
389 | 392 | ||
390 | // Empty the entire contents | 393 | |
391 | void empty(); | ||
392 | 394 | ||
393 | // Given the current state of the inventory items, figure out the | 395 | // Given the current state of the inventory items, figure out the |
394 | // clone information. *FIX: This is sub-optimal, since we can | 396 | // clone information. *FIX: This is sub-optimal, since we can |