aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/ephy-cell-renderer-progress.h
blob: 85b632b2ea23a5d111e9e3f28aa52d1afcc77cb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/* cellrenderer.h
 * Copyright (C) 2002 Naba Kumar <kh_naba@users.sourceforge.net>
 * modified by Jörgen Scheibengruber <mfcn@gmx.de>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

#ifndef EPHY_CELL_RENDERER_PROGRESS_H
#define EPHY_CELL_RENDERER_PROGRESS_H

#include <gtk/gtkcellrenderer.h>

G_BEGIN_DECLS

#define EPHY_TYPE_CELL_RENDERER_PROGRESS (ephy_cell_renderer_progress_get_type ())
#define EPHY_CELL_RENDERER_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EPHY_TYPE_CELL_RENDERER_PROGRESS, EphyCellRendererProgress))

typedef struct _EphyCellRendererProgress         EphyCellRendererProgress;
typedef struct _EphyCellRendererProgressClass    EphyCellRendererProgressClass;
typedef struct _EphyCellRendererProgressPrivate  EphyCellRendererProgressPrivate;

enum
{
    EPHY_PROGRESS_CELL_UNKNOWN = -1,
    EPHY_PROGRESS_CELL_FAILED = -2
};

struct _EphyCellRendererProgress
{
    GtkCellRenderer parent_instance;
    EphyCellRendererProgressPrivate *priv;
};

struct _EphyCellRendererProgressClass
{
    GtkCellRendererClass parent_class;
};

GtkType      ephy_cell_renderer_progress_get_type (void);
GtkCellRenderer* ephy_cell_renderer_progress_new      (void);

G_END_DECLS

#endif