diff options
Diffstat (limited to 'linden/indra/newview/llfloatermap.h')
-rw-r--r-- | linden/indra/newview/llfloatermap.h | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/linden/indra/newview/llfloatermap.h b/linden/indra/newview/llfloatermap.h index 349b0e6..af4d1cc 100644 --- a/linden/indra/newview/llfloatermap.h +++ b/linden/indra/newview/llfloatermap.h | |||
@@ -52,6 +52,9 @@ public: | |||
52 | // returns true if agent_id belongs to a developer listed in llfloatermap.cpp | 52 | // returns true if agent_id belongs to a developer listed in llfloatermap.cpp |
53 | static bool isImpDev(LLUUID agent_id); | 53 | static bool isImpDev(LLUUID agent_id); |
54 | 54 | ||
55 | bool getIsTyping(LLUUID agent_id); | ||
56 | void updateTypingList(LLUUID agent_id, bool remove); | ||
57 | |||
55 | BOOL postBuild(); | 58 | BOOL postBuild(); |
56 | 59 | ||
57 | /*virtual*/ void draw(); | 60 | /*virtual*/ void draw(); |
@@ -64,12 +67,20 @@ public: | |||
64 | 67 | ||
65 | 68 | ||
66 | private: | 69 | private: |
70 | |||
67 | LLFloaterMap(const LLSD& key = LLSD()); | 71 | LLFloaterMap(const LLSD& key = LLSD()); |
68 | 72 | ||
69 | LLNetMap* mPanelMap; | 73 | LLNetMap* mPanelMap; |
70 | LLScrollListCtrl* mRadarList; | 74 | LLScrollListCtrl* mRadarList; |
71 | LLUUID mSelectedAvatar; | 75 | LLUUID mSelectedAvatar; |
72 | 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; | ||
73 | 84 | ||
74 | static void onList(LLUICtrl* ctrl, void* user_data); | 85 | static void onList(LLUICtrl* ctrl, void* user_data); |
75 | static void onRangeChange(LLFocusableElement* focus, void* user_data); | 86 | static void onRangeChange(LLFocusableElement* focus, void* user_data); |
@@ -78,6 +89,15 @@ private: | |||
78 | void toggleButtons(); | 89 | void toggleButtons(); |
79 | void populateRadar(); | 90 | void populateRadar(); |
80 | 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 | |||
81 | static void onClickProfile(void* user_data); | 101 | static void onClickProfile(void* user_data); |
82 | static void onClickIM(void* user_data); | 102 | static void onClickIM(void* user_data); |
83 | static void onClickAddFriend(void* user_data); | 103 | static void onClickAddFriend(void* user_data); |