source: trunk/gtk/gtkcellrenderertorrent.h @ 18

Last change on this file since 18 was 18, checked in by root, 16 years ago

Update 2005-12-19

File size: 2.8 KB
Line 
1/* gtkcellrenderertorrent.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, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
19 */
20/*
21 * Modified by the GTK+ Team and others 1997-2004.  See the AUTHORS
22 * file for a list of people on the GTK+ Team.  See the ChangeLog
23 * files for a list of changes.  These files are distributed with
24 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
25 */
26
27#ifndef __GTK_CELL_RENDERER_TORRENT_H__
28#define __GTK_CELL_RENDERER_TORRENT_H__
29
30#include <gtk/gtkcellrenderer.h>
31
32G_BEGIN_DECLS
33
34#define GTK_TYPE_CELL_RENDERER_TORRENT (gtk_cell_renderer_torrent_get_type ())
35#define GTK_CELL_RENDERER_TORRENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_TORRENT, GtkCellRendererTorrent))
36#define GTK_CELL_RENDERER_TORRENT_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_TORRENT, GtkCellRendererTorrentClass))
37#define GTK_IS_CELL_RENDERER_TORRENT(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_TORRENT))
38#define GTK_IS_CELL_RENDERER_TORRENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_TORRENT))
39#define GTK_CELL_RENDERER_TORRENT_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_TORRENT, GtkCellRendererTorrentClass))
40
41typedef struct _GtkCellRendererTorrent         GtkCellRendererTorrent;
42typedef struct _GtkCellRendererTorrentClass    GtkCellRendererTorrentClass;
43typedef struct _GtkCellRendererTorrentPrivate  GtkCellRendererTorrentPrivate;
44
45struct _GtkCellRendererTorrent
46{
47  GtkCellRenderer parent_instance;
48 
49  /*< private >*/
50  GtkCellRendererTorrentPrivate *priv;
51};
52
53struct _GtkCellRendererTorrentClass
54{
55  GtkCellRendererClass parent_class;
56
57  /* Padding for future expansion */
58  void (*_gtk_reserved1) (void);
59  void (*_gtk_reserved2) (void);
60  void (*_gtk_reserved3) (void);
61  void (*_gtk_reserved4) (void);
62};
63
64GType            gtk_cell_renderer_torrent_get_type (void) G_GNUC_CONST;
65GtkCellRenderer* gtk_cell_renderer_torrent_new      (void);
66void gtk_cell_renderer_torrent_reset_style(GtkCellRendererTorrent *);
67
68G_END_DECLS
69
70#endif  /* __GTK_CELL_RENDERER_TORRENT_H__ */
Note: See TracBrowser for help on using the repository browser.