diff options
author | Loren Shih <seraph@lindenlab.com> | 2009-12-14 10:39:59 -0500 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2009-12-14 10:39:59 -0500 |
commit | aad8d99af2b4a29d055dccb1c3fbea7a46fcb843 (patch) | |
tree | 96b398bd405344f42753e58afbb02092882715cb /indra/newview/llviewerinventory.h | |
parent | 3e75137f26c099185677e1160570860e07a56595 (diff) | |
parent | a763409647a5a8d82f2f1c54223b998877c3b72d (diff) |
automated merge viewer2.0->viewer2.0
Diffstat (limited to 'indra/newview/llviewerinventory.h')
-rw-r--r-- | indra/newview/llviewerinventory.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewerinventory.h b/indra/newview/llviewerinventory.h index 0156e7dab1..412a2c66e6 100644 --- a/indra/newview/llviewerinventory.h +++ b/indra/newview/llviewerinventory.h @@ -158,6 +158,9 @@ public: bool getIsBrokenLink() const; // true if the baseitem this points to doesn't exist in memory. LLViewerInventoryItem *getLinkedItem() const; LLViewerInventoryCategory *getLinkedCategory() const; + + // Checks the items permissions (for owner, group, or everyone) and returns true if all mask bits are set. + bool checkPermissionsSet(PermissionMask mask) const; // callback void onCallingCardNameLookup(const LLUUID& id, const std::string& first_name, const std::string& last_name); |