diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2016-04-11 14:25:08 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2016-04-11 14:25:08 +0300 |
commit | 1a2d326c2b7b24139c85dc10f63ecfd37db7eca4 (patch) | |
tree | 97b2c72dd48d882bfda23ca5e192485bcfae882e /indra/newview/llavataractions.h | |
parent | f5c21ce1aef74bd79cbcb8c7a6cd4f9f4891c993 (diff) |
MAINT-6273 "Freeze" and "Eject" menu items are added to Nearby context menu.
Diffstat (limited to 'indra/newview/llavataractions.h')
-rwxr-xr-x | indra/newview/llavataractions.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llavataractions.h b/indra/newview/llavataractions.h index bd0ac24e93..256d44d820 100755 --- a/indra/newview/llavataractions.h +++ b/indra/newview/llavataractions.h @@ -173,6 +173,9 @@ public: */ static void inviteToGroup(const LLUUID& id); + static void freezeAvatar(const LLUUID& id); + + static void ejectAvatar(const LLUUID& id, bool ban_enabled = false); /** * Kick avatar off grid */ @@ -242,6 +245,8 @@ private: static bool callbackAddFriendWithMessage(const LLSD& notification, const LLSD& response); static bool handleRemove(const LLSD& notification, const LLSD& response); static bool handlePay(const LLSD& notification, const LLSD& response, LLUUID avatar_id); + static bool handleFreezeAvatar(const LLSD& notification, const LLSD& response); + static bool handleEjectAvatar(const LLSD& notification, const LLSD& response); static bool handleKick(const LLSD& notification, const LLSD& response); static bool handleFreeze(const LLSD& notification, const LLSD& response); static bool handleUnfreeze(const LLSD& notification, const LLSD& response); |