McdPresenceFrame

## McdPresenceFrame McdPresenceFrame — Presence maintenance framework |

## Stability Level

Unstable, unless otherwise indicated

## Synopsis

    #include <mcd-presence-frame.h>

                        McdPresenceFrame;
    McdPresenceFrame*   mcd_presence_frame_new              (void);
    void                mcd_presence_frame_request_presence (McdPresenceFrame *presence_frame,
                                                             McPresencepresence ,
                                                             const gchar *presence_message);
    McPresence          mcd_presence_frame_get_requested_presence
                                                            (McdPresenceFrame *presence_frame);
    const gchar*        mcd_presence_frame_get_requested_presence_message
                                                            (McdPresenceFrame *presence_frame);
    McPresence          mcd_presence_frame_get_actual_presence
                                                            (McdPresenceFrame *presence_frame);
    const gchar*        mcd_presence_frame_get_actual_presence_message
                                                            (McdPresenceFrame *presence_frame);
    void                mcd_presence_frame_set_account_presence
                                                            (McdPresenceFrame *presence_frame,
                                                             McAccount *account,
                                                             McPresencepresence ,
                                                             const gchar *presence_message);
    void                mcd_presence_frame_set_account_status
                                                            (McdPresenceFrame *presence_frame,
                                                             McAccount *account,
                                                             TelepathyConnectionStatusconnection_status ,
                                                             TelepathyConnectionStatusReasonconnection_reason );
    McPresence          mcd_presence_frame_get_account_presence
                                                            (McdPresenceFrame *presence_frame,
                                                             McAccount *account);
    const gchar*        mcd_presence_frame_get_presence_message
                                                            (McdPresenceFrame *presence_frame,
                                                             McAccount *account);
    TelepathyConnectionStatus mcd_presence_frame_get_account_status
                                                            (McdPresenceFrame *presence_frame,
                                                             McAccount *account);
    TelepathyConnectionStatusReason mcd_presence_frame_get_account_status_reason
                                                            (McdPresenceFrame *presence_frame,
                                                             McAccount *account);
    void                mcd_presence_frame_set_accounts     (McdPresenceFrame *presence_frame,
                                                             const GList *accounts);
    gboolean            mcd_presence_frame_add_account      (McdPresenceFrame *presence_frame,
                                                             McAccount *account);
    gboolean            mcd_presence_frame_remove_account   (McdPresenceFrame *presence_frame,
                                                             McAccount *account);
    gboolean            mcd_presence_frame_cancel_last_request
                                                            (McdPresenceFrame *presence_frame);
    gboolean            mcd_presence_frame_is_stable        (McdPresenceFrame *presence_frame);

## Description

FIXME

## Details

### McdPresenceFrame

    typedef struct {
        McdMission parent;
    } McdPresenceFrame;

### mcd_presence_frame_new ()

    McdPresenceFrame*   mcd_presence_frame_new              (void);

Returns : |

### mcd_presence_frame_request_presence ()

    void                mcd_presence_frame_request_presence (McdPresenceFrame *presence_frame,
                                                             McPresencepresence ,
                                                             const gchar *presence_message);

`presence_frame` : |
`Param2` : |
`presence_message` : |

### mcd_presence_frame_get_requested_presence ()

    McPresence          mcd_presence_frame_get_requested_presence
                                                            (McdPresenceFrame *presence_frame);

`presence_frame` : |
Returns : |

### mcd_presence_frame_get_requested_presence_message ()

    const gchar*        mcd_presence_frame_get_requested_presence_message
                                                            (McdPresenceFrame *presence_frame);

`presence_frame` : |
Returns : |

### mcd_presence_frame_get_actual_presence ()

    McPresence          mcd_presence_frame_get_actual_presence
                                                            (McdPresenceFrame *presence_frame);

`presence_frame` : |
Returns : |

### mcd_presence_frame_get_actual_presence_message ()

    const gchar*        mcd_presence_frame_get_actual_presence_message
                                                            (McdPresenceFrame *presence_frame);

`presence_frame` : |
Returns : |

### mcd_presence_frame_set_account_presence ()

    void                mcd_presence_frame_set_account_presence
                                                            (McdPresenceFrame *presence_frame,
                                                             McAccount *account,
                                                             McPresencepresence ,
                                                             const gchar *presence_message);

`presence_frame` : |
`account` : |
`Param3` : |
`presence_message` : |

### mcd_presence_frame_set_account_status ()

    void                mcd_presence_frame_set_account_status
                                                            (McdPresenceFrame *presence_frame,
                                                             McAccount *account,
                                                             TelepathyConnectionStatusconnection_status ,
                                                             TelepathyConnectionStatusReasonconnection_reason );

`presence_frame` : |
`account` : |
`Param3` : |
`Param4` : |

### mcd_presence_frame_get_account_presence ()

    McPresence          mcd_presence_frame_get_account_presence
                                                            (McdPresenceFrame *presence_frame,
                                                             McAccount *account);

`presence_frame` : |
`account` : |
Returns : |

### mcd_presence_frame_get_presence_message ()

    const gchar*        mcd_presence_frame_get_presence_message
                                                            (McdPresenceFrame *presence_frame,
                                                             McAccount *account);

`presence_frame` : |
`account` : |
Returns : |

### mcd_presence_frame_get_account_status ()

    TelepathyConnectionStatus mcd_presence_frame_get_account_status
                                                            (McdPresenceFrame *presence_frame,
                                                             McAccount *account);

`presence_frame` : |
`account` : |
Returns : |

### mcd_presence_frame_get_account_status_reason ()

    TelepathyConnectionStatusReason mcd_presence_frame_get_account_status_reason
                                                            (McdPresenceFrame *presence_frame,
                                                             McAccount *account);

`presence_frame` : |
`account` : |
Returns : |

### mcd_presence_frame_set_accounts ()

    void                mcd_presence_frame_set_accounts     (McdPresenceFrame *presence_frame,
                                                             const GList *accounts);

`presence_frame` : |
`accounts` : |

### mcd_presence_frame_add_account ()

    gboolean            mcd_presence_frame_add_account      (McdPresenceFrame *presence_frame,
                                                             McAccount *account);

`presence_frame` : |
`account` : |
Returns : |

### mcd_presence_frame_remove_account ()

    gboolean            mcd_presence_frame_remove_account   (McdPresenceFrame *presence_frame,
                                                             McAccount *account);

`presence_frame` : |
`account` : |
Returns : |

### mcd_presence_frame_cancel_last_request ()

    gboolean            mcd_presence_frame_cancel_last_request
                                                            (McdPresenceFrame *presence_frame);

`presence_frame` : |
Returns : |

### mcd_presence_frame_is_stable ()

    gboolean            mcd_presence_frame_is_stable        (McdPresenceFrame *presence_frame);

`presence_frame` : | The McdPresenceFrame.
Returns : | TRUE if there isn't any account currently trying to connect.