Updated Spanish translation
[empathy-mirror.git] / libempathy-gtk / empathy-irc-network-chooser-dialog.h
blob0d4f24e7f8638bc4683cc0f6cbbb99c1acc3fd47
1 /*
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 __EMPATHY_IRC_NETWORK_CHOOSER_DIALOG_H__
23 #define __EMPATHY_IRC_NETWORK_CHOOSER_DIALOG_H__
25 #include <gtk/gtk.h>
27 #include <libempathy/empathy-account-settings.h>
28 #include <libempathy/empathy-irc-network.h>
30 G_BEGIN_DECLS
32 #define EMPATHY_TYPE_IRC_NETWORK_CHOOSER_DIALOG (empathy_irc_network_chooser_dialog_get_type ())
33 #define EMPATHY_IRC_NETWORK_CHOOSER_DIALOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), \
34 EMPATHY_TYPE_IRC_NETWORK_CHOOSER_DIALOG, EmpathyIrcNetworkChooserDialog))
35 #define EMPATHY_IRC_NETWORK_CHOOSER_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), \
36 EMPATHY_TYPE_IRC_NETWORK_CHOOSER_DIALOG, EmpathyIrcNetworkChooserDialogClass))
37 #define EMPATHY_IS_IRC_NETWORK_CHOOSER_DIALOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), \
38 EMPATHY_TYPE_IRC_NETWORK_CHOOSER_DIALOG))
39 #define EMPATHY_IS_IRC_NETWORK_CHOOSER_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), \
40 EMPATHY_TYPE_IRC_NETWORK_CHOOSER_DIALOG))
41 #define EMPATHY_IRC_NETWORK_CHOOSER_DIALOG_GET_CLASS(o) ( \
42 G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_IRC_NETWORK_CHOOSER_DIALOG, \
43 EmpathyIrcNetworkChooserDialogClass))
45 typedef struct {
46 GtkDialog parent;
48 /*<private>*/
49 gpointer priv;
50 } EmpathyIrcNetworkChooserDialog;
52 typedef struct {
53 GtkDialogClass parent_class;
54 } EmpathyIrcNetworkChooserDialogClass;
56 GType empathy_irc_network_chooser_dialog_get_type (void) G_GNUC_CONST;
58 GtkWidget * empathy_irc_network_chooser_dialog_new (
59 EmpathyAccountSettings *settings,
60 EmpathyIrcNetwork *network,
61 GtkWindow *parent);
63 EmpathyIrcNetwork * empathy_irc_network_chooser_dialog_get_network (
64 EmpathyIrcNetworkChooserDialog *self);
66 gboolean empathy_irc_network_chooser_dialog_get_changed (
67 EmpathyIrcNetworkChooserDialog *self);
69 G_END_DECLS
71 #endif /* __EMPATHY_IRC_NETWORK_CHOOSER_DIALOG_H__ */