diff options
author | Merov Linden <merov@lindenlab.com> | 2011-10-03 16:27:24 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2011-10-03 16:27:24 -0700 |
commit | cd467cc34f876920b35d3570f50dbad54ce4a42c (patch) | |
tree | 2efedef8652da9aa9b0040145c2e923d459689fd /indra/llui/llclipboard.h | |
parent | ccd619013d851b5a63976205ea06002e92d7f468 (diff) |
EXP-1286 : First pass at Drag and Drop of tools. Not functional. Most hooks into the LLToolDragAndDrop system in to support the new AT_WIDGET and SOURCE_VIEWER
Diffstat (limited to 'indra/llui/llclipboard.h')
-rw-r--r-- | indra/llui/llclipboard.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/llui/llclipboard.h b/indra/llui/llclipboard.h index 24cb46c3f4..9371b94284 100644 --- a/indra/llui/llclipboard.h +++ b/indra/llui/llclipboard.h @@ -30,6 +30,8 @@ #include "llstring.h" #include "lluuid.h" +#include "stdenums.h" +#include "llinventory.h" class LLClipboard @@ -52,9 +54,14 @@ public: BOOL canPastePrimaryString() const; const LLWString& getPastePrimaryWString(LLUUID* source_id = NULL); + // Support clipboard for object known only by their uuid and asset type + void setSourceObject(const LLUUID& source_id, LLAssetType::EType type); + const LLInventoryObject* getSourceObject() { return mSourceItem; } + private: - LLUUID mSourceID; + LLUUID mSourceID; LLWString mString; + LLInventoryObject* mSourceItem; }; |