2
* Copyright (c) 2009-2011 Jannis Pohlmann <jannis@xfce.org>
4
* This program is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU General Public License as
6
* published by the Free Software Foundation; either version 2 of
7
* the License, or (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public
15
* License along with this program; if not, write to the Free
16
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
* Boston, MA 02110-1301, USA.
20
#ifndef __MARLIN_THUMBNAILER_H__
21
#define __MARLIN_THUMBNAILER_H__
27
typedef struct _MarlinThumbnailerClass MarlinThumbnailerClass;
28
typedef struct _MarlinThumbnailer MarlinThumbnailer;
30
#define MARLIN_TYPE_THUMBNAILER (marlin_thumbnailer_get_type ())
31
#define MARLIN_THUMBNAILER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MARLIN_TYPE_THUMBNAILER, MarlinThumbnailer))
32
#define MARLIN_THUMBNAILER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MARLIN_TYPE_THUMBNAILER, MarlinThumbnailerClass))
33
#define MARLIN_IS_THUMBNAILER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MARLIN_TYPE_THUMBNAILER))
34
#define MARLIN_IS_THUMBNAILER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MARLIN_TYPE_THUMBNAILER))
35
#define MARLIN_THUMBNAILER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MARLIN_TYPE_THUMBNAILER, MarlinThumbnailerClass))
37
GType marlin_thumbnailer_get_type (void) G_GNUC_CONST;
39
MarlinThumbnailer *marlin_thumbnailer_new (void) G_GNUC_MALLOC;
41
MarlinThumbnailer *marlin_thumbnailer_get (void) G_GNUC_MALLOC;
43
gboolean marlin_thumbnailer_queue_file (MarlinThumbnailer *thumbnailer,
47
gboolean marlin_thumbnailer_queue_files (MarlinThumbnailer *thumbnailer,
51
void marlin_thumbnailer_dequeue (MarlinThumbnailer *thumbnailer,
56
#endif /* !__MARLIN_THUMBNAILER_H__ */