diff options
author | James Cook <james@lindenlab.com> | 2010-05-26 10:53:59 -0700 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2010-05-26 10:53:59 -0700 |
commit | 0ebdba45f6fbcecfe0aa63bb37ddcde2efba6d87 (patch) | |
tree | dcfb58e0756c0034075345363559e068f53e8f2a /indra/newview/llpanelpeoplemenus.h | |
parent | dd672e6dfbe6347e7498fb32b9cade6a2133f4a8 (diff) | |
parent | 74279f551b84a409af52634df4b7d78294a818dc (diff) |
Merge with dessie/viewer-public to get Callum's webkit changes
Diffstat (limited to 'indra/newview/llpanelpeoplemenus.h')
-rw-r--r-- | indra/newview/llpanelpeoplemenus.h | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/indra/newview/llpanelpeoplemenus.h b/indra/newview/llpanelpeoplemenus.h index 8e12710afc..e1f8790135 100644 --- a/indra/newview/llpanelpeoplemenus.h +++ b/indra/newview/llpanelpeoplemenus.h @@ -33,42 +33,15 @@ #ifndef LL_LLPANELPEOPLEMENUS_H #define LL_LLPANELPEOPLEMENUS_H -#include "llavatarlistitem.h" +#include "lllistcontextmenu.h" namespace LLPanelPeopleMenus { /** - * Base context menu. - */ -class ContextMenu : public LLAvatarListItem::ContextMenu -{ -public: - ContextMenu(); - virtual ~ContextMenu(); - - /** - * Show the menu at specified coordinates. - * - * @param uuids - an array of avatar or group ids - */ - /*virtual*/ void show(LLView* spawning_view, const uuid_vec_t& uuids, S32 x, S32 y); - - virtual void hide(); - -protected: - - virtual LLContextMenu* createMenu() = 0; - - uuid_vec_t mUUIDs; - LLContextMenu* mMenu; - LLHandle<LLView> mMenuHandle; -}; - -/** * Menu used in the nearby people list. */ -class NearbyMenu : public ContextMenu +class NearbyMenu : public LLListContextMenu { public: /*virtual*/ LLContextMenu* createMenu(); |