/* Monolith discussion panel widget. * - 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_discussion_panel.h,v 1.3 2003/02/22 15:34:29 rich Exp $ */ #ifndef ML_DISCUSSION_PANEL_H #define ML_DISCUSSION_PANEL_H #include struct ml_discussion_panel; typedef struct ml_discussion_panel *ml_discussion_panel; /* Function: new_ml_discussion_panel - monolith discussion panel widget * * The @code{ml_discussion_panel} widget displays a list of available * newsgroups on the left, and a particular selected newsgroup on the * right. Users can select which newsgroup to view by clicking one of * the available groups on the left. * * The actual newsgroup is displayed using the @code{ml_discussion} * widget (see @ref{new_ml_discussion(3)}. * * The overall layout is achieved using the @code{ml_select_layout} * layout widget (see @ref{new_ml_select_layout(3)}. * * @code{new_ml_discussion_panel} creates a new discussion panel * widget. The pool for allocations, current session and database * handle factory must be given. This function returns the panel * widget, or @code{NULL} if it could not be created. * * See also: @ref{new_ml_discussion(3)}, @ref{new_ml_select_layout(3)}. */ extern ml_discussion_panel new_ml_discussion_panel (pool, ml_session, const char *conninfo); #endif /* ML_DISCUSSION_PANEL_H */