]> git.0d.be Git - empathy.git/blob - src/empathy-accounts-dialog.h
Updated Swedish translation
[empathy.git] / src / empathy-accounts-dialog.h
1 /*
2  * Copyright (C) 2005-2007 Imendio AB
3  * Copyright (C) 2007-2008 Collabora Ltd.
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License as
7  * published by the Free Software Foundation; either version 2 of the
8  * License, or (at your option) any later version.
9  *
10  * This program 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  * General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public
16  * License along with this program; if not, write to the
17  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18  * Boston, MA  02110-1301  USA
19  *
20  * Authors: Martyn Russell <martyn@imendio.com>
21  *          Xavier Claessens <xclaesse@gmail.com>
22  */
23
24 #ifndef __EMPATHY_ACCOUNTS_DIALOG_H__
25 #define __EMPATHY_ACCOUNTS_DIALOG_H__
26
27 #include <gtk/gtk.h>
28 #include <telepathy-glib/telepathy-glib.h>
29
30 G_BEGIN_DECLS
31
32 #define EMPATHY_TYPE_ACCOUNTS_DIALOG empathy_accounts_dialog_get_type()
33 #define EMPATHY_ACCOUNTS_DIALOG(obj) \
34   (G_TYPE_CHECK_INSTANCE_CAST ((obj), EMPATHY_TYPE_ACCOUNTS_DIALOG, EmpathyAccountsDialog))
35 #define EMPATHY_ACCOUNTS_DIALOG_CLASS(klass) \
36   (G_TYPE_CHECK_CLASS_CAST ((klass), EMPATHY_TYPE_ACCOUNTS_DIALOG, EmpathyAccountsDialogClass))
37 #define EMPATHY_IS_ACCOUNTS_DIALOG(obj) \
38   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EMPATHY_TYPE_ACCOUNTS_DIALOG))
39 #define EMPATHY_IS_ACCOUNTS_DIALOG_CLASS(klass) \
40   (G_TYPE_CHECK_CLASS_TYPE ((klass), EMPATHY_TYPE_ACCOUNTS_DIALOG))
41 #define EMPATHY_ACCOUNTS_DIALOG_GET_CLASS(obj) \
42   (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_ACCOUNTS_DIALOG, EmpathyAccountsDialogClass))
43
44 typedef struct {
45   GtkDialog parent;
46
47   /* private */
48   gpointer priv;
49 } EmpathyAccountsDialog;
50
51 typedef struct {
52   GtkDialogClass parent_class;
53 } EmpathyAccountsDialogClass;
54
55 GType empathy_accounts_dialog_get_type (void);
56 GtkWidget *empathy_accounts_dialog_show (GtkWindow *parent,
57     TpAccount *selected_account);
58
59 void empathy_account_dialog_cancel (EmpathyAccountsDialog *dialog);
60 gboolean empathy_accounts_dialog_is_creating (EmpathyAccountsDialog *dialog);
61
62 void empathy_accounts_dialog_show_application (GdkScreen *screen,
63     TpAccount *selected_account,
64     gboolean if_needed,
65     gboolean hidden);
66
67 G_END_DECLS
68
69 #endif /* __EMPATHY_ACCOUNTS_DIALOG_H__ */