summaryrefslogtreecommitdiff
path: root/tumbler/tumbler-enum-types.h
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis@xfce.org>2009-05-22 21:25:29 +0200
committerJannis Pohlmann <jannis@xfce.org>2009-05-22 21:25:29 +0200
commitaa186ccb54907cada638850637d93b41e119e388 (patch)
tree4beaba4244cf02cf71cc637113f49abc120fa2b0 /tumbler/tumbler-enum-types.h
parent1be38c8bbcc386fba086b65f63c164dc33214ab4 (diff)
downloadtumbler-aa186ccb54907cada638850637d93b41e119e388.tar.gz
Add TumblerThumbnailInfo and TumblerThumbnailFormat enum.
TumblerThumbnailInfo is an interface for querying thumbnail information for a certain TumblerThumbnailFormat (PNG, JPEG etc.). By default only PNG is supported, via TumblerPNGThumbnailInfo, as required for the Thumbnail Managing Standard. TumblerThumbnailInfo acts as a factory which creates a thumbnail info for an URI (and optionall, a format). The returned thumbnail info provides information about the existence of a certain thumbnail flavor for the URI and other bits defined in the Thumbnail Managing Standard. See http://jens.triq.net/thumbnail-spec/creation.html fore more info. Right now, there's nothing implemented. These are just skeletons.
Diffstat (limited to 'tumbler/tumbler-enum-types.h')
-rw-r--r--tumbler/tumbler-enum-types.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tumbler/tumbler-enum-types.h b/tumbler/tumbler-enum-types.h
index 98465f4..962f981 100644
--- a/tumbler/tumbler-enum-types.h
+++ b/tumbler/tumbler-enum-types.h
@@ -41,6 +41,16 @@ typedef enum /*< enum >*/
GType tumbler_thumbnail_flavor_get_type (void);
+#define TUMBLER_TYPE_THUMBNAIL_FORMAT (tumbler_thumbnail_format_get_type ())
+
+typedef enum /*< enum >*/
+{
+ TUMBLER_THUMBNAIL_FORMAT_INVALID,
+ TUMBLER_THUMBNAIL_FORMAT_PNG,
+} TumblerThumbnailFormat;
+
+GType tumbler_thumbnail_format_get_type (void);
+
G_END_DECLS
#endif /* !__TUMBLER_ENUM_TYPES_H__ */