]> git.0d.be Git - empathy.git/blob - tp-account-widgets/tpaw-irc-network-chooser.h
tp-account-widgets: rename all the files from empathy-* to tpaw-*
[empathy.git] / tp-account-widgets / tpaw-irc-network-chooser.h
1 /*
2  * Copyright (C) 2007-2008 Guillaume Desmottes
3  * Copyright (C) 2010 Collabora Ltd.
4  *
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.
9  *
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.
14  *
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
18  *
19  * Authors: Guillaume Desmottes <gdesmott@gnome.org>
20  */
21
22 #ifndef __TPAW_IRC_NETWORK_CHOOSER_H__
23 #define __TPAW_IRC_NETWORK_CHOOSER_H__
24
25 #include <gtk/gtk.h>
26
27 #include "empathy-account-settings.h"
28 #include "tpaw-irc-network.h"
29
30 G_BEGIN_DECLS
31
32 #define TPAW_TYPE_IRC_NETWORK_CHOOSER (tpaw_irc_network_chooser_get_type ())
33 #define TPAW_IRC_NETWORK_CHOOSER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), \
34     TPAW_TYPE_IRC_NETWORK_CHOOSER, TpawIrcNetworkChooser))
35 #define TPAW_IRC_NETWORK_CHOOSER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), \
36     TPAW_TYPE_IRC_NETWORK_CHOOSER, TpawIrcNetworkChooserClass))
37 #define TPAW_IS_IRC_NETWORK_CHOOSER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), \
38     TPAW_TYPE_IRC_NETWORK_CHOOSER))
39 #define TPAW_IS_IRC_NETWORK_CHOOSER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), \
40     TPAW_TYPE_IRC_NETWORK_CHOOSER))
41 #define TPAW_IRC_NETWORK_CHOOSER_GET_CLASS(o) ( \
42     G_TYPE_INSTANCE_GET_CLASS ((o), TPAW_TYPE_IRC_NETWORK_CHOOSER, \
43         TpawIrcNetworkChooserClass))
44
45 typedef struct {
46   GtkButton parent;
47
48   /*<private>*/
49   gpointer priv;
50 } TpawIrcNetworkChooser;
51
52 typedef struct {
53   GtkButtonClass parent_class;
54 } TpawIrcNetworkChooserClass;
55
56 GType tpaw_irc_network_chooser_get_type (void) G_GNUC_CONST;
57
58 GtkWidget * tpaw_irc_network_chooser_new (EmpathyAccountSettings *settings);
59
60 TpawIrcNetwork * tpaw_irc_network_chooser_get_network (
61     TpawIrcNetworkChooser *self);
62
63 G_END_DECLS
64
65 #endif /* __TPAW_IRC_NETWORK_CHOOSER_H__ */