| 1 | /* gtkcellrendererprogress.h | 
| 2 |  * Copyright (C) 2002 Naba Kumar <kh_naba@users.sourceforge.net> | 
| 3 |  * modified by Jörgen Scheibengruber <mfcn@gmx.de> | 
| 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, see <http://www.gnu.org/licenses/>. | 
| 17 |  */ | 
| 18 |  | 
| 19 | /* | 
| 20 |  * Modified by the GTK+ Team and others 1997-2004.  See the AUTHORS | 
| 21 |  * file for a list of people on the GTK+ Team.  See the ChangeLog | 
| 22 |  * files for a list of changes.  These files are distributed with | 
| 23 |  * GTK+ at ftp://ftp.gtk.org/pub/gtk/. | 
| 24 |  */ | 
| 25 |  | 
| 26 | #ifndef __GTK_CELL_RENDERER_PROGRESS_H__ | 
| 27 | #define __GTK_CELL_RENDERER_PROGRESS_H__ | 
| 28 |  | 
| 29 | #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) | 
| 30 | #error "Only <gtk/gtk.h> can be included directly." | 
| 31 | #endif | 
| 32 |  | 
| 33 | #include <gtk/gtkcellrenderer.h> | 
| 34 |  | 
| 35 | G_BEGIN_DECLS | 
| 36 |  | 
| 37 | #define GTK_TYPE_CELL_RENDERER_PROGRESS (gtk_cell_renderer_progress_get_type ()) | 
| 38 | #define GTK_CELL_RENDERER_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgress)) | 
| 39 | #define GTK_CELL_RENDERER_PROGRESS_CLASS(klass)	  (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgressClass)) | 
| 40 | #define GTK_IS_CELL_RENDERER_PROGRESS(obj)	  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_PROGRESS)) | 
| 41 | #define GTK_IS_CELL_RENDERER_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_PROGRESS)) | 
| 42 | #define GTK_CELL_RENDERER_PROGRESS_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgressClass)) | 
| 43 |  | 
| 44 | typedef struct _GtkCellRendererProgress         GtkCellRendererProgress; | 
| 45 | typedef struct _GtkCellRendererProgressClass    GtkCellRendererProgressClass; | 
| 46 | typedef struct _GtkCellRendererProgressPrivate  GtkCellRendererProgressPrivate; | 
| 47 |  | 
| 48 | struct _GtkCellRendererProgress | 
| 49 | { | 
| 50 |   GtkCellRenderer parent_instance; | 
| 51 |  | 
| 52 |   /*< private >*/ | 
| 53 |   GtkCellRendererProgressPrivate *priv; | 
| 54 | }; | 
| 55 |  | 
| 56 | struct _GtkCellRendererProgressClass | 
| 57 | { | 
| 58 |   GtkCellRendererClass parent_class; | 
| 59 |  | 
| 60 |   /* Padding for future expansion */ | 
| 61 |   void (*_gtk_reserved1) (void); | 
| 62 |   void (*_gtk_reserved2) (void); | 
| 63 |   void (*_gtk_reserved3) (void); | 
| 64 |   void (*_gtk_reserved4) (void); | 
| 65 | }; | 
| 66 |  | 
| 67 | GDK_AVAILABLE_IN_ALL | 
| 68 | GType		 gtk_cell_renderer_progress_get_type (void) G_GNUC_CONST; | 
| 69 | GDK_AVAILABLE_IN_ALL | 
| 70 | GtkCellRenderer* gtk_cell_renderer_progress_new      (void); | 
| 71 |  | 
| 72 | G_END_DECLS | 
| 73 |  | 
| 74 | #endif  /* __GTK_CELL_RENDERER_PROGRESS_H__ */ | 
| 75 |  |