diff options
Diffstat (limited to 'linden/indra/newview/llfloatermap.h')
-rw-r--r-- | linden/indra/newview/llfloatermap.h | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/linden/indra/newview/llfloatermap.h b/linden/indra/newview/llfloatermap.h index 81e4159..af4d1cc 100644 --- a/linden/indra/newview/llfloatermap.h +++ b/linden/indra/newview/llfloatermap.h | |||
@@ -49,6 +49,11 @@ public: | |||
49 | 49 | ||
50 | static void updateRadar(); | 50 | static void updateRadar(); |
51 | static LLUUID getSelected(); | 51 | static LLUUID getSelected(); |
52 | // returns true if agent_id belongs to a developer listed in llfloatermap.cpp | ||
53 | static bool isImpDev(LLUUID agent_id); | ||
54 | |||
55 | bool getIsTyping(LLUUID agent_id); | ||
56 | void updateTypingList(LLUUID agent_id, bool remove); | ||
52 | 57 | ||
53 | BOOL postBuild(); | 58 | BOOL postBuild(); |
54 | 59 | ||
@@ -62,12 +67,20 @@ public: | |||
62 | 67 | ||
63 | 68 | ||
64 | private: | 69 | private: |
70 | |||
65 | LLFloaterMap(const LLSD& key = LLSD()); | 71 | LLFloaterMap(const LLSD& key = LLSD()); |
66 | 72 | ||
67 | LLNetMap* mPanelMap; | 73 | LLNetMap* mPanelMap; |
68 | LLScrollListCtrl* mRadarList; | 74 | LLScrollListCtrl* mRadarList; |
69 | LLUUID mSelectedAvatar; | 75 | LLUUID mSelectedAvatar; |
70 | bool mUpdate; | 76 | |
77 | // TODO: move all this info into its own object. It's stupid | ||
78 | // and bug-prone to keep it all in separate containers, but | ||
79 | // I want to get this out for 1.2 -- McCabe | ||
80 | std::set<LLUUID> mChatAvatars; | ||
81 | std::set<LLUUID> mTypingAvatars; | ||
82 | std::set<LLUUID> mSimAvatars; | ||
83 | bool mUpdate; | ||
71 | 84 | ||
72 | static void onList(LLUICtrl* ctrl, void* user_data); | 85 | static void onList(LLUICtrl* ctrl, void* user_data); |
73 | static void onRangeChange(LLFocusableElement* focus, void* user_data); | 86 | static void onRangeChange(LLFocusableElement* focus, void* user_data); |
@@ -76,6 +89,15 @@ private: | |||
76 | void toggleButtons(); | 89 | void toggleButtons(); |
77 | void populateRadar(); | 90 | void populateRadar(); |
78 | 91 | ||
92 | void updateChatList(std::vector<LLUUID> agent_ids); | ||
93 | bool getInChatList(LLUUID agent_id); | ||
94 | void addToChatList(LLUUID agent_id, std::string distance); | ||
95 | void removeFromChatList(LLUUID agent_id); | ||
96 | |||
97 | bool getInSimAvList(LLUUID agent_id); | ||
98 | void addToSimAvList(LLUUID agent_id, std::string distance); | ||
99 | void updateSimAvList(std::vector<LLUUID> agent_ids); | ||
100 | |||
79 | static void onClickProfile(void* user_data); | 101 | static void onClickProfile(void* user_data); |
80 | static void onClickIM(void* user_data); | 102 | static void onClickIM(void* user_data); |
81 | static void onClickAddFriend(void* user_data); | 103 | static void onClickAddFriend(void* user_data); |