Updated Indonesian translation
[empathy-mirror.git] / libempathy-gtk / empathy-account-selector-dialog.h
blob96bafb2d4be02c98f43ff0a848f794efe0615622
1 /*
2 * Copyright (C) 2011 Collabora Ltd.
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.
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.
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
18 * Authors: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
21 #ifndef __EMPATHY_ACCOUNT_SELECTOR_DIALOG_H__
22 #define __EMPATHY_ACCOUNT_SELECTOR_DIALOG_H__
24 #include <gtk/gtk.h>
25 #include <telepathy-glib/telepathy-glib.h>
27 G_BEGIN_DECLS
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))
43 typedef struct _EmpathyAccountSelectorDialog EmpathyAccountSelectorDialog;
44 typedef struct _EmpathyAccountSelectorDialogClass \
45 EmpathyAccountSelectorDialogClass;
46 typedef struct _EmpathyAccountSelectorDialogPrivate \
47 EmpathyAccountSelectorDialogPrivate;
49 struct _EmpathyAccountSelectorDialog {
50 GtkDialog parent;
52 EmpathyAccountSelectorDialogPrivate *priv;
55 struct _EmpathyAccountSelectorDialogClass {
56 GtkDialogClass parent_class;
59 GType empathy_account_selector_dialog_get_type (void) G_GNUC_CONST;
61 GtkWidget * empathy_account_selector_dialog_new (GList *accounts);
63 TpAccount * empathy_account_selector_dialog_dup_selected (
64 EmpathyAccountSelectorDialog *self);
66 G_END_DECLS
68 #endif /* __EMPATHY_ACCOUNT_SELECTOR_DIALOG_H__ */