~ubuntu-branches/ubuntu/trusty/gthumb/trusty

« back to all changes in this revision

Viewing changes to gthumb/gth-image-list-task.h

  • Committer: Package Import Robot
  • Author(s): Jackson Doak
  • Date: 2013-08-31 06:24:51 UTC
  • mfrom: (1.3.17) (5.2.24 sid)
  • Revision ID: package-import@ubuntu.com-20130831062451-0958soi720z0byp6
Tags: 3:3.2.5-1
* New upstream release. Closes: #716729 LP: #1201073
* Set myself as maintainer. Closes: #711827
* debian/control:
  - Build-depend on yelp-tools, libgstreamer1.0-dev, libsecret-1-dev,
    libgstreamer-plugins-base1.0-dev, libwebp-dev
  - Bump standards-version to 3.9.4
  - Bump debhelper to 8
  - Make git URLs canonical
  - Drop depend on libiptcdata0-dev. Closes: #697087
  - Drop depend on gnome keyring since libsecret replaces it
* debian/compat: Set as 8
* debian/rules: 
  - Add --enable-libwebp for WebP support
  - Add --disable-silent-rules for verbose building
  - Enable hardening
* Create debian/source/options
* Refresh all patches so they apply cleanly

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
2
 
 
3
/*
 
4
 *  GThumb
 
5
 *
 
6
 *  Copyright (C) 2009 The Free Software Foundation, Inc.
 
7
 *
 
8
 *  This program is free software; you can redistribute it and/or modify
 
9
 *  it under the terms of the GNU General Public License as published by
 
10
 *  the Free Software Foundation; either version 2 of the License, or
 
11
 *  (at your option) any later version.
 
12
 *
 
13
 *  This program is distributed in the hope that it will be useful,
 
14
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
 *  GNU General Public License for more details.
 
17
 *
 
18
 *  You should have received a copy of the GNU General Public License
 
19
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
20
 */
 
21
 
 
22
#ifndef GTH_IMAGE_LIST_TASK_H
 
23
#define GTH_IMAGE_LIST_TASK_H
 
24
 
 
25
#include <glib.h>
 
26
#include "gth-browser.h"
 
27
#include "gth-image-task.h"
 
28
#include "typedefs.h"
 
29
 
 
30
G_BEGIN_DECLS
 
31
 
 
32
#define GTH_TYPE_IMAGE_LIST_TASK            (gth_image_list_task_get_type ())
 
33
#define GTH_IMAGE_LIST_TASK(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTH_TYPE_IMAGE_LIST_TASK, GthImageListTask))
 
34
#define GTH_IMAGE_LIST_TASK_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GTH_TYPE_IMAGE_LIST_TASK, GthImageListTaskClass))
 
35
#define GTH_IS_IMAGE_LIST_TASK(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTH_TYPE_IMAGE_LIST_TASK))
 
36
#define GTH_IS_IMAGE_LIST_TASK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTH_TYPE_IMAGE_LIST_TASK))
 
37
#define GTH_IMAGE_LIST_TASK_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj), GTH_TYPE_IMAGE_LIST_TASK, GthImageListTaskClass))
 
38
 
 
39
typedef struct _GthImageListTask        GthImageListTask;
 
40
typedef struct _GthImageListTaskClass   GthImageListTaskClass;
 
41
typedef struct _GthImageListTaskPrivate GthImageListTaskPrivate;
 
42
 
 
43
struct _GthImageListTask {
 
44
        GthTask __parent;
 
45
        GthImageListTaskPrivate *priv;
 
46
};
 
47
 
 
48
struct _GthImageListTaskClass {
 
49
        GthTaskClass __parent;
 
50
};
 
51
 
 
52
GType      gth_image_list_task_get_type             (void);
 
53
GthTask *  gth_image_list_task_new                  (GthBrowser          *browser,
 
54
                                                     GList               *file_list, /* GthFileData list */
 
55
                                                     GthImageTask        *task);
 
56
void       gth_image_list_task_set_destination      (GthImageListTask    *self,
 
57
                                                     GFile               *folder);
 
58
void       gth_image_list_task_set_overwrite_mode   (GthImageListTask    *self,
 
59
                                                     GthOverwriteMode     overwrite_mode);
 
60
void       gth_image_list_task_set_output_mime_type (GthImageListTask    *self,
 
61
                                                     const char          *mime_type);
 
62
 
 
63
G_END_DECLS
 
64
 
 
65
#endif /* GTH_IMAGE_LIST_TASK_H */