2 * Copyright (C) 2007-2008 Guillaume Desmottes
3 * Copyright (C) 2010 Collabora Ltd.
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 * Authors: Guillaume Desmottes <gdesmott@gnome.org>
22 #ifndef __TPAW_IRC_NETWORK_CHOOSER_DIALOG_H__
23 #define __TPAW_IRC_NETWORK_CHOOSER_DIALOG_H__
27 #include "tpaw-account-settings.h"
28 #include "tpaw-irc-network.h"
32 #define TPAW_TYPE_IRC_NETWORK_CHOOSER_DIALOG (tpaw_irc_network_chooser_dialog_get_type ())
33 #define TPAW_IRC_NETWORK_CHOOSER_DIALOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), \
34 TPAW_TYPE_IRC_NETWORK_CHOOSER_DIALOG, TpawIrcNetworkChooserDialog))
35 #define TPAW_IRC_NETWORK_CHOOSER_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), \
36 TPAW_TYPE_IRC_NETWORK_CHOOSER_DIALOG, TpawIrcNetworkChooserDialogClass))
37 #define TPAW_IS_IRC_NETWORK_CHOOSER_DIALOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), \
38 TPAW_TYPE_IRC_NETWORK_CHOOSER_DIALOG))
39 #define TPAW_IS_IRC_NETWORK_CHOOSER_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), \
40 TPAW_TYPE_IRC_NETWORK_CHOOSER_DIALOG))
41 #define TPAW_IRC_NETWORK_CHOOSER_DIALOG_GET_CLASS(o) ( \
42 G_TYPE_INSTANCE_GET_CLASS ((o), TPAW_TYPE_IRC_NETWORK_CHOOSER_DIALOG, \
43 TpawIrcNetworkChooserDialogClass))
45 typedef struct _TpawIrcNetworkChooserDialogPriv TpawIrcNetworkChooserDialogPriv;
51 TpawIrcNetworkChooserDialogPriv *priv;
52 } TpawIrcNetworkChooserDialog;
55 GtkDialogClass parent_class;
56 } TpawIrcNetworkChooserDialogClass;
58 GType tpaw_irc_network_chooser_dialog_get_type (void) G_GNUC_CONST;
60 GtkWidget * tpaw_irc_network_chooser_dialog_new (
61 TpawAccountSettings *settings,
62 TpawIrcNetwork *network,
65 TpawIrcNetwork * tpaw_irc_network_chooser_dialog_get_network (
66 TpawIrcNetworkChooserDialog *self);
68 gboolean tpaw_irc_network_chooser_dialog_get_changed (
69 TpawIrcNetworkChooserDialog *self);
73 #endif /* __TPAW_IRC_NETWORK_CHOOSER_DIALOG_H__ */