diff options
author | brad kittenbrink <brad@lindenlab.com> | 2009-06-29 15:52:24 -0400 |
---|---|---|
committer | brad kittenbrink <brad@lindenlab.com> | 2009-06-29 15:52:24 -0400 |
commit | 50c40dd72e7a36af91cb84395a4a88b984b219aa (patch) | |
tree | a29dccea6bfaac6d76e1cef4ae0579295ca6c3b2 /indra/newview/llpreview.h | |
parent | 6da0725c3b75c24855537df877672595de8e56e6 (diff) | |
parent | 87918b4bfe27ddcba2e4a44323ebc85e509a92fc (diff) |
Merged my latest eventhost changes with tip/latest viewer-2.0.0-3.
Diffstat (limited to 'indra/newview/llpreview.h')
-rw-r--r-- | indra/newview/llpreview.h | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/indra/newview/llpreview.h b/indra/newview/llpreview.h index f6042f065b..c5f2bfcf47 100644 --- a/indra/newview/llpreview.h +++ b/indra/newview/llpreview.h @@ -35,13 +35,12 @@ #include "llmultifloater.h" #include "llresizehandle.h" -#include "llmap.h" +#include "llpointer.h" #include "lluuid.h" -#include "llviewerinventory.h" -#include "lltabcontainer.h" -#include "llinventorymodel.h" +#include "llinventorymodel.h" // LLInventoryObserver #include <map> +class LLInventoryItem; class LLLineEditor; class LLRadioGroup; class LLPreview; @@ -88,11 +87,7 @@ public: virtual BOOL handleHover(S32 x, S32 y, MASK mask); virtual void onOpen(const LLSD& key); - void setAuxItem( const LLInventoryItem* item ) - { - if ( mAuxItem ) - mAuxItem->copyItem(item); - } + void setAuxItem( const LLInventoryItem* item ); static void onBtnCopyToInv(void* userdata); @@ -107,11 +102,12 @@ public: virtual EAssetStatus getAssetStatus() { return mAssetStatus;} static LLPreview* getFirstPreviewForSource(const LLUUID& source_id); - void setNotecardInfo(const LLUUID& notecard_inv_id, const LLUUID& object_id) - { mNotecardInventoryID = notecard_inv_id; mObjectID = object_id; } + + // Why is this at the LLPreview level? JC + void setNotecardInfo(const LLUUID& notecard_inv_id, const LLUUID& object_id); // llview - virtual void draw(); + /*virtual*/ void draw(); void refreshFromItem(); protected: @@ -129,7 +125,7 @@ protected: protected: LLUUID mItemUUID; - // mObjectID will have a value if it is associated with a task in + // mObjectUUID will have a value if it is associated with a task in // the world, and will be == LLUUID::null if it's in the agent // inventory. LLUUID mObjectUUID; @@ -152,7 +148,9 @@ protected: EAssetStatus mAssetStatus; LLUUID mNotecardInventoryID; - LLUUID mObjectID; + // I am unsure if this is always the same as mObjectUUID, or why it exists + // at the LLPreview level. JC 2009-06-24 + LLUUID mNotecardObjectID; }; |