Merge branch 'gnome-3-6'
[empathy-mirror.git] / libempathy-gtk / empathy-base-password-dialog.h
blobc144a665bcb98758cc503703402325d1d19c12b2
1 /*
2 * empathy-base-password-dialog.h - Header for EmpathyBasePasswordDialog
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_BASE_PASSWORD_DIALOG_H__
21 #define __EMPATHY_BASE_PASSWORD_DIALOG_H__
23 #include <glib-object.h>
24 #include <gtk/gtk.h>
26 #include <libempathy/empathy-server-sasl-handler.h>
28 #include <extensions/extensions.h>
30 G_BEGIN_DECLS
32 typedef struct _EmpathyBasePasswordDialog EmpathyBasePasswordDialog;
33 typedef struct _EmpathyBasePasswordDialogClass EmpathyBasePasswordDialogClass;
34 typedef struct _EmpathyBasePasswordDialogPriv EmpathyBasePasswordDialogPriv;
36 struct _EmpathyBasePasswordDialogClass {
37 GtkMessageDialogClass parent_class;
40 struct _EmpathyBasePasswordDialog {
41 GtkMessageDialog parent;
42 EmpathyBasePasswordDialogPriv *priv;
44 /* protected */
45 TpAccount *account;
46 GtkWidget *entry;
47 GtkWidget *ticky;
48 GtkWidget *ok_button;
51 GType empathy_base_password_dialog_get_type (void);
53 #define EMPATHY_TYPE_BASE_PASSWORD_DIALOG \
54 (empathy_base_password_dialog_get_type ())
55 #define EMPATHY_BASE_PASSWORD_DIALOG(obj) \
56 (G_TYPE_CHECK_INSTANCE_CAST((obj), EMPATHY_TYPE_BASE_PASSWORD_DIALOG, \
57 EmpathyBasePasswordDialog))
58 #define EMPATHY_BASE_PASSWORD_DIALOG_CLASS(klass) \
59 (G_TYPE_CHECK_CLASS_CAST((klass), EMPATHY_TYPE_BASE_PASSWORD_DIALOG, \
60 EmpathyBasePasswordDialogClass))
61 #define EMPATHY_IS_BASE_PASSWORD_DIALOG(obj) \
62 (G_TYPE_CHECK_INSTANCE_TYPE((obj), EMPATHY_TYPE_BASE_PASSWORD_DIALOG))
63 #define EMPATHY_IS_BASE_PASSWORD_DIALOG_CLASS(klass) \
64 (G_TYPE_CHECK_CLASS_TYPE((klass), EMPATHY_TYPE_BASE_PASSWORD_DIALOG))
65 #define EMPATHY_BASE_PASSWORD_DIALOG_GET_CLASS(obj) \
66 (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_BASE_PASSWORD_DIALOG, \
67 EmpathyBasePasswordDialogClass))
69 G_END_DECLS
71 #endif /* #ifndef __EMPATHY_BASE_PASSWORD_DIALOG_H__*/