summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerinventory.h
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-05-24 08:53:21 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-05-24 08:53:21 -0400
commit6c56c77ec575141963c5de8dfa228253fe175bc3 (patch)
tree65ec3b7388af37390fe73ca4b3eb23d10ef92c3a /indra/newview/llviewerinventory.h
parentb0303445f1af83057e4d27d763f7b860f20f0143 (diff)
SH-4027 WIP - initial implementation of item update via AIS.
Diffstat (limited to 'indra/newview/llviewerinventory.h')
-rwxr-xr-xindra/newview/llviewerinventory.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/newview/llviewerinventory.h b/indra/newview/llviewerinventory.h
index 4e24dc87d1..c52b0c2d9d 100755
--- a/indra/newview/llviewerinventory.h
+++ b/indra/newview/llviewerinventory.h
@@ -139,6 +139,8 @@ public:
//void updateAssetOnServer() const;
virtual void packMessage(LLMessageSystem* msg) const;
+ // Contents of updates will take precedence over fields of item where they differ.
+ void packUpdateMessage(LLMessageSystem* msg, const LLSD& updates) const;
virtual void setTransactionID(const LLTransactionID& transaction_id);
struct comparePointers
{
@@ -224,6 +226,8 @@ public:
void determineFolderType();
void changeType(LLFolderType::EType new_folder_type);
+ void packUpdateMessage(LLMessageSystem* msg, const LLSD& updates) const;
+
private:
friend class LLInventoryModel;
void localizeName(); // intended to be called from the LLInventoryModel
@@ -363,6 +367,16 @@ void move_inventory_item(
const std::string& new_name,
LLPointer<LLInventoryCallback> cb);
+void update_inventory_item(
+ const LLUUID& item_id,
+ const LLSD& updates,
+ LLPointer<LLInventoryCallback> cb);
+
+void update_inventory_category(
+ const LLUUID& cat_id,
+ const LLSD& updates,
+ LLPointer<LLInventoryCallback> cb);
+
void remove_inventory_item(
const LLUUID& item_id,
LLPointer<LLInventoryCallback> cb);