/* Monolith chat button. * - by Richard W.M. Jones * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * $Id: ml_chat_button.h,v 1.3 2003/02/22 15:34:28 rich Exp $ */ #ifndef ML_CHAT_BUTTON_H #define ML_CHAT_BUTTON_H #include #include /* Function: ml_chat_button - monolith chat button * * This is a wrapper around @code{new_ml_button} and * @code{ml_chat_window} which creates a "chat button". When pressed, * this button pops up a new window containing a chat window. * * @code{pool} is the pool for allocations. @code{session} is the * current session. @code{conninfo} is the database connection. * @code{resname} is the name of the chat room. @code{text} is the * text to display on the button. * * This returns an ordinary @code{ml_button} widget. * * See also: @ref{new_ml_button(3)}, @ref{ml_chat_window(3)}. */ extern ml_button new_ml_chat_button (pool pool, ml_session session, const char *conninfo, const char *resname, const char *text); #endif /* ML_CHAT_WINDOW_H */