~jeremywootten/pantheon-files/fix-1604300-merge-find-functionalities-part2

« back to all changes in this revision

Viewing changes to src/marlin-thumbnailer.h

  • Committer: Jeremy Wootten
  • Date: 2017-02-04 13:36:10 UTC
  • mfrom: (2412.1.58 pantheon-files)
  • Revision ID: jeremy@elementaryos.org-20170204133610-mvwfsvos5p4njkd3
Merge trunk to r2470

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*-
2
 
 * Copyright (c) 2009-2011 Jannis Pohlmann <jannis@xfce.org>
3
 
 *
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.
8
 
 *
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.
13
 
 *
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.
18
 
 */
19
 
 
20
 
#ifndef __MARLIN_THUMBNAILER_H__
21
 
#define __MARLIN_THUMBNAILER_H__
22
 
 
23
 
#include "gof-file.h"
24
 
 
25
 
G_BEGIN_DECLS
26
 
 
27
 
typedef struct _MarlinThumbnailerClass MarlinThumbnailerClass;
28
 
typedef struct _MarlinThumbnailer      MarlinThumbnailer;
29
 
 
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))
36
 
 
37
 
GType              marlin_thumbnailer_get_type        (void) G_GNUC_CONST;
38
 
 
39
 
MarlinThumbnailer *marlin_thumbnailer_new             (void) G_GNUC_MALLOC;
40
 
 
41
 
MarlinThumbnailer *marlin_thumbnailer_get             (void) G_GNUC_MALLOC;
42
 
 
43
 
gboolean           marlin_thumbnailer_queue_file      (MarlinThumbnailer  *thumbnailer,
44
 
                                                       GOFFile            *file,
45
 
                                                       guint              *request,
46
 
                                                       gboolean large);
47
 
gboolean           marlin_thumbnailer_queue_files     (MarlinThumbnailer  *thumbnailer,
48
 
                                                       GList              *files,
49
 
                                                       guint              *request,
50
 
                                                       gboolean large);
51
 
void               marlin_thumbnailer_dequeue         (MarlinThumbnailer  *thumbnailer,
52
 
                                                       guint               request);
53
 
 
54
 
G_END_DECLS
55
 
 
56
 
#endif /* !__MARLIN_THUMBNAILER_H__ */