1 /* gtkam-close.h 2 * 3 * Copyright 2001,2002 Lutz Mueller <lutz@users.sf.net> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (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 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 17 */ 18 19 #ifndef __GTKAM_CLOSE_H__ 20 #define __GTKAM_CLOSE_H__ 21 22 #include <gtkam-dialog.h> 23 24 #define GTKAM_TYPE_CLOSE (gtkam_close_get_type ()) 25 #define GTKAM_CLOSE(o) (GTK_CHECK_CAST((o),GTKAM_TYPE_CLOSE,GtkamClose)) 26 #define GTKAM_IS_CLOSE(o) (GTK_CHECK_TYPE((o),GTKAM_TYPE_CLOSE)) 27 28 typedef struct _GtkamClose GtkamClose; 29 typedef struct _GtkamClosePrivate GtkamClosePrivate; 30 typedef struct _GtkamCloseClass GtkamCloseClass; 31 32 struct _GtkamClose 33 { 34 GtkamDialog parent; 35 36 GtkamClosePrivate *priv; 37 }; 38 39 struct _GtkamCloseClass 40 { 41 GtkamDialogClass parent_class; 42 }; 43 44 GtkType gtkam_close_get_type (void); 45 GtkWidget *gtkam_close_new (const gchar *msg); 46 47 #endif /* __GTKAM_CLOSE_H__ */ 48