summaryrefslogtreecommitdiff
path: root/tumbler/tumbler-thumbnailer.h
diff options
context:
space:
mode:
authorNick Schermer <nick@xfce.org>2012-12-16 15:30:09 +0100
committerNick Schermer <nick@xfce.org>2012-12-27 11:28:27 +0100
commit8913e999caed579d62b0021f32db6dfef65ff7f4 (patch)
tree1315cca4400154e20ca4def7908ab7f0759b8544 /tumbler/tumbler-thumbnailer.h
parentf7a3eda07ec55d43f92dd2ebbe717cb5c1ddd81c (diff)
downloadtumbler-8913e999caed579d62b0021f32db6dfef65ff7f4.tar.gz
Add config file system to control thumbnailing plugin.
Settings that allow to change the plugin priority, max file size to act on, white-listed locations or completely disable them.
Diffstat (limited to 'tumbler/tumbler-thumbnailer.h')
-rw-r--r--tumbler/tumbler-thumbnailer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tumbler/tumbler-thumbnailer.h b/tumbler/tumbler-thumbnailer.h
index 00abbbb..313e404 100644
--- a/tumbler/tumbler-thumbnailer.h
+++ b/tumbler/tumbler-thumbnailer.h
@@ -68,6 +68,11 @@ void tumbler_thumbnailer_create (TumblerThumbnailer
gchar **tumbler_thumbnailer_get_hash_keys (TumblerThumbnailer *thumbnailer);
gchar **tumbler_thumbnailer_get_mime_types (TumblerThumbnailer *thumbnailer);
gchar **tumbler_thumbnailer_get_uri_schemes (TumblerThumbnailer *thumbnailer);
+gint tumbler_thumbnailer_get_priority (TumblerThumbnailer *thumbnailer);
+gint64 tumbler_thumbnailer_get_max_file_size (TumblerThumbnailer *thumbnailer);
+
+gboolean tumbler_thumbnailer_supports_location (TumblerThumbnailer *thumbnailer,
+ GFile *file);
gboolean tumbler_thumbnailer_supports_hash_key (TumblerThumbnailer *thumbnailer,
const gchar *hash_key);