## GtrHeader

GtrHeader

## Synopsis

    struct              GtrHeader;
    struct              GtrHeaderClass;
    GtrHeader *         gtr_header_new                      (po_message_iterator_t iter,
                                                             po_message_t message);
    const gchar *       gtr_header_get_comments             (GtrHeader *header);
    void                gtr_header_set_comments             (GtrHeader *header,
                                                             const gchar *comments);
    gchar *             gtr_header_get_prj_id_version       (GtrHeader *header);
    void                gtr_header_set_prj_id_version       (GtrHeader *header,
                                                             const gchar *prj_id_version);
    gchar *             gtr_header_get_rmbt                 (GtrHeader *header);
    void                gtr_header_set_rmbt                 (GtrHeader *header,
                                                             const gchar *rmbt);
    gchar *             gtr_header_get_pot_date             (GtrHeader *header);
    void                gtr_header_set_pot_date             (GtrHeader *header,
                                                             const gchar *pot_date);
    gchar *             gtr_header_get_po_date              (GtrHeader *header);
    void                gtr_header_set_po_date              (GtrHeader *header,
                                                             const gchar *po_date);
    gchar *             gtr_header_get_translator           (GtrHeader *header);
    gchar *             gtr_header_get_tr_email             (GtrHeader *header);
    void                gtr_header_set_translator           (GtrHeader *header,
                                                             const gchar *name,
                                                             const gchar *email);
    gchar *             gtr_header_get_language             (GtrHeader *header);
    gchar *             gtr_header_get_lg_email             (GtrHeader *header);
    void                gtr_header_set_language             (GtrHeader *header,
                                                             const gchar *language,
                                                             const gchar *email);
    gchar *             gtr_header_get_mime_version         (GtrHeader *header);
    void                gtr_header_set_mime_version         (GtrHeader *header,
                                                             const gchar *mime_version);
    gchar *             gtr_header_get_charset              (GtrHeader *header);
    void                gtr_header_set_charset              (GtrHeader *header,
                                                             const gchar *charset);
    gchar *             gtr_header_get_encoding             (GtrHeader *header);
    void                gtr_header_set_encoding             (GtrHeader *header,
                                                             const gchar *encoding);
    gchar *             gtr_header_get_plural_forms         (GtrHeader *header);
    void                gtr_header_set_plural_forms         (GtrHeader *header,
                                                             const gchar *plural_forms);
    gint                gtr_header_get_nplurals             (GtrHeader *header);
    void                gtr_header_update_header            (GtrHeader *header);
    void                gtr_header_set_profile              (GtrHeader *header,
                                                             GtrProfile *profile);
    GtrProfile *        gtr_header_get_profile              (GtrHeader *header);

## Description

## Details

### struct GtrHeader

    struct GtrHeader {
      GtrMsg parent_instance;
    };

### struct GtrHeaderClass

    struct GtrHeaderClass {
      GtrMsgClass parent_class;
    };

### gtr_header_new ()

    GtrHeader *         gtr_header_new                      (po_message_iterator_t iter,
                                                             po_message_t message);

### gtr_header_get_comments ()

    const gchar *       gtr_header_get_comments             (GtrHeader *header);

Gets the comments of the header.

`header` : | a GtrHeader
Returns : | the comments of the header.

### gtr_header_set_comments ()

    void                gtr_header_set_comments             (GtrHeader *header,
                                                             const gchar *comments);

### gtr_header_get_prj_id_version ()

    gchar *             gtr_header_get_prj_id_version       (GtrHeader *header);

### gtr_header_set_prj_id_version ()

    void                gtr_header_set_prj_id_version       (GtrHeader *header,
                                                             const gchar *prj_id_version);

### gtr_header_get_rmbt ()

    gchar *             gtr_header_get_rmbt                 (GtrHeader *header);

### gtr_header_set_rmbt ()

    void                gtr_header_set_rmbt                 (GtrHeader *header,
                                                             const gchar *rmbt);

### gtr_header_get_pot_date ()

    gchar *             gtr_header_get_pot_date             (GtrHeader *header);

### gtr_header_set_pot_date ()

    void                gtr_header_set_pot_date             (GtrHeader *header,
                                                             const gchar *pot_date);

### gtr_header_get_po_date ()

    gchar *             gtr_header_get_po_date              (GtrHeader *header);

### gtr_header_set_po_date ()

    void                gtr_header_set_po_date              (GtrHeader *header,
                                                             const gchar *po_date);

### gtr_header_get_translator ()

    gchar *             gtr_header_get_translator           (GtrHeader *header);

### gtr_header_get_tr_email ()

    gchar *             gtr_header_get_tr_email             (GtrHeader *header);

### gtr_header_set_translator ()

    void                gtr_header_set_translator           (GtrHeader *header,
                                                             const gchar *name,
                                                             const gchar *email);

### gtr_header_get_language ()

    gchar *             gtr_header_get_language             (GtrHeader *header);

### gtr_header_get_lg_email ()

    gchar *             gtr_header_get_lg_email             (GtrHeader *header);

### gtr_header_set_language ()

    void                gtr_header_set_language             (GtrHeader *header,
                                                             const gchar *language,
                                                             const gchar *email);

### gtr_header_get_mime_version ()

    gchar *             gtr_header_get_mime_version         (GtrHeader *header);

### gtr_header_set_mime_version ()

    void                gtr_header_set_mime_version         (GtrHeader *header,
                                                             const gchar *mime_version);

### gtr_header_get_charset ()

    gchar *             gtr_header_get_charset              (GtrHeader *header);

### gtr_header_set_charset ()

    void                gtr_header_set_charset              (GtrHeader *header,
                                                             const gchar *charset);

### gtr_header_get_encoding ()

    gchar *             gtr_header_get_encoding             (GtrHeader *header);

### gtr_header_set_encoding ()

    void                gtr_header_set_encoding             (GtrHeader *header,
                                                             const gchar *encoding);

### gtr_header_get_plural_forms ()

    gchar *             gtr_header_get_plural_forms         (GtrHeader *header);

`header` : | a GtrHeader.
Returns : | a new allocated string with the plural form of the po file.

### gtr_header_set_plural_forms ()

    void                gtr_header_set_plural_forms         (GtrHeader *header,
                                                             const gchar *plural_forms);

Sets the plural form string in the `header` and it sets the number of plurals.

`header` : | a GtrHeader
`plural_forms` : | the plural forms string.

### gtr_header_get_nplurals ()

    gint                gtr_header_get_nplurals             (GtrHeader *header);

### gtr_header_update_header ()

    void                gtr_header_update_header            (GtrHeader *header);

### gtr_header_set_profile ()

    void                gtr_header_set_profile              (GtrHeader *header,
                                                             GtrProfile *profile);

### gtr_header_get_profile ()

    GtrProfile *        gtr_header_get_profile              (GtrHeader *header);

Gets the profile of the header

`header` : | a GtrHeader
Returns : | the profile of the header. [transfer none]