summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelpeople.h
diff options
context:
space:
mode:
authorGilbert Gonzales <gilbert@lindenlab.com>2013-04-22 18:08:36 -0700
committerGilbert Gonzales <gilbert@lindenlab.com>2013-04-22 18:08:36 -0700
commita505c3734a4a3f644500558030b4496d3cb5a5b5 (patch)
tree50bbd639d59afd514fa53bbf67fad644bacfed75 /indra/newview/llpanelpeople.h
parent0eb2248f55c835e51705c4dc026e177f3930c5db (diff)
ACME 162: Implemented a foundation model for the facebook connect folder view.
Diffstat (limited to 'indra/newview/llpanelpeople.h')
-rw-r--r--indra/newview/llpanelpeople.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/indra/newview/llpanelpeople.h b/indra/newview/llpanelpeople.h
index b4582d9a3e..935171df2b 100644
--- a/indra/newview/llpanelpeople.h
+++ b/indra/newview/llpanelpeople.h
@@ -45,6 +45,14 @@ class LLMenuButton;
class LLTabContainer;
class LLFolderView;
+class LLPersonFolderModel;
+class LLPersonFolderView;
+class LLPersonView;
+class LLPersonModel;
+
+typedef std::map<LLUUID, LLPersonFolderModel *> person_folder_model_map;
+typedef std::map<LLUUID, LLPersonFolderView *> person_folder_view_map;
+
class LLPanelPeople
: public LLPanel
, public LLVoiceClientStatusObserver
@@ -66,7 +74,7 @@ public:
void openFacebookWeb(LLFloaterWebContent::Params& p);
void showFacebookFriends(const LLSD& friends);
void addTestParticipant();
- void addParticipantToModel(LLConversationItemSession * session_model, const LLUUID& agent_id, const std::string& name);
+ void addParticipantToModel(LLPersonFolderModel * session_model, const LLUUID& agent_id, const std::string& name);
void hideFacebookFriends();
void loadFacebookFriends();
void tryToReconnectToFacebook();
@@ -157,7 +165,7 @@ private:
bool isAccordionCollapsedByUser(const std::string& name);
bool onConversationModelEvent(const LLSD& event);
- LLConversationViewParticipant * createConversationViewParticipant(LLConversationItem * item);
+ LLPersonView * createConversationViewParticipant(LLPersonModel * item);
LLTabContainer* mTabContainer;
LLAvatarList* mOnlineFriendList;
@@ -181,8 +189,8 @@ private:
LLMenuButton* mFBCGearButton;
LLHandle< LLFloater > mPicker;
- conversations_items_map mConversationsItems;
- conversations_widgets_map mConversationsWidgits;
+ person_folder_model_map mPersonFolderModelMap;
+ person_folder_view_map mPersonFolderViewMap;
LLConversationViewModel mConversationViewModel;
LLFolderView* mConversationsRoot;
LLEventStream mConversationsEventStream;