McdManager

## McdManager McdManager — Manager class representing Telepathy connection manager |

## Stability Level

Unstable, unless otherwise indicated

## Synopsis

    #include <mcd-manager.h>

                        McdManager;
    McdManager*         mcd_manager_new                     (McManager *mc_manager,
                                                             McdPresenceFrame *pframe,
                                                             McdDispatcher *dispatcher,
                                                             DBusGConnection *dbus_connection);
    gboolean            mcd_manager_add_account             (McdManager *manager,
                                                             McAccount *account);
    gboolean            mcd_manager_can_handle_account      (McdManager *manager,
                                                             McAccount *account);
    McAccount*          mcd_manager_get_account_by_name     (McdManager *manager,
                                                             const gchar *account_name);
    gboolean            mcd_manager_remove_account          (McdManager *manager,
                                                             McAccount *account);
    const GList*        mcd_manager_get_accounts            (McdManager *manager);
    McdConnection*      mcd_manager_get_account_connection  (McdManager *manager,
                                                             McAccount *account);
    gboolean            mcd_manager_request_channel         (McdManager *manager,
                                                             const struct mcd_channel_request *req,
                                                             GError **error);
    gboolean            mcd_manager_cancel_channel_request  (McdManager *manager,
                                                             guint operation_id,
                                                             const gchar *requestor_client_pid,
                                                             GError **error);
    McdConnection*      mcd_manager_get_connection          (McdManager *manager,
                                                             const gchar *object_path);

## Description

FIXME

## Details

### McdManager

    typedef struct {
        McdOperation parent;
    } McdManager;

### mcd_manager_new ()

    McdManager*         mcd_manager_new                     (McManager *mc_manager,
                                                             McdPresenceFrame *pframe,
                                                             McdDispatcher *dispatcher,
                                                             DBusGConnection *dbus_connection);

`mc_manager` : |
`pframe` : |
`dispatcher` : |
`dbus_connection` : |
Returns : |

### mcd_manager_add_account ()

    gboolean            mcd_manager_add_account             (McdManager *manager,
                                                             McAccount *account);

`manager` : |
`account` : |
Returns : |

### mcd_manager_can_handle_account ()

    gboolean            mcd_manager_can_handle_account      (McdManager *manager,
                                                             McAccount *account);

`manager` : |
`account` : |
Returns : |

### mcd_manager_get_account_by_name ()

    McAccount*          mcd_manager_get_account_by_name     (McdManager *manager,
                                                             const gchar *account_name);

`manager` : |
`account_name` : |
Returns : |

### mcd_manager_remove_account ()

    gboolean            mcd_manager_remove_account          (McdManager *manager,
                                                             McAccount *account);

`manager` : |
`account` : |
Returns : |

### mcd_manager_get_accounts ()

    const GList*        mcd_manager_get_accounts            (McdManager *manager);

`manager` : |
Returns : |

### mcd_manager_get_account_connection ()

    McdConnection*      mcd_manager_get_account_connection  (McdManager *manager,
                                                             McAccount *account);

`manager` : |
`account` : |
Returns : |

### mcd_manager_request_channel ()

    gboolean            mcd_manager_request_channel         (McdManager *manager,
                                                             const struct mcd_channel_request *req,
                                                             GError **error);

`manager` : |
`req` : |
`error` : |
Returns : |

### mcd_manager_cancel_channel_request ()

    gboolean            mcd_manager_cancel_channel_request  (McdManager *manager,
                                                             guint operation_id,
                                                             const gchar *requestor_client_pid,
                                                             GError **error);

`manager` : |
`operation_id` : |
`requestor_client_pid` : |
`error` : |
Returns : |

### mcd_manager_get_connection ()

    McdConnection*      mcd_manager_get_connection          (McdManager *manager,
                                                             const gchar *object_path);

`manager` : |
`object_path` : |
Returns : |