1
/* vi:set et ai sw=2 sts=2 ts=2: */
3
* Copyright (c) 2009 Jannis Pohlmann <jannis@xfce.org>
4
* Copyright (c) 2011 Nick Schermer <nick@xfce.org>
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Library General Public
8
* License as published by the Free Software Foundation; either
9
* version 2 of the License, or (at your option) any later version.
11
* This library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU Library General Public License for more details.
16
* You should have received a copy of the GNU Library General
17
* Public License along with this library; if not, write to the
18
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19
* Boston, MA 02110-1301, USA.
22
#ifndef __ODF_THUMBNAILER_H__
23
#define __ODF_THUMBNAILER_H__
25
#include <glib-object.h>
29
#define TYPE_ODF_THUMBNAILER (odf_thumbnailer_get_type ())
30
#define ODF_THUMBNAILER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ODF_THUMBNAILER, OdfThumbnailer))
31
#define ODF_THUMBNAILER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ODF_THUMBNAILER, OdfThumbnailerClass))
32
#define IS_ODF_THUMBNAILER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ODF_THUMBNAILER))
33
#define IS_ODF_THUMBNAILER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ODF_THUMBNAILER)
34
#define ODF_THUMBNAILER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ODF_THUMBNAILER, OdfThumbnailerClass))
36
typedef struct _OdfThumbnailerClass OdfThumbnailerClass;
37
typedef struct _OdfThumbnailer OdfThumbnailer;
39
GType odf_thumbnailer_get_type (void) G_GNUC_CONST;
40
void odf_thumbnailer_register (TumblerProviderPlugin *plugin);
44
#endif /* !__ODF_THUMBNAILER_H__ */