diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-06-02 20:17:25 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-06-02 20:17:25 +0100 |
commit | e57ae451744f08c1c614ef6903918ba4be6d4674 (patch) | |
tree | 00608932937c6b75f9b2cdc72d151005425f95a5 /indra/newview/llgiveinventory.h | |
parent | 6b45a32ac56b95f3e70ba4948819d470f3574cea (diff) | |
parent | 142a6c3b8fa9e286c0336236d1eccd9a6725f06a (diff) |
merge from PE's viewer-trunk
Diffstat (limited to 'indra/newview/llgiveinventory.h')
-rw-r--r-- | indra/newview/llgiveinventory.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/newview/llgiveinventory.h b/indra/newview/llgiveinventory.h index e589a0cc69..86f0f2fe86 100644 --- a/indra/newview/llgiveinventory.h +++ b/indra/newview/llgiveinventory.h @@ -61,7 +61,7 @@ public: /** * Gives passed inventory item to specified avatar in specified session. */ - static void doGiveInventoryItem(const LLUUID& to_agent, + static bool doGiveInventoryItem(const LLUUID& to_agent, const LLInventoryItem* item, const LLUUID& im_session_id = LLUUID::null); @@ -72,6 +72,9 @@ public: const LLInventoryCategory* item, const LLUUID &session_id = LLUUID::null); + // give inventory item functionality + static bool handleCopyProtectedItem(const LLSD& notification, const LLSD& response); + private: // this class is not intended to be instantiated. LLGiveInventory(); @@ -82,8 +85,6 @@ private: static void logInventoryOffer(const LLUUID& to_agent, const LLUUID &im_session_id = LLUUID::null); - // give inventory item functionality - static bool handleCopyProtectedItem(const LLSD& notification, const LLSD& response); static void commitGiveInventoryItem(const LLUUID& to_agent, const LLInventoryItem* item, const LLUUID &im_session_id = LLUUID::null); |