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:
marian 2008-08-06 16:49:24 +00:00
parent 39a9807a04
commit 3c4f0b02dd
1 changed files with 7 additions and 0 deletions

View File

@ -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