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

Last change on this file was 14724, checked in by jordan, 6 years ago

use '#pragma once' instead of #ifndef..#define..#endif guards

  • Property svn:keywords set to Date Rev Author Id
File size: 912 bytes
Line 
1/*
2 * This file Copyright (C) 2007-2014 Mnemosyne LLC
3 *
4 * It may be used under the GNU GPL versions 2 or 3
5 * or any future license endorsed by Mnemosyne LLC.
6 *
7 * $Id: torrent-cell-renderer.h 14724 2016-03-29 16:37:21Z mikedld $
8 */
9
10#pragma once
11
12#include <gtk/gtk.h>
13
14#define TORRENT_CELL_RENDERER_TYPE (torrent_cell_renderer_get_type ())
15
16#define TORRENT_CELL_RENDERER(o) \
17  (G_TYPE_CHECK_INSTANCE_CAST ((o), \
18                                 TORRENT_CELL_RENDERER_TYPE, \
19                                 TorrentCellRenderer))
20
21typedef struct TorrentCellRenderer TorrentCellRenderer;
22
23typedef struct TorrentCellRendererClass TorrentCellRendererClass;
24
25struct TorrentCellRenderer
26{
27    GtkCellRenderer parent;
28
29    /*< private >*/
30    struct TorrentCellRendererPrivate * priv;
31};
32
33struct TorrentCellRendererClass
34{
35    GtkCellRendererClass parent;
36};
37
38GType torrent_cell_renderer_get_type (void) G_GNUC_CONST;
39
40GtkCellRenderer * torrent_cell_renderer_new (void);
41
Note: See TracBrowser for help on using the repository browser.