2 * empathy-password-dialog.h - Header for EmpathyPasswordDialog
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
20 #ifndef __EMPATHY_PASSWORD_DIALOG_H__
21 #define __EMPATHY_PASSWORD_DIALOG_H__
23 #include <glib-object.h>
26 #include <libempathy/empathy-server-sasl-handler.h>
28 #include <libempathy-gtk/empathy-base-password-dialog.h>
30 #include <extensions/extensions.h>
34 typedef struct _EmpathyPasswordDialog EmpathyPasswordDialog;
35 typedef struct _EmpathyPasswordDialogClass EmpathyPasswordDialogClass;
36 typedef struct _EmpathyPasswordDialogPriv EmpathyPasswordDialogPriv;
38 struct _EmpathyPasswordDialogClass {
39 EmpathyBasePasswordDialogClass parent_class;
42 struct _EmpathyPasswordDialog {
43 EmpathyBasePasswordDialog parent;
44 EmpathyPasswordDialogPriv *priv;
47 GType empathy_password_dialog_get_type (void);
49 #define EMPATHY_TYPE_PASSWORD_DIALOG \
50 (empathy_password_dialog_get_type ())
51 #define EMPATHY_PASSWORD_DIALOG(obj) \
52 (G_TYPE_CHECK_INSTANCE_CAST((obj), EMPATHY_TYPE_PASSWORD_DIALOG, \
53 EmpathyPasswordDialog))
54 #define EMPATHY_PASSWORD_DIALOG_CLASS(klass) \
55 (G_TYPE_CHECK_CLASS_CAST((klass), EMPATHY_TYPE_PASSWORD_DIALOG, \
56 EmpathyPasswordDialogClass))
57 #define EMPATHY_IS_PASSWORD_DIALOG(obj) \
58 (G_TYPE_CHECK_INSTANCE_TYPE((obj), EMPATHY_TYPE_PASSWORD_DIALOG))
59 #define EMPATHY_IS_PASSWORD_DIALOG_CLASS(klass) \
60 (G_TYPE_CHECK_CLASS_TYPE((klass), EMPATHY_TYPE_PASSWORD_DIALOG))
61 #define EMPATHY_PASSWORD_DIALOG_GET_CLASS(obj) \
62 (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_PASSWORD_DIALOG, \
63 EmpathyPasswordDialogClass))
65 GtkWidget * empathy_password_dialog_new (EmpathyServerSASLHandler *handler);
69 #endif /* #ifndef __EMPATHY_PASSWORD_DIALOG_H__*/