1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
6
* Copyright (C) 2009 The Free Software Foundation, Inc.
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.
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.
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/>.
22
#ifndef GTH_IMAGE_LIST_TASK_H
23
#define GTH_IMAGE_LIST_TASK_H
26
#include "gth-browser.h"
27
#include "gth-image-task.h"
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))
39
typedef struct _GthImageListTask GthImageListTask;
40
typedef struct _GthImageListTaskClass GthImageListTaskClass;
41
typedef struct _GthImageListTaskPrivate GthImageListTaskPrivate;
43
struct _GthImageListTask {
45
GthImageListTaskPrivate *priv;
48
struct _GthImageListTaskClass {
49
GthTaskClass __parent;
52
GType gth_image_list_task_get_type (void);
53
GthTask * gth_image_list_task_new (GthBrowser *browser,
54
GList *file_list, /* GthFileData list */
56
void gth_image_list_task_set_destination (GthImageListTask *self,
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);
65
#endif /* GTH_IMAGE_LIST_TASK_H */