source: trunk/gtk/trcellrenderertorrent.h @ 70

Last change on this file since 70 was 70, checked in by joshe, 16 years ago

Rename a few files now that we're using subversion and it's easy.

File size: 2.8 KB
Line 
1/* trcellrenderertorrent.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 __TR_CELL_RENDERER_TORRENT_H__
28#define __TR_CELL_RENDERER_TORRENT_H__
29
30#include <gtk/gtkcellrenderer.h>
31
32G_BEGIN_DECLS
33
34#define GTK_TYPE_CELL_RENDERER_TORRENT (tr_cell_renderer_torrent_get_type ())
35#define TR_CELL_RENDERER_TORRENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_TORRENT, TrCellRendererTorrent))
36#define TR_CELL_RENDERER_TORRENT_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_TORRENT, TrCellRendererTorrentClass))
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 TR_CELL_RENDERER_TORRENT_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_TORRENT, TrCellRendererTorrentClass))
40
41typedef struct _TrCellRendererTorrent         TrCellRendererTorrent;
42typedef struct _TrCellRendererTorrentClass    TrCellRendererTorrentClass;
43typedef struct _TrCellRendererTorrentPrivate  TrCellRendererTorrentPrivate;
44
45struct _TrCellRendererTorrent
46{
47  GtkCellRenderer parent_instance;
48 
49  /*< private >*/
50  TrCellRendererTorrentPrivate *priv;
51};
52
53struct _TrCellRendererTorrentClass
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            tr_cell_renderer_torrent_get_type (void) G_GNUC_CONST;
65GtkCellRenderer* tr_cell_renderer_torrent_new      (void);
66void tr_cell_renderer_torrent_reset_style(TrCellRendererTorrent *);
67
68G_END_DECLS
69
70#endif  /* __TR_CELL_RENDERER_TORRENT_H__ */
Note: See TracBrowser for help on using the repository browser.