summaryrefslogtreecommitdiff
path: root/indra/newview/llattachmentsmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llattachmentsmgr.h')
-rwxr-xr-xindra/newview/llattachmentsmgr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llattachmentsmgr.h b/indra/newview/llattachmentsmgr.h
index d56d6eb27b..fab146cb52 100755
--- a/indra/newview/llattachmentsmgr.h
+++ b/indra/newview/llattachmentsmgr.h
@@ -87,6 +87,11 @@ public:
void onDetachRequested(const LLUUID& inv_item_id);
void onDetachCompleted(const LLUUID& inv_item_id);
+ bool hasPendingAttachments() { return mPendingAttachments.size() > 0; }
+ bool hasAttachmentRequests() { return mAttachmentRequests.size() > 0; }
+ bool hasDetachRequests() { return mAttachmentRequests.size() > 0; }
+ bool hasRecentlyArrivedAttachments() { return mRecentlyArrivedAttachments.size() > 0; }
+
private:
class LLItemRequestTimes: public std::map<LLUUID,LLTimer>