diff options
author | James Cook <james@lindenlab.com> | 2009-10-16 23:20:05 +0000 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2009-10-16 23:20:05 +0000 |
commit | a4c657a49dd055cdc773c95b04713f403ea9c44c (patch) | |
tree | ab4731917d9d330c636773d4ce5015f59dd070a4 /indra/newview/llgroupactions.h | |
parent | e3c4b5ad26e6c4583fc2a736aea1370cc06ac6b2 (diff) |
Group inspectors now work. They are hooked up to About Land, build tools floater, and anywhere secondlife:///app/group URLs appear. Reviewed with Leyla.
Diffstat (limited to 'indra/newview/llgroupactions.h')
-rw-r--r-- | indra/newview/llgroupactions.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llgroupactions.h b/indra/newview/llgroupactions.h index 9fe1da8af2..74c84d1561 100644 --- a/indra/newview/llgroupactions.h +++ b/indra/newview/llgroupactions.h @@ -47,6 +47,9 @@ public: */ static void search(); + /// Join a group. Assumes LLGroupMgr has data for that group already. + static void join(const LLUUID& group_id); + /** * Invokes "Leave Group" floater. */ @@ -87,6 +90,9 @@ public: */ static void startChat(const LLUUID& group_id); + /// Returns if the current user is a member of the group + static bool isInGroup(const LLUUID& group_id); + /** * Returns true if avatar is in group. * @@ -97,6 +103,7 @@ public: static bool isAvatarMemberOfGroup(const LLUUID& group_id, const LLUUID& avatar_id); private: + static bool onJoinGroup(const LLSD& notification, const LLSD& response); static bool onLeaveGroup(const LLSD& notification, const LLSD& response); }; |