Skip to content
Snippets Groups Projects
Commit b49165a9 authored by Loren Shih's avatar Loren Shih
Browse files

EXT-6703 : LLInventory.h cleanup and create new LLInventoryDefines

Superficial header file cleanup for LLInventoryFunctions.

Change made to simulator files as well.
parent d13dac15
Branches
Tags
No related merge requests found
...@@ -120,7 +120,6 @@ bool LLInventoryCollectFunctor::itemTransferCommonlyAllowed(LLInventoryItem* ite ...@@ -120,7 +120,6 @@ bool LLInventoryCollectFunctor::itemTransferCommonlyAllowed(LLInventoryItem* ite
allowed = true; allowed = true;
} }
break; break;
default: default:
allowed = true; allowed = true;
break; break;
......
...@@ -42,8 +42,8 @@ class LLViewerInventoryCategory; ...@@ -42,8 +42,8 @@ class LLViewerInventoryCategory;
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Class LLInventoryObserver // Class LLInventoryObserver
// //
// This class is designed to be a simple abstract base class which can // A simple abstract base class that can relay messages when the inventory
// relay messages when the inventory changes. // changes.
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class LLInventoryObserver class LLInventoryObserver
...@@ -55,15 +55,15 @@ class LLInventoryObserver ...@@ -55,15 +55,15 @@ class LLInventoryObserver
enum enum
{ {
NONE = 0, NONE = 0,
LABEL = 1, // name changed LABEL = 1, // Name changed
INTERNAL = 2, // internal change (e.g. asset uuid different) INTERNAL = 2, // Internal change (e.g. asset uuid different)
ADD = 4, // something added ADD = 4, // Something added
REMOVE = 8, // something deleted REMOVE = 8, // Something deleted
STRUCTURE = 16, // structural change (eg item or folder moved) STRUCTURE = 16, // Structural change (e.g. item or folder moved)
CALLING_CARD = 32, // (eg online, grant status, cancel) CALLING_CARD = 32, // Calling card change (e.g. online, grant status, cancel)
GESTURE = 64, GESTURE = 64,
REBUILD = 128, // item UI changed (eg item type different) REBUILD = 128, // Item UI changed (e.g. item type different)
SORT = 256, // folder needs to be resorted. SORT = 256, // Folder needs to be resorted.
ALL = 0xffffffff ALL = 0xffffffff
}; };
LLInventoryObserver(); LLInventoryObserver();
...@@ -75,11 +75,10 @@ class LLInventoryObserver ...@@ -75,11 +75,10 @@ class LLInventoryObserver
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Class LLInventoryCompletionObserver // Class LLInventoryCompletionObserver
// //
// Class which can be used as a base class for doing something when // Base class for doing something when when all observed items are locally
// when all observed items are locally complete. This class implements // complete. Implements the changed() method of LLInventoryObserver
// the changed() method of LLInventoryObserver and declares a new // and declares a new method named done() which is called when all watched items
// method named done() which is called when all watched items have // have complete information in the inventory model.
// complete information in the inventory model.
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class LLInventoryCompletionObserver : public LLInventoryObserver class LLInventoryCompletionObserver : public LLInventoryObserver
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment