bool ContactGui::isChatVisible() { return GetKeyhoteeWindow()->isSelectedContactGui(this) && _view->isChatSelected(); }
void display_main_window() { KeyhoteeMainWindow* mainwindow = GetKeyhoteeWindow(); mainwindow->show(); }