root/trunk/libtinymailui-gtk/tny-gtk-password-dialog.h

Revision 2825 (checked in by pvanhoof, 1 year ago)
        • Changed the address of FSF in the copyright notes
Line 
1 #ifndef TNY_GTK_PASSWORD_DIALOG_H
2 #define TNY_GTK_PASSWORD_DIALOG_H
3
4 /* libtinymailui-gtk - The Tiny Mail base library for Gtk
5  * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gtk.org>
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with self library; if not, write to the
19  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  * Boston, MA 02110-1301, USA.
21  */
22
23 #include <gtk/gtk.h>
24 #include <glib-object.h>
25 #include <tny-shared.h>
26 #include <tny-password-getter.h>
27
28 G_BEGIN_DECLS
29
30 #define TNY_TYPE_GTK_PASSWORD_DIALOG             (tny_gtk_password_dialog_get_type ())
31 #define TNY_GTK_PASSWORD_DIALOG(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), TNY_TYPE_GTK_PASSWORD_DIALOG, TnyGtkPasswordDialog))
32 #define TNY_GTK_PASSWORD_DIALOG_CLASS(vtable)    (G_TYPE_CHECK_CLASS_CAST ((vtable), TNY_TYPE_GTK_PASSWORD_DIALOG, TnyGtkPasswordDialogClass))
33 #define TNY_IS_GTK_PASSWORD_DIALOG(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TNY_TYPE_GTK_PASSWORD_DIALOG))
34 #define TNY_IS_GTK_PASSWORD_DIALOG_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TNY_TYPE_GTK_PASSWORD_DIALOG))
35 #define TNY_GTK_PASSWORD_DIALOG_GET_CLASS(inst)  (G_TYPE_INSTANCE_GET_CLASS ((inst), TNY_TYPE_GTK_PASSWORD_DIALOG, TnyGtkPasswordDialogClass))
36
37 typedef struct _TnyGtkPasswordDialog TnyGtkPasswordDialog;
38 typedef struct _TnyGtkPasswordDialogClass TnyGtkPasswordDialogClass;
39
40 struct _TnyGtkPasswordDialog
41 {
42         GObject parent;
43 };
44
45 struct _TnyGtkPasswordDialogClass
46 {
47         GObjectClass parent_class;
48 };
49
50 GType tny_gtk_password_dialog_get_type (void);
51 TnyPasswordGetter* tny_gtk_password_dialog_new (void);
52
53 G_END_DECLS
54
55 #endif
Note: See TracBrowser for help on using the browser.