source: trunk/gtk/torrent-cell-renderer.h @ 12658

Last change on this file since 12658 was 12658, checked in by jordan, 10 years ago

(trunk gtk) use G_DEFINE_TYPE when implementing the tr-core and torent-cell-renderer classes

  • Property svn:keywords set to Date Rev Author Id
File size: 1.2 KB
Line 
1/*
2 * This file Copyright (C) Mnemosyne LLC
3 *
4 * This file is licensed by the GPL version 2. Works owned by the
5 * Transmission project are granted a special exemption to clause 2(b)
6 * so that the bulk of its code can remain under the MIT license.
7 * This exemption does not extend to derived works not owned by
8 * the Transmission project.
9 *
10 * $Id: torrent-cell-renderer.h 12658 2011-08-09 05:47:24Z jordan $
11 */
12
13#ifndef GTR_TORRENT_CELL_RENDERER_H
14#define GTR_TORRENT_CELL_RENDERER_H
15
16#include <gtk/gtk.h>
17
18#define TORRENT_CELL_RENDERER_TYPE ( torrent_cell_renderer_get_type( ) )
19
20#define TORRENT_CELL_RENDERER( o ) \
21    ( G_TYPE_CHECK_INSTANCE_CAST( ( o ), \
22                                 TORRENT_CELL_RENDERER_TYPE, \
23                                 TorrentCellRenderer ) )
24
25typedef struct TorrentCellRenderer TorrentCellRenderer;
26
27typedef struct TorrentCellRendererClass TorrentCellRendererClass;
28
29struct TorrentCellRenderer
30{
31    GtkCellRenderer parent;
32
33    /*< private >*/
34    struct TorrentCellRendererPrivate * priv;
35};
36
37struct TorrentCellRendererClass
38{
39    GtkCellRendererClass parent;
40};
41
42GType torrent_cell_renderer_get_type( void ) G_GNUC_CONST;
43
44GtkCellRenderer * torrent_cell_renderer_new( void );
45
46#endif /* GTR_TORRENT_CELL_RENDERER_H */
Note: See TracBrowser for help on using the repository browser.