6
* Copyright (C) 2001, 2003 The Free Software Foundation, Inc.
6
* Copyright (C) 2001, 2003, 2007 The Free Software Foundation, Inc.
8
8
* This program is free software; you can redistribute it and/or modify
9
9
* it under the terms of the GNU General Public License as published by
28
28
#include <libgnomevfs/gnome-vfs-file-size.h>
29
29
#include <libgnomevfs/gnome-vfs-uri.h>
30
30
#include "image-loader.h"
31
#include "file-data.h"
33
33
#define THUMB_LOADER_TYPE (thumb_loader_get_type ())
34
34
#define THUMB_LOADER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), THUMB_LOADER_TYPE, ThumbLoader))
62
GType thumb_loader_get_type (void);
63
GObject * thumb_loader_new (const char *path,
66
void thumb_loader_set_thumb_size (ThumbLoader *tl,
69
void thumb_loader_use_cache (ThumbLoader *tl,
71
void thumb_loader_set_max_file_size (ThumbLoader *tl,
72
GnomeVFSFileSize size);
73
void thumb_loader_set_path (ThumbLoader *tl,
75
const char *mime_type);
76
GdkPixbuf * thumb_loader_get_pixbuf (ThumbLoader *tl);
77
void thumb_loader_start (ThumbLoader *tl);
78
void thumb_loader_stop (ThumbLoader *tl,
80
gpointer done_func_data);
62
GType thumb_loader_get_type (void);
63
GObject *thumb_loader_new (int width,
65
void thumb_loader_set_thumb_size (ThumbLoader *tl,
68
void thumb_loader_use_cache (ThumbLoader *tl,
70
void thumb_loader_save_thumbnails (ThumbLoader *tl,
72
void thumb_loader_set_max_file_size (ThumbLoader *tl,
73
GnomeVFSFileSize size);
74
void thumb_loader_set_file (ThumbLoader *tl,
76
void thumb_loader_set_path (ThumbLoader *tl,
78
GdkPixbuf *thumb_loader_get_pixbuf (ThumbLoader *tl);
79
void thumb_loader_start (ThumbLoader *tl);
80
void thumb_loader_stop (ThumbLoader *tl,
82
gpointer done_func_data);
82
84
#endif /* THUMB_LOADER_H */