summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelimcontrolpanel.h
diff options
context:
space:
mode:
authorIgor Borovkov <iborovkov@productengine.com>2009-10-27 18:01:41 +0200
committerIgor Borovkov <iborovkov@productengine.com>2009-10-27 18:01:41 +0200
commit3eb7f84b10832d77d8765ea9550108c67c462bcb (patch)
treebe0c065fa612d29cc1117f9eccd05a7560f405d4 /indra/newview/llpanelimcontrolpanel.h
parent4309277c1bd063327cbd0cb1c9f3e276301d9fb7 (diff)
IM: implemented task EXT-1905 (Add "Call" and "End Call" functionality to new IIM Floater)
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llpanelimcontrolpanel.h')
-rw-r--r--indra/newview/llpanelimcontrolpanel.h20
1 files changed, 14 insertions, 6 deletions
diff --git a/indra/newview/llpanelimcontrolpanel.h b/indra/newview/llpanelimcontrolpanel.h
index 138b1630c4..00c96cf31a 100644
--- a/indra/newview/llpanelimcontrolpanel.h
+++ b/indra/newview/llpanelimcontrolpanel.h
@@ -45,8 +45,16 @@ public:
LLPanelChatControlPanel() {};
~LLPanelChatControlPanel() {};
- // sets the group or avatar UUID
- virtual void setID(const LLUUID& avatar_id)= 0;
+ virtual BOOL postBuild();
+ virtual void draw();
+
+ void onCallButtonClicked();
+ void onEndCallButtonClicked();
+
+ virtual void setSessionId(const LLUUID& session_id) { mSessionId = session_id; }
+
+private:
+ LLUUID mSessionId;
};
@@ -58,13 +66,14 @@ public:
BOOL postBuild();
- void setID(const LLUUID& avatar_id);
+ void setSessionId(const LLUUID& session_id);
private:
void onViewProfileButtonClicked();
void onAddFriendButtonClicked();
- void onCallButtonClicked();
void onShareButtonClicked();
+
+ LLUUID mAvatarID;
};
@@ -76,12 +85,11 @@ public:
BOOL postBuild();
- void setID(const LLUUID& id);
+ void setSessionId(const LLUUID& session_id);
/*virtual*/ void draw();
private:
void onGroupInfoButtonClicked();
- void onCallButtonClicked();
LLUUID mGroupID;
LLSpeakerMgr* mSpeakerManager;