1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ 2 /* 3 * Copyright (C) 2002 CodeFactory AB 4 * Copyright (C) 2002 Richard Hult <richard@imendio.com> 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License as 8 * published by the Free Software Foundation; either version 2 of the 9 * License, or (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public 17 * License along with this program; if not, write to the 18 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 19 * Boston, MA 02110-1301, USA. 20 */ 21 22 #ifndef __DRW_BREAK_WINDOW_H__ 23 #define __DRW_BREAK_WINDOW_H__ 24 25 #include <glib.h> 26 #include <gtk/gtk.h> 27 28 G_BEGIN_DECLS 29 30 #define DRW_TYPE_BREAK_WINDOW (drw_break_window_get_type ()) 31 #define DRW_BREAK_WINDOW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DRW_TYPE_BREAK_WINDOW, DrwBreakWindow)) 32 #define DRW_BREAK_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), DRW_TYPE_BREAK_WINDOW, DrwBreakWindowClass)) 33 #define DRW_IS_BREAK_WINDOW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DRW_TYPE_BREAK_WINDOW)) 34 #define DRW_IS_BREAK_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DRW_TYPE_BREAK_WINDOW)) 35 #define DRW_BREAK_WINDOW_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DRW_TYPE_BREAK_WINDOW, DrwBreakWindowClass)) 36 37 typedef struct _DrwBreakWindow DrwBreakWindow; 38 typedef struct _DrwBreakWindowClass DrwBreakWindowClass; 39 typedef struct _DrwBreakWindowPrivate DrwBreakWindowPrivate; 40 41 struct _DrwBreakWindow { 42 GtkWindow parent; 43 44 DrwBreakWindowPrivate *priv; 45 }; 46 47 struct _DrwBreakWindowClass { 48 GtkWindowClass parent_class; 49 }; 50 51 GType drw_break_window_get_type (void) G_GNUC_CONST; 52 GtkWidget * drw_break_window_new (void); 53 54 G_END_DECLS 55 56 #endif /* __DRW_BREAK_WINDOW_H__ */ 57