1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3
* Copyright (C) 2008 Philip Withnall <philip@tecnocode.co.uk>
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
10
* This program 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
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
* The Totem project hereby grant permission for non-gpl compatible GStreamer
20
* plugins to be used and distributed together with GStreamer and Totem. This
21
* permission are above and beyond the permissions granted by the GPL license
22
* Totem is covered by.
24
* Monday 7th February 2005: Christian Schaller: Add exception clause.
25
* See license_change file for details.
28
#ifndef TOTEM_GALLERY_H
29
#define TOTEM_GALLERY_H
32
#include <glib-object.h>
35
#include "totem-plugin.h"
40
#define TOTEM_TYPE_GALLERY (totem_gallery_get_type ())
41
#define TOTEM_GALLERY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TOTEM_TYPE_GALLERY, TotemGallery))
42
#define TOTEM_GALLERY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), TOTEM_TYPE_GALLERY, TotemGalleryClass))
43
#define TOTEM_IS_GALLERY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TOTEM_TYPE_GALLERY))
44
#define TOTEM_IS_GALLERY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TOTEM_TYPE_GALLERY))
45
#define TOTEM_GALLERY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TOTEM_TYPE_GALLERY, TotemGalleryClass))
47
typedef struct _TotemGalleryPrivate TotemGalleryPrivate;
50
GtkFileChooserDialog parent;
51
TotemGalleryPrivate *priv;
55
GtkFileChooserDialogClass parent;
58
GType totem_gallery_get_type (void);
59
TotemGallery *totem_gallery_new (Totem *totem, TotemPlugin *plugin);
63
#endif /* !TOTEM_GALLERY_H */