summaryrefslogtreecommitdiff
path: root/indra/newview/llgiveinventory.h
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-06-02 21:22:17 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-06-02 21:22:17 +0100
commit0c232a77b91df275272011a906cfc8b2eb19725b (patch)
tree4d93707189b03e824b91f8672db10a425a54713a /indra/newview/llgiveinventory.h
parent36a299793c6a26969ec0937e4c40dcf13a806b79 (diff)
parente57ae451744f08c1c614ef6903918ba4be6d4674 (diff)
merge from viewer-public
Diffstat (limited to 'indra/newview/llgiveinventory.h')
-rw-r--r--indra/newview/llgiveinventory.h7
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);