diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-06-06 15:22:23 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-06-08 02:51:54 +0200 |
commit | 930744e1652c9ec5ad6447c0a2a1e486cae9a2a9 (patch) | |
tree | 4353caf33e417faf30ab7d6eb2ee5330d6a4f835 /fiv-thumbnail.h | |
parent | 4ca8825e02ff8959e3790df2d7818ecfb4134963 (diff) | |
download | fiv-930744e1652c9ec5ad6447c0a2a1e486cae9a2a9.tar.gz fiv-930744e1652c9ec5ad6447c0a2a1e486cae9a2a9.tar.xz fiv-930744e1652c9ec5ad6447c0a2a1e486cae9a2a9.zip |
Add flags to the serialization protocol
It still needs no versioning, as it's not really used by anyone.
An alternative method of passing a "low-quality" flag would be
perusing fiv_thumbnail_key_lq from fiv-thumbnail.c, which would
create a circular dependency, unless fiv_io_{de,}serialize*()
were moved to fiv-thumbnail.c.
Diffstat (limited to 'fiv-thumbnail.h')
-rw-r--r-- | fiv-thumbnail.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fiv-thumbnail.h b/fiv-thumbnail.h index 822e609..35b93fe 100644 --- a/fiv-thumbnail.h +++ b/fiv-thumbnail.h @@ -45,10 +45,10 @@ typedef struct _FivThumbnailSizeInfo { const char *thumbnail_spec_name; ///< thumbnail-spec directory name } FivThumbnailSizeInfo; -extern FivThumbnailSizeInfo fiv_thumbnail_sizes[FIV_THUMBNAIL_SIZE_COUNT]; - enum { FIV_THUMBNAIL_WIDE_COEFFICIENT = 2 }; +extern FivThumbnailSizeInfo fiv_thumbnail_sizes[FIV_THUMBNAIL_SIZE_COUNT]; + /// If non-NULL, indicates a thumbnail of insufficient quality. extern cairo_user_data_key_t fiv_thumbnail_key_lq; |