contact

## contact contact |

## Synopsis

    enum                TplContactType;
                        TplContactPriv;
    TplContact *        tpl_contact_from_tp_contact         (TpContact *contact);
    TplContact *        tpl_contact_new                     (const gchar *identifier);
    TpContact *         tpl_contact_get_contact             (TplContact *self);
    const gchar *       tpl_contact_get_alias               (TplContact *self);
    const gchar *       tpl_contact_get_identifier          (TplContact *self);
    const gchar *       tpl_contact_get_presence_status     (TplContact *self);
    const gchar *       tpl_contact_get_presence_message    (TplContact *self);
    TplContactType      tpl_contact_get_contact_type        (TplContact *self);
    const gchar *       tpl_contact_get_avatar_token        (TplContact *self);
    TpAccount *         tpl_contact_get_account             (TplContact *self);
    void                tpl_contact_set_contact             (TplContact *self,
                                                             TpContact *data);
    void                tpl_contact_set_account             (TplContact *self,
                                                             TpAccount *data);
    void                tpl_contact_set_alias               (TplContact *self,
                                                             const gchar *data);
    void                tpl_contact_set_identifier          (TplContact *self,
                                                             const gchar *data);
    void                tpl_contact_set_presence_status     (TplContact *self,
                                                             const gchar *data);
    void                tpl_contact_set_presence_message    (TplContact *self,
                                                             const gchar *data);
    void                tpl_contact_set_contact_type        (TplContact *self,
                                                             TplContactType data);
    void                tpl_contact_set_avatar_token        (TplContact *self,
                                                             const gchar *data);

## Description

## Details

### enum TplContactType

    typedef enum
    {
      TPL_CONTACT_UNKNOWN,
      TPL_CONTACT_USER,
      TPL_CONTACT_GROUP
    } TplContactType;

### TplContactPriv

    typedef struct _TplContactPriv TplContactPriv;

### tpl_contact_from_tp_contact ()

    TplContact *        tpl_contact_from_tp_contact         (TpContact *contact);

`contact` : |
Returns : |

### tpl_contact_new ()

    TplContact *        tpl_contact_new                     (const gchar *identifier);

`identifier` : |
Returns : |

### tpl_contact_get_contact ()

    TpContact *         tpl_contact_get_contact             (TplContact *self);

`self` : |
Returns : |

### tpl_contact_get_alias ()

    const gchar *       tpl_contact_get_alias               (TplContact *self);

`self` : |
Returns : |

### tpl_contact_get_identifier ()

    const gchar *       tpl_contact_get_identifier          (TplContact *self);

`self` : |
Returns : |

### tpl_contact_get_presence_status ()

    const gchar *       tpl_contact_get_presence_status     (TplContact *self);

`self` : |
Returns : |

### tpl_contact_get_presence_message ()

    const gchar *       tpl_contact_get_presence_message    (TplContact *self);

`self` : |
Returns : |

### tpl_contact_get_contact_type ()

    TplContactType      tpl_contact_get_contact_type        (TplContact *self);

`self` : |
Returns : |

### tpl_contact_get_avatar_token ()

    const gchar *       tpl_contact_get_avatar_token        (TplContact *self);

`self` : |
Returns : |

### tpl_contact_get_account ()

    TpAccount *         tpl_contact_get_account             (TplContact *self);

`self` : |
Returns : |

### tpl_contact_set_contact ()

    void                tpl_contact_set_contact             (TplContact *self,
                                                             TpContact *data);

`self` : |
`data` : |

### tpl_contact_set_account ()

    void                tpl_contact_set_account             (TplContact *self,
                                                             TpAccount *data);

`self` : |
`data` : |

### tpl_contact_set_alias ()

    void                tpl_contact_set_alias               (TplContact *self,
                                                             const gchar *data);

`self` : |
`data` : |

### tpl_contact_set_identifier ()

    void                tpl_contact_set_identifier          (TplContact *self,
                                                             const gchar *data);

`self` : |
`data` : |

### tpl_contact_set_presence_status ()

    void                tpl_contact_set_presence_status     (TplContact *self,
                                                             const gchar *data);

`self` : |
`data` : |

### tpl_contact_set_presence_message ()

    void                tpl_contact_set_presence_message    (TplContact *self,
                                                             const gchar *data);

`self` : |
`data` : |

### tpl_contact_set_contact_type ()

    void                tpl_contact_set_contact_type        (TplContact *self,
                                                             TplContactType data);

`self` : |
`data` : |

### tpl_contact_set_avatar_token ()

    void                tpl_contact_set_avatar_token        (TplContact *self,
                                                             const gchar *data);

`self` : |
`data` : |