tumbler-file-info

## tumbler-file-info tumbler-file-info |

## Synopsis

                        TumblerFileInfoClass;
                        TumblerFileInfo;
    TumblerFileInfo *   tumbler_file_info_new               (const gchar *uri,
                                                             const gchar *mime_type,
                                                             TumblerThumbnailFlavor *flavor);
    gboolean            tumbler_file_info_load              (TumblerFileInfo *info,
                                                             GCancellable *cancellable,
                                                             GError **error);
    const gchar *       tumbler_file_info_get_uri           (TumblerFileInfo *info);
    const gchar *       tumbler_file_info_get_mime_type     (TumblerFileInfo *info);
    guint64             tumbler_file_info_get_mtime         (TumblerFileInfo *info);
    gboolean            tumbler_file_info_needs_update      (TumblerFileInfo *info);
    TumblerThumbnail *  tumbler_file_info_get_thumbnail     (TumblerFileInfo *info);
    TumblerFileInfo **  tumbler_file_info_array_new_with_flavor
                                                            (const gchar *const *uris,
                                                             const gchar *const *mime_types,
                                                             TumblerThumbnailFlavor *flavor,
                                                             guint *length);
    TumblerFileInfo **  tumbler_file_info_array_copy        (TumblerFileInfo **infos,
                                                             guint length);
    void                tumbler_file_info_array_free        (TumblerFileInfo **infos);

## Object Hierarchy

      GObject
       +----TumblerFileInfo

## Properties

      "flavor"                   TumblerThumbnailFlavor*  : Read / Write / Construct Only
      "mime-type"                gchar*                : Read / Write / Construct Only
      "mtime"                    guint64               : Read
      "uri"                      gchar*                : Read / Write / Construct Only

## Description

## Details

### TumblerFileInfoClass

    typedef struct _TumblerFileInfoClass TumblerFileInfoClass;

### TumblerFileInfo

    typedef struct _TumblerFileInfo TumblerFileInfo;

### tumbler_file_info_new ()

    TumblerFileInfo *   tumbler_file_info_new               (const gchar *uri,
                                                             const gchar *mime_type,
                                                             TumblerThumbnailFlavor *flavor);

`uri` : |
`mime_type` : |
`flavor` : |
Returns : |

### tumbler_file_info_load ()

    gboolean            tumbler_file_info_load              (TumblerFileInfo *info,
                                                             GCancellable *cancellable,
                                                             GError **error);

`info` : |
`cancellable` : |
`error` : |
Returns : |

### tumbler_file_info_get_uri ()

    const gchar *       tumbler_file_info_get_uri           (TumblerFileInfo *info);

`info` : |
Returns : |

### tumbler_file_info_get_mime_type ()

    const gchar *       tumbler_file_info_get_mime_type     (TumblerFileInfo *info);

`info` : |
Returns : |

### tumbler_file_info_get_mtime ()

    guint64             tumbler_file_info_get_mtime         (TumblerFileInfo *info);

`info` : |
Returns : |

### tumbler_file_info_needs_update ()

    gboolean            tumbler_file_info_needs_update      (TumblerFileInfo *info);

`info` : |
Returns : |

### tumbler_file_info_get_thumbnail ()

    TumblerThumbnail *  tumbler_file_info_get_thumbnail     (TumblerFileInfo *info);

`info` : |
Returns : |

### tumbler_file_info_array_new_with_flavor ()

    TumblerFileInfo **  tumbler_file_info_array_new_with_flavor
                                                            (const gchar *const *uris,
                                                             const gchar *const *mime_types,
                                                             TumblerThumbnailFlavor *flavor,
                                                             guint *length);

`uris` : |
`mime_types` : |
`flavor` : |
`length` : |
Returns : |

### tumbler_file_info_array_copy ()

    TumblerFileInfo **  tumbler_file_info_array_copy        (TumblerFileInfo **infos,
                                                             guint length);

`infos` : |
`length` : |
Returns : |

### tumbler_file_info_array_free ()

    void                tumbler_file_info_array_free        (TumblerFileInfo **infos);

`infos` : |

## Property Details

### The `"flavor"` property

      "flavor"                   TumblerThumbnailFlavor*  : Read / Write / Construct Only

flavor.

### The `"mime-type"` property

      "mime-type"                gchar*                : Read / Write / Construct Only

mime-type.

Default value: NULL

### The `"mtime"` property

      "mtime"                    guint64               : Read

mtime.

Default value: 0

### The `"uri"` property

      "uri"                      gchar*                : Read / Write / Construct Only

uri.

Default value: NULL