Mon, 24 Jul 2006 05:08:30 +0000
[gaim-migrate @ 16559]
Change the log-timestamp and conversation-timestamp signals to pass around a time_t instead of a struct tm. Most of this changeset is Ethan's work.
| 8113 | 1 | /** |
|
8939
ec2ecc652447
[gaim-migrate @ 9709]
Mark Doliner <markdoliner@pidgin.im>
parents:
8352
diff
changeset
|
2 | * @file gtkroomlist.h GTK+ Room List UI |
| 8113 | 3 | * @ingroup gtkui |
| 4 | * | |
| 5 | * gaim | |
| 6 | * | |
|
8146
4961c9c5fd61
[gaim-migrate @ 8854]
John Silvestri <john.silvestri@gmail.com>
parents:
8113
diff
changeset
|
7 | * Gaim is the legal property of its developers, whose names are too numerous |
|
4961c9c5fd61
[gaim-migrate @ 8854]
John Silvestri <john.silvestri@gmail.com>
parents:
8113
diff
changeset
|
8 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
4961c9c5fd61
[gaim-migrate @ 8854]
John Silvestri <john.silvestri@gmail.com>
parents:
8113
diff
changeset
|
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 | */ | |
|
9713
bb37562302a1
[gaim-migrate @ 10574]
Mark Doliner <markdoliner@pidgin.im>
parents:
8939
diff
changeset
|
25 | #ifndef _GAIM_GTKROOMLIST_H_ |
|
bb37562302a1
[gaim-migrate @ 10574]
Mark Doliner <markdoliner@pidgin.im>
parents:
8939
diff
changeset
|
26 | #define _GAIM_GTKROOMLIST_H_ |
| 8113 | 27 | |
| 28 | #include "roomlist.h" | |
| 29 | ||
| 30 | ||
| 31 | typedef struct _GaimGtkRoomlistDialog GaimGtkRoomlistDialog; | |
| 32 | ||
| 33 | /** | |
| 34 | * Initializes the room list subsystem. | |
| 35 | */ | |
| 36 | void gaim_gtk_roomlist_init(void); | |
| 37 | ||
| 38 | /** | |
|
8939
ec2ecc652447
[gaim-migrate @ 9709]
Mark Doliner <markdoliner@pidgin.im>
parents:
8352
diff
changeset
|
39 | * Determines if showing the room list dialog is a valid action. |
|
ec2ecc652447
[gaim-migrate @ 9709]
Mark Doliner <markdoliner@pidgin.im>
parents:
8352
diff
changeset
|
40 | * |
|
ec2ecc652447
[gaim-migrate @ 9709]
Mark Doliner <markdoliner@pidgin.im>
parents:
8352
diff
changeset
|
41 | * @return TRUE if there are accounts online that support listing |
|
ec2ecc652447
[gaim-migrate @ 9709]
Mark Doliner <markdoliner@pidgin.im>
parents:
8352
diff
changeset
|
42 | * chat rooms. Otherwise return FALSE. |
|
ec2ecc652447
[gaim-migrate @ 9709]
Mark Doliner <markdoliner@pidgin.im>
parents:
8352
diff
changeset
|
43 | */ |
|
ec2ecc652447
[gaim-migrate @ 9709]
Mark Doliner <markdoliner@pidgin.im>
parents:
8352
diff
changeset
|
44 | gboolean gaim_gtk_roomlist_is_showable(void); |
|
ec2ecc652447
[gaim-migrate @ 9709]
Mark Doliner <markdoliner@pidgin.im>
parents:
8352
diff
changeset
|
45 | |
|
ec2ecc652447
[gaim-migrate @ 9709]
Mark Doliner <markdoliner@pidgin.im>
parents:
8352
diff
changeset
|
46 | /** |
|
ec2ecc652447
[gaim-migrate @ 9709]
Mark Doliner <markdoliner@pidgin.im>
parents:
8352
diff
changeset
|
47 | * Shows the roomlist dialog. |
|
ec2ecc652447
[gaim-migrate @ 9709]
Mark Doliner <markdoliner@pidgin.im>
parents:
8352
diff
changeset
|
48 | */ |
|
ec2ecc652447
[gaim-migrate @ 9709]
Mark Doliner <markdoliner@pidgin.im>
parents:
8352
diff
changeset
|
49 | void gaim_gtk_roomlist_dialog_show(void); |
|
ec2ecc652447
[gaim-migrate @ 9709]
Mark Doliner <markdoliner@pidgin.im>
parents:
8352
diff
changeset
|
50 | |
|
ec2ecc652447
[gaim-migrate @ 9709]
Mark Doliner <markdoliner@pidgin.im>
parents:
8352
diff
changeset
|
51 | /** |
|
ec2ecc652447
[gaim-migrate @ 9709]
Mark Doliner <markdoliner@pidgin.im>
parents:
8352
diff
changeset
|
52 | * Creates a new room list dialog. |
| 8113 | 53 | * |
| 54 | * @return The new dialog. | |
| 55 | */ | |
| 56 | GaimGtkRoomlistDialog *gaim_gtk_roomlist_dialog_new(void); | |
| 57 | ||
| 58 | /** | |
|
8939
ec2ecc652447
[gaim-migrate @ 9709]
Mark Doliner <markdoliner@pidgin.im>
parents:
8352
diff
changeset
|
59 | * Creates a new room list dialog and fetch the list on |
| 8352 | 60 | * the specified account. |
| 8113 | 61 | * |
| 62 | * @param account The account to force. | |
| 63 | * @return The new dialog. | |
| 64 | */ | |
| 65 | GaimGtkRoomlistDialog *gaim_gtk_roomlist_dialog_new_with_account(GaimAccount *account); | |
| 66 | ||
|
9713
bb37562302a1
[gaim-migrate @ 10574]
Mark Doliner <markdoliner@pidgin.im>
parents:
8939
diff
changeset
|
67 | #endif /* _GAIM_GTKROOMLIST_H_ */ |