]> git.0d.be Git - empathy.git/blob - libempathy-gtk/empathy-account-selector-dialog.h
Updated Swedish translation
[empathy.git] / libempathy-gtk / empathy-account-selector-dialog.h
1 /*
2  * Copyright (C) 2011 Collabora Ltd.
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
17  *
18  * Authors: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
19  */
20
21 #ifndef __EMPATHY_ACCOUNT_SELECTOR_DIALOG_H__
22 #define __EMPATHY_ACCOUNT_SELECTOR_DIALOG_H__
23
24 #include <gtk/gtk.h>
25 #include <telepathy-glib/telepathy-glib.h>
26
27 G_BEGIN_DECLS
28
29 #define EMPATHY_TYPE_ACCOUNT_SELECTOR_DIALOG \
30   (empathy_account_selector_dialog_get_type ())
31 #define EMPATHY_ACCOUNT_SELECTOR_DIALOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o),\
32       EMPATHY_TYPE_ACCOUNT_SELECTOR_DIALOG, EmpathyAccountSelectorDialog))
33 #define EMPATHY_ACCOUNT_SELECTOR_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k),\
34       EMPATHY_TYPE_ACCOUNT_SELECTOR_DIALOG, EmpathyAccountSelectorDialogClass))
35 #define EMPATHY_IS_ACCOUNT_SELECTOR_DIALOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o),\
36       EMPATHY_TYPE_ACCOUNT_SELECTOR_DIALOG))
37 #define EMPATHY_IS_ACCOUNT_SELECTOR_DIALOG_CLASS(k) (\
38     G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_ACCOUNT_SELECTOR_DIALOG))
39 #define EMPATHY_ACCOUNT_SELECTOR_DIALOG_GET_CLASS(o) (\
40     G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_ACCOUNT_SELECTOR_DIALOG,\
41       EmpathyAccountSelectorDialogClass))
42
43 typedef struct _EmpathyAccountSelectorDialog EmpathyAccountSelectorDialog;
44 typedef struct _EmpathyAccountSelectorDialogClass \
45           EmpathyAccountSelectorDialogClass;
46 typedef struct _EmpathyAccountSelectorDialogPrivate \
47           EmpathyAccountSelectorDialogPrivate;
48
49 struct _EmpathyAccountSelectorDialog {
50   GtkDialog parent;
51
52   EmpathyAccountSelectorDialogPrivate *priv;
53 };
54
55 struct _EmpathyAccountSelectorDialogClass {
56   GtkDialogClass parent_class;
57 };
58
59 GType empathy_account_selector_dialog_get_type (void) G_GNUC_CONST;
60
61 GtkWidget * empathy_account_selector_dialog_new (GList *accounts);
62
63 TpAccount * empathy_account_selector_dialog_dup_selected (
64     EmpathyAccountSelectorDialog *self);
65
66 G_END_DECLS
67
68 #endif /* __EMPATHY_ACCOUNT_SELECTOR_DIALOG_H__ */