ParoleFile

## ParoleFile ParoleFile — Simple file handling. |

## Synopsis

                        ParoleFile;
    ParoleFile *        parole_file_new                     (const gchar *filename);
    ParoleFile *        parole_file_new_with_display_name   (const gchar *filename,
                                                             const gchar *display_name);
    const gchar const   * parole_file_get_file_name         (const ParoleFile *file);
    const gchar const   * parole_file_get_display_name      (const ParoleFile *file);
    const gchar const   * parole_file_get_uri               (const ParoleFile *file);
    const gchar const   * parole_file_get_content_type      (const ParoleFile *file);

## Object Hierarchy

      GObject
       +----ParoleFile

## Properties

      "content-type"             gchar*                : Read
      "display-name"             gchar*                : Read / Write / Construct Only
      "filename"                 gchar*                : Read / Write / Construct Only
      "uri"                      gchar*                : Read

## Description

## Details

### ParoleFile

    typedef struct _ParoleFile ParoleFile;

### parole_file_new ()

    ParoleFile *        parole_file_new                     (const gchar *filename);

`filename` : | filename.
Returns : | A new ParoleFile object.

Since 0.2

### parole_file_new_with_display_name ()

    ParoleFile *        parole_file_new_with_display_name   (const gchar *filename,
                                                             const gchar *display_name);

`filename` : | filename.
`display_name` : |
Returns : | A new ParoleFile object.

Since 0.2

### parole_file_get_file_name ()

    const gchar const   * parole_file_get_file_name         (const ParoleFile *file);

`file` : | a ParoleFile.
Returns : | A string containing the file name.

Since 0.2

### parole_file_get_display_name ()

    const gchar const   * parole_file_get_display_name      (const ParoleFile *file);

`file` : | a ParoleFile.
Returns : | A string containing the display name.

Since 0.2

### parole_file_get_uri ()

    const gchar const   * parole_file_get_uri               (const ParoleFile *file);

`file` : | a ParoleFile.
Returns : | A string containing the file uri.

Since 0.2

### parole_file_get_content_type ()

    const gchar const   * parole_file_get_content_type      (const ParoleFile *file);

`file` : | a ParoleFile.
Returns : | A string containing the content type of the file.

Since 0.2

## Property Details

### The `"content-type"` property

      "content-type"             gchar*                : Read

The content type of the file.

Default value: NULL

Since 0.2

### The `"display-name"` property

      "display-name"             gchar*                : Read / Write / Construct Only

A UTF-8 name that can be displayed in the UI.

Default value: NULL

Since 0.2

### The `"filename"` property

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

The file name of the file.

Default value: NULL

Since 0.2

### The `"uri"` property

      "uri"                      gchar*                : Read

The uri of the file.

Default value: NULL

Since 0.2