8113
|
1 /**
|
8939
|
2 * @file gtkroomlist.h GTK+ Room List UI
|
8113
|
3 * @ingroup gtkui
|
|
4 *
|
|
5 * gaim
|
|
6 *
|
8146
|
7 * Gaim is the legal property of its developers, whose names are too numerous
|
|
8 * to list here. Please refer to the COPYRIGHT file distributed with this
|
|
9 * source distribution.
|
8113
|
10 *
|
|
11 * This program is free software; you can redistribute it and/or modify
|
|
12 * it under the terms of the GNU General Public License as published by
|
|
13 * the Free Software Foundation; either version 2 of the License, or
|
|
14 * (at your option) any later version.
|
|
15 *
|
|
16 * This program is distributed in the hope that it will be useful,
|
|
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19 * GNU General Public License for more details.
|
|
20 *
|
|
21 * You should have received a copy of the GNU General Public License
|
|
22 * along with this program; if not, write to the Free Software
|
|
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
24 */
|
|
25
|
|
26 #ifndef _GAIM_GTK_ROOMLIST_H_
|
|
27 #define _GAIM_GTK_ROOMLIST_H_
|
|
28
|
|
29 #include "roomlist.h"
|
|
30
|
|
31
|
|
32 typedef struct _GaimGtkRoomlistDialog GaimGtkRoomlistDialog;
|
|
33
|
|
34 /**
|
|
35 * Initializes the room list subsystem.
|
|
36 */
|
|
37 void gaim_gtk_roomlist_init(void);
|
|
38
|
|
39 /**
|
8939
|
40 * Determines if showing the room list dialog is a valid action.
|
|
41 *
|
|
42 * @return TRUE if there are accounts online that support listing
|
|
43 * chat rooms. Otherwise return FALSE.
|
|
44 */
|
|
45 gboolean gaim_gtk_roomlist_is_showable(void);
|
|
46
|
|
47 /**
|
|
48 * Shows the roomlist dialog.
|
|
49 */
|
|
50 void gaim_gtk_roomlist_dialog_show(void);
|
|
51
|
|
52 /**
|
|
53 * Creates a new room list dialog.
|
8113
|
54 *
|
|
55 * @return The new dialog.
|
|
56 */
|
|
57 GaimGtkRoomlistDialog *gaim_gtk_roomlist_dialog_new(void);
|
|
58
|
|
59 /**
|
8939
|
60 * Creates a new room list dialog and fetch the list on
|
8352
|
61 * the specified account.
|
8113
|
62 *
|
|
63 * @param account The account to force.
|
|
64 * @return The new dialog.
|
|
65 */
|
|
66 GaimGtkRoomlistDialog *gaim_gtk_roomlist_dialog_new_with_account(GaimAccount *account);
|
|
67
|
|
68 #endif /* _GAIM_GTK_ROOMLIST_H_ */
|