]> git.0d.be Git - empathy.git/blob - libempathy-gtk/empathy-password-dialog.h
Change Finnish translation team web page to l10n.gnome.org
[empathy.git] / libempathy-gtk / empathy-password-dialog.h
1 /*
2  * empathy-password-dialog.h - Header for EmpathyPasswordDialog
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
20 #ifndef __EMPATHY_PASSWORD_DIALOG_H__
21 #define __EMPATHY_PASSWORD_DIALOG_H__
22
23 #include <gtk/gtk.h>
24
25 #include "empathy-base-password-dialog.h"
26 #include "empathy-server-sasl-handler.h"
27
28 G_BEGIN_DECLS
29
30 typedef struct _EmpathyPasswordDialog EmpathyPasswordDialog;
31 typedef struct _EmpathyPasswordDialogClass EmpathyPasswordDialogClass;
32 typedef struct _EmpathyPasswordDialogPriv EmpathyPasswordDialogPriv;
33
34 struct _EmpathyPasswordDialogClass {
35     EmpathyBasePasswordDialogClass parent_class;
36 };
37
38 struct _EmpathyPasswordDialog {
39     EmpathyBasePasswordDialog parent;
40     EmpathyPasswordDialogPriv *priv;
41 };
42
43 GType empathy_password_dialog_get_type (void);
44
45 #define EMPATHY_TYPE_PASSWORD_DIALOG \
46   (empathy_password_dialog_get_type ())
47 #define EMPATHY_PASSWORD_DIALOG(obj) \
48   (G_TYPE_CHECK_INSTANCE_CAST((obj), EMPATHY_TYPE_PASSWORD_DIALOG, \
49     EmpathyPasswordDialog))
50 #define EMPATHY_PASSWORD_DIALOG_CLASS(klass) \
51   (G_TYPE_CHECK_CLASS_CAST((klass), EMPATHY_TYPE_PASSWORD_DIALOG, \
52   EmpathyPasswordDialogClass))
53 #define EMPATHY_IS_PASSWORD_DIALOG(obj) \
54   (G_TYPE_CHECK_INSTANCE_TYPE((obj), EMPATHY_TYPE_PASSWORD_DIALOG))
55 #define EMPATHY_IS_PASSWORD_DIALOG_CLASS(klass) \
56   (G_TYPE_CHECK_CLASS_TYPE((klass), EMPATHY_TYPE_PASSWORD_DIALOG))
57 #define EMPATHY_PASSWORD_DIALOG_GET_CLASS(obj) \
58   (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_PASSWORD_DIALOG, \
59   EmpathyPasswordDialogClass))
60
61 GtkWidget * empathy_password_dialog_new (EmpathyServerSASLHandler *handler);
62
63 G_END_DECLS
64
65 #endif /* #ifndef __EMPATHY_PASSWORD_DIALOG_H__*/