1 | /* gtkcellrendererprogress.h |
2 | * Copyright (C) 2002 Naba Kumar <[email protected]> |
3 | * modified by Jörgen Scheibengruber <[email protected]> |
4 | * |
5 | * This library is free software; you can redistribute it and/or |
6 | * modify it under the terms of the GNU Library General Public |
7 | * License as published by the Free Software Foundation; either |
8 | * version 2 of the License, or (at your option) any later version. |
9 | * |
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 | * Library General Public License for more details. |
14 | * |
15 | * You should have received a copy of the GNU Library General Public |
16 | * License along with this library; if not, write to the |
17 | * Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
18 | * Boston, MA 02111-1307, USA. |
19 | */ |
20 | |
21 | /* |
22 | * Modified by the GTK+ Team and others 1997-2004. See the AUTHORS |
23 | * file for a list of people on the GTK+ Team. See the ChangeLog |
24 | * files for a list of changes. These files are distributed with |
25 | * GTK+ at ftp://ftp.gtk.org/pub/gtk/. |
26 | */ |
27 | |
28 | #ifndef __GTK_CELL_RENDERER_PROGRESS_H__ |
29 | #define __GTK_CELL_RENDERER_PROGRESS_H__ |
30 | |
31 | #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) |
32 | #error "Only <gtk/gtk.h> can be included directly." |
33 | #endif |
34 | |
35 | #include <gtk/gtkcellrenderer.h> |
36 | |
37 | G_BEGIN_DECLS |
38 | |
39 | #define GTK_TYPE_CELL_RENDERER_PROGRESS (gtk_cell_renderer_progress_get_type ()) |
40 | #define GTK_CELL_RENDERER_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgress)) |
41 | #define GTK_CELL_RENDERER_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgressClass)) |
42 | #define GTK_IS_CELL_RENDERER_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_PROGRESS)) |
43 | #define GTK_IS_CELL_RENDERER_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_PROGRESS)) |
44 | #define GTK_CELL_RENDERER_PROGRESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgressClass)) |
45 | |
46 | typedef struct _GtkCellRendererProgress GtkCellRendererProgress; |
47 | typedef struct _GtkCellRendererProgressClass GtkCellRendererProgressClass; |
48 | typedef struct _GtkCellRendererProgressPrivate GtkCellRendererProgressPrivate; |
49 | |
50 | struct _GtkCellRendererProgress |
51 | { |
52 | GtkCellRenderer parent_instance; |
53 | |
54 | /*< private >*/ |
55 | GtkCellRendererProgressPrivate *GSEAL (priv); |
56 | }; |
57 | |
58 | struct _GtkCellRendererProgressClass |
59 | { |
60 | GtkCellRendererClass parent_class; |
61 | |
62 | /* Padding for future expansion */ |
63 | void (*_gtk_reserved1) (void); |
64 | void (*_gtk_reserved2) (void); |
65 | void (*_gtk_reserved3) (void); |
66 | void (*_gtk_reserved4) (void); |
67 | }; |
68 | |
69 | GType gtk_cell_renderer_progress_get_type (void) G_GNUC_CONST; |
70 | GtkCellRenderer* gtk_cell_renderer_progress_new (void); |
71 | |
72 | G_END_DECLS |
73 | |
74 | #endif /* __GTK_CELL_RENDERER_PROGRESS_H__ */ |
75 | |