summaryrefslogtreecommitdiff
path: root/indra/newview/llagentwearablesfetch.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-04-06 18:58:26 -0400
committerLoren Shih <seraph@lindenlab.com>2010-04-06 18:58:26 -0400
commitf096f02278f3b8c8fdd962c85b237492defa93ec (patch)
treea1016d9087ba0bad73895dee4280a195a0c01f0e /indra/newview/llagentwearablesfetch.cpp
parentc3d9316dff568d5265d856a708e3909deae09f18 (diff)
EXT-6728 : Have LLInventoryFetchItems/DescendentsObserver inherit from a base abstract LLInventoryFetchObserver class
Added a new abstract class LLInventoryFetchObserver from which LLInventoryFetchItems and LLInventoryFetchDescendents inherit. Also changed isEverythingComplete to isFinished and made some other minor superficial changes.
Diffstat (limited to 'indra/newview/llagentwearablesfetch.cpp')
-rw-r--r--indra/newview/llagentwearablesfetch.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/indra/newview/llagentwearablesfetch.cpp b/indra/newview/llagentwearablesfetch.cpp
index 04a970b683..aafbb0d22c 100644
--- a/indra/newview/llagentwearablesfetch.cpp
+++ b/indra/newview/llagentwearablesfetch.cpp
@@ -174,7 +174,7 @@ void LLInitialWearablesFetch::processWearablesMessage()
fetcher->startFetch();
// If no items to be fetched, done will never be triggered.
// TODO: Change LLInventoryFetchItemsObserver::fetchItems to trigger done() on this condition.
- if (fetcher->isEverythingComplete())
+ if (fetcher->isFinished())
{
fetcher->done();
}
@@ -287,9 +287,9 @@ void LLLibraryOutfitsFetch::folderDone()
uuid_vec_t folders;
folders.push_back(mClothingID);
folders.push_back(mLibraryClothingID);
- setFolders(folders);
+ setFetchIDs(folders);
startFetch();
- if (isEverythingComplete())
+ if (isFinished())
{
done();
}
@@ -337,9 +337,9 @@ void LLLibraryOutfitsFetch::outfitsDone()
}
mComplete.clear();
- setFolders(folders);
+ setFetchIDs(folders);
startFetch();
- if (isEverythingComplete())
+ if (isFinished())
{
done();
}
@@ -434,9 +434,9 @@ void LLLibraryOutfitsFetch::importedFolderFetch()
folders.push_back(mImportedClothingID);
mComplete.clear();
- setFolders(folders);
+ setFetchIDs(folders);
startFetch();
- if (isEverythingComplete())
+ if (isFinished())
{
done();
}
@@ -464,9 +464,9 @@ void LLLibraryOutfitsFetch::importedFolderDone()
}
mComplete.clear();
- setFolders(folders);
+ setFetchIDs(folders);
startFetch();
- if (isEverythingComplete())
+ if (isFinished())
{
done();
}