1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- |
---|
2 | * |
---|
3 | * Copyright (C) 2008 Red Hat, Inc. |
---|
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, write to the Free Software |
---|
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
18 | * |
---|
19 | * Written by: Ray Strode <rstrode@redhat.com> |
---|
20 | */ |
---|
21 | #ifndef __GDM_CELL_RENDERER_TIMER_H |
---|
22 | #define __GDM_CELL_RENDERER_TIMER_H |
---|
23 | |
---|
24 | #include <gtk/gtk.h> |
---|
25 | |
---|
26 | G_BEGIN_DECLS |
---|
27 | |
---|
28 | #define GDM_TYPE_CELL_RENDERER_TIMER (gdm_cell_renderer_timer_get_type ()) |
---|
29 | #define GDM_CELL_RENDERER_TIMER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GDM_TYPE_CELL_RENDERER_TIMER, GdmCellRendererTimer)) |
---|
30 | #define GDM_CELL_RENDERER_TIMER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDM_TYPE_CELL_RENDERER_TIMER, GdmCellRendererTimerClass)) |
---|
31 | #define GTK_IS_CELL_RENDERER_TIMER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GDM_TYPE_CELL_RENDERER_TIMER)) |
---|
32 | #define GTK_IS_CELL_RENDERER_TIMER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDM_TYPE_CELL_RENDERER_TIMER)) |
---|
33 | #define GDM_CELL_RENDERER_TIMER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDM_TYPE_CELL_RENDERER_TIMER, GdmCellRendererTimerClass)) |
---|
34 | |
---|
35 | typedef struct _GdmCellRendererTimer GdmCellRendererTimer; |
---|
36 | typedef struct _GdmCellRendererTimerClass GdmCellRendererTimerClass; |
---|
37 | typedef struct _GdmCellRendererTimerPrivate GdmCellRendererTimerPrivate; |
---|
38 | |
---|
39 | struct _GdmCellRendererTimer |
---|
40 | { |
---|
41 | GtkCellRenderer parent; |
---|
42 | |
---|
43 | /*< private >*/ |
---|
44 | GdmCellRendererTimerPrivate *priv; |
---|
45 | }; |
---|
46 | |
---|
47 | struct _GdmCellRendererTimerClass |
---|
48 | { |
---|
49 | GtkCellRendererClass parent_class; |
---|
50 | }; |
---|
51 | |
---|
52 | GType gdm_cell_renderer_timer_get_type (void); |
---|
53 | GtkCellRenderer* gdm_cell_renderer_timer_new (void); |
---|
54 | |
---|
55 | G_END_DECLS |
---|
56 | |
---|
57 | #endif /* __GDM_CELL_RENDERER_TIMER_H */ |
---|