source: branches/joshe/gtk/trcellrenderertorrent.h @ 77

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

Merge rev 68:72 from trunk.

File size: 2.8 KB
RevLine 
[70]1/* trcellrenderertorrent.h
[11]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
[70]27#ifndef __TR_CELL_RENDERER_TORRENT_H__
28#define __TR_CELL_RENDERER_TORRENT_H__
[11]29
30#include <gtk/gtkcellrenderer.h>
31
32G_BEGIN_DECLS
33
[70]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))
[11]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))
[70]39#define TR_CELL_RENDERER_TORRENT_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_TORRENT, TrCellRendererTorrentClass))
[11]40
[70]41typedef struct _TrCellRendererTorrent         TrCellRendererTorrent;
42typedef struct _TrCellRendererTorrentClass    TrCellRendererTorrentClass;
43typedef struct _TrCellRendererTorrentPrivate  TrCellRendererTorrentPrivate;
[11]44
[70]45struct _TrCellRendererTorrent
[11]46{
47  GtkCellRenderer parent_instance;
48 
49  /*< private >*/
[70]50  TrCellRendererTorrentPrivate *priv;
[11]51};
52
[70]53struct _TrCellRendererTorrentClass
[11]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
[70]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 *);
[11]67
68G_END_DECLS
69
[70]70#endif  /* __TR_CELL_RENDERER_TORRENT_H__ */
Note: See TracBrowser for help on using the repository browser.