diff options
Diffstat (limited to 'src/items.h')
| -rw-r--r-- | src/items.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/items.h b/src/items.h index 331f29e..b502e71 100644 --- a/src/items.h +++ b/src/items.h @@ -39,6 +39,15 @@ typedef enum { AUTH_TYPE_BASIC } TAuthType; +typedef enum { + CROP_HINT_UNDEFINED = 0, + CROP_HINT_CENTER, + CROP_HINT_LEFT, + CROP_HINT_RIGHT, + CROP_HINT_TOP, + CROP_HINT_BOTTOM +} TCropHint; + typedef struct { TGalleryType type; gchar *ID; @@ -66,6 +75,7 @@ typedef struct { TAuthType auth_type; int metadata_tz_shift; /* minutes */ time_t metadata_fake_datetime; + TCropHint thumbnail_crop_hint; } TAlbum; typedef struct { @@ -85,6 +95,7 @@ typedef struct { gchar *metadata_external_exif; int metadata_tz_shift; /* minutes */ time_t metadata_fake_datetime; + TCropHint thumbnail_crop_hint; } TIndexItem; typedef struct { @@ -115,7 +126,7 @@ void free_album_data (TAlbum *index); /* * get_album_info: retrieve number of items and protected status in the specified album */ -void get_album_info (const gchar *filename, int *objects_count, gboolean *protected); +void get_album_info (const gchar *filename, int *objects_count, gboolean *is_protected); /* * get_album_titles: retrieve title, description and first thumbnail from specified album |
