Added method to obtain a contact's chat window.
git-svn-id: http://voip.null.ro/svn/yate@2145 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
39a9807a04
commit
3c4f0b02dd
|
@ -2350,6 +2350,13 @@ public:
|
|||
inline bool showChat(bool active)
|
||||
{ return Client::self() ? Client::self()->setVisible(m_chatWndName,active) : false; }
|
||||
|
||||
/**
|
||||
* Get the chat window
|
||||
* @return Valid Window pointer or 0
|
||||
*/
|
||||
inline Window* getChatWnd() const
|
||||
{ return Client::self() ? Client::self()->getWindow(m_chatWndName) : 0; }
|
||||
|
||||
/**
|
||||
* Create the chat window
|
||||
* @param force True to destroy the current one if any
|
||||
|
|
Loading…
Reference in New Issue