~ubuntu-branches/ubuntu/intrepid/gthumb/intrepid-proposed

« back to all changes in this revision

Viewing changes to libgthumb/thumb-loader.h

  • Committer: Bazaar Package Importer
  • Author(s): Aron Sisak
  • Date: 2007-08-28 11:58:10 UTC
  • mto: (3.1.2 lenny)
  • mto: This revision was merged to the branch mainline in revision 32.
  • Revision ID: james.westby@ubuntu.com-20070828115810-4k374y5y35aq4cj3
Tags: upstream-2.10.6
ImportĀ upstreamĀ versionĀ 2.10.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
/*
4
4
 *  GThumb
5
5
 *
6
 
 *  Copyright (C) 2001, 2003 The Free Software Foundation, Inc.
 
6
 *  Copyright (C) 2001, 2003, 2007 The Free Software Foundation, Inc.
7
7
 *
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
 
 
 
31
#include "file-data.h"
32
32
 
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))
59
59
                                    float        percent);
60
60
};
61
61
 
62
 
GType             thumb_loader_get_type           (void);
63
 
GObject *         thumb_loader_new                (const char        *path,
64
 
                                                   int                width,
65
 
                                                   int                height);
66
 
void              thumb_loader_set_thumb_size     (ThumbLoader       *tl,
67
 
                                                   int                width,
68
 
                                                   int                height);                                     
69
 
void              thumb_loader_use_cache          (ThumbLoader       *tl,
70
 
                                                   gboolean           use);
71
 
void              thumb_loader_set_max_file_size  (ThumbLoader       *tl,
72
 
                                                   GnomeVFSFileSize   size);
73
 
void              thumb_loader_set_path           (ThumbLoader       *tl,
74
 
                                                   const char        *path,
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,
79
 
                                                   DoneFunc           done_func,
80
 
                                                   gpointer           done_func_data);
 
62
GType      thumb_loader_get_type           (void);
 
63
GObject   *thumb_loader_new                (int                width,
 
64
                                            int                height);
 
65
void       thumb_loader_set_thumb_size     (ThumbLoader       *tl,
 
66
                                            int                width,
 
67
                                            int                height);                                    
 
68
void       thumb_loader_use_cache          (ThumbLoader       *tl,
 
69
                                            gboolean           use);
 
70
void       thumb_loader_save_thumbnails    (ThumbLoader       *tl,
 
71
                                            gboolean           save);
 
72
void       thumb_loader_set_max_file_size  (ThumbLoader       *tl,
 
73
                                            GnomeVFSFileSize   size);
 
74
void       thumb_loader_set_file           (ThumbLoader       *tl,
 
75
                                            FileData          *fd);
 
76
void       thumb_loader_set_path           (ThumbLoader       *tl,
 
77
                                            const char        *path);
 
78
GdkPixbuf *thumb_loader_get_pixbuf         (ThumbLoader       *tl);
 
79
void       thumb_loader_start              (ThumbLoader       *tl);
 
80
void       thumb_loader_stop               (ThumbLoader       *tl,
 
81
                                            DoneFunc           done_func,
 
82
                                            gpointer           done_func_data);
81
83
 
82
84
#endif /* THUMB_LOADER_H */