summaryrefslogtreecommitdiff
path: root/indra/newview/llattachmentsmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llattachmentsmgr.h')
-rwxr-xr-xindra/newview/llattachmentsmgr.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/indra/newview/llattachmentsmgr.h b/indra/newview/llattachmentsmgr.h
index 1d8ab74dfd..c145fa032b 100755
--- a/indra/newview/llattachmentsmgr.h
+++ b/indra/newview/llattachmentsmgr.h
@@ -49,24 +49,28 @@ class LLViewerInventoryItem;
class LLAttachmentsMgr: public LLSingleton<LLAttachmentsMgr>
{
public:
+ struct AttachmentsInfo
+ {
+ LLUUID mItemID;
+ U8 mAttachmentPt;
+ BOOL mAdd;
+ };
+ typedef std::vector<AttachmentsInfo> attachments_vec_t;
+
LLAttachmentsMgr();
virtual ~LLAttachmentsMgr();
void addAttachment(const LLUUID& item_id,
const U8 attachment_pt,
const BOOL add);
+ void requestAttachments(const attachments_vec_t& attachment_requests);
static void onIdle(void *);
+
protected:
void onIdle();
-private:
- struct AttachmentsInfo
- {
- LLUUID mItemID;
- U8 mAttachmentPt;
- BOOL mAdd;
- };
+ void linkPendingAttachments();
- typedef std::vector<AttachmentsInfo> attachments_vec_t;
+private:
attachments_vec_t mPendingAttachments;
};