EomURIConverter

## EomURIConverter EomURIConverter |

## Synopsis

    enum                EomUCType;
                        EomUCInfo;
    enum                EomUCError;
    #define             EOM_UC_ERROR
                        EomURIConverter;
    GQuark              eom_uc_error_quark                  (void);
    EomURIConverter *   eom_uri_converter_new               (GFile *base_file,
                                                             GdkPixbufFormat *img_format,
                                                             const char *format_string);
    gboolean            eom_uri_converter_check             (EomURIConverter *converter,
                                                             GList *img_list,
                                                             GError **error);
    gboolean            eom_uri_converter_requires_exif     (EomURIConverter *converter);
    gboolean            eom_uri_converter_do                (EomURIConverter *converter,
                                                             EomImage *image,
                                                             GFile **file,
                                                             GdkPixbufFormat **format,
                                                             GError **error);
    char *              eom_uri_converter_preview           (const char *format_str,
                                                             EomImage *img,
                                                             GdkPixbufFormat *format,
                                                             gulong counter,
                                                             guint n_images,
                                                             gboolean convert_spaces,
                                                             gunichar space_char);
    void                eom_uri_converter_print_list        (EomURIConverter *conv);

## Object Hierarchy

      GObject
       +----EomURIConverter

## Properties

      "convert-spaces"           gboolean              : Read / Write
      "counter-n-digits"         guint                 : Read / Write
      "counter-start"            gulong                : Read / Write
      "n-images"                 guint                 : Write
      "space-character"          gchar                 : Read / Write

## Description

## Details

### enum EomUCType

    typedef enum {
    	EOM_UC_STRING,
    	EOM_UC_FILENAME,
    	EOM_UC_COUNTER,
    	EOM_UC_COMMENT,
    	EOM_UC_DATE,
    	EOM_UC_TIME,
    	EOM_UC_DAY,
    	EOM_UC_MONTH,
    	EOM_UC_YEAR,
    	EOM_UC_HOUR,
    	EOM_UC_MINUTE,
    	EOM_UC_SECOND,
    	EOM_UC_END
    } EomUCType;

`EOM_UC_STRING` |
`EOM_UC_FILENAME` |
`EOM_UC_COUNTER` |
`EOM_UC_COMMENT` |
`EOM_UC_DATE` |
`EOM_UC_TIME` |
`EOM_UC_DAY` |
`EOM_UC_MONTH` |
`EOM_UC_YEAR` |
`EOM_UC_HOUR` |
`EOM_UC_MINUTE` |
`EOM_UC_SECOND` |
`EOM_UC_END` |

### EomUCInfo

    typedef struct {
    	char     *description;
    	char     *rep;
    	gboolean req_exif;
    } EomUCInfo;

### enum EomUCError

    typedef enum {
    	EOM_UC_ERROR_INVALID_UNICODE,
    	EOM_UC_ERROR_INVALID_CHARACTER,
    	EOM_UC_ERROR_EQUAL_FILENAMES,
    	EOM_UC_ERROR_UNKNOWN
    } EomUCError;

`EOM_UC_ERROR_INVALID_UNICODE` |
`EOM_UC_ERROR_INVALID_CHARACTER` |
`EOM_UC_ERROR_EQUAL_FILENAMES` |
`EOM_UC_ERROR_UNKNOWN` |

### EOM_UC_ERROR

    #define EOM_UC_ERROR eom_uc_error_quark ()

### EomURIConverter

    typedef struct _EomURIConverter EomURIConverter;

### eom_uc_error_quark ()

    GQuark              eom_uc_error_quark                  (void);

### eom_uri_converter_new ()

    EomURIConverter *   eom_uri_converter_new               (GFile *base_file,
                                                             GdkPixbufFormat *img_format,
                                                             const char *format_string);

### eom_uri_converter_check ()

    gboolean            eom_uri_converter_check             (EomURIConverter *converter,
                                                             GList *img_list,
                                                             GError **error);

### eom_uri_converter_requires_exif ()

    gboolean            eom_uri_converter_requires_exif     (EomURIConverter *converter);

### eom_uri_converter_do ()

    gboolean            eom_uri_converter_do                (EomURIConverter *converter,
                                                             EomImage *image,
                                                             GFile **file,
                                                             GdkPixbufFormat **format,
                                                             GError **error);

### eom_uri_converter_preview ()

    char *              eom_uri_converter_preview           (const char *format_str,
                                                             EomImage *img,
                                                             GdkPixbufFormat *format,
                                                             gulong counter,
                                                             guint n_images,
                                                             gboolean convert_spaces,
                                                             gunichar space_char);

### eom_uri_converter_print_list ()

    void                eom_uri_converter_print_list        (EomURIConverter *conv);

## Property Details

### The `"convert-spaces"` property

      "convert-spaces"           gboolean              : Read / Write

Default value: FALSE

### The `"counter-n-digits"` property

      "counter-n-digits"         guint                 : Read / Write

Allowed values: >= 1

Default value: 1

### The `"counter-start"` property

      "counter-start"            gulong                : Read / Write

### The `"n-images"` property

      "n-images"                 guint                 : Write

Allowed values: >= 1

Default value: 1

### The `"space-character"` property

      "space-character"          gchar                 : Read / Write

Allowed values: [32,126]

Default value: 95