## EmpathyDispatcher

EmpathyDispatcher

## Synopsis

                        EmpathyDispatcher;
    void                empathy_dispatcher_create_channel   (EmpathyDispatcher *dispatcher,
                                                             McAccount *account,
                                                             GHashTable *request,
                                                             EmpathyDispatcherRequestCb *callback,
                                                             gpointer user_data);
    void                empathy_dispatcher_call_with_contact
                                                            (EmpathyContact *contact,
                                                             EmpathyDispatcherRequestCb *callback,
                                                             gpointer user_data);
    void                empathy_dispatcher_chat_with_contact_id
                                                            (McAccount *account,
                                                             const gchar *contact_id,
                                                             EmpathyDispatcherRequestCb *callback,
                                                             gpointer user_data);
    void                empathy_dispatcher_chat_with_contact
                                                            (EmpathyContact *contact,
                                                             EmpathyDispatcherRequestCb *callback,
                                                             gpointer user_data);
    void                empathy_dispatcher_send_file_to_contact
                                                            (EmpathyContact *contact,
                                                             const gchar *filename,
                                                             guint64 size,
                                                             guint64 date,
                                                             const gchar *content_type,
                                                             EmpathyDispatcherRequestCb *callback,
                                                             gpointer user_data);
    void                empathy_dispatcher_join_muc         (McAccount *account,
                                                             const gchar *roomname,
                                                             EmpathyDispatcherRequestCb *callback,
                                                             gpointer user_data);
    GStrv               empathy_dispatcher_find_channel_class
                                                            (EmpathyDispatcher *dispatcher,
                                                             McAccount *account,
                                                             const gchar *channel_type,
                                                             guint handle_type);
    EmpathyDispatcher * empathy_dispatcher_dup_singleton    (void);

## Object Hierarchy

      GObject
       +----EmpathyDispatcher

## Signals

      "approve"                                        : Run Last
      "dispatch"                                       : Run Last
      "observe"                                        : Run Last

## Description

## Details

### EmpathyDispatcher

    typedef struct _EmpathyDispatcher EmpathyDispatcher;

### empathy_dispatcher_create_channel ()

    void                empathy_dispatcher_create_channel   (EmpathyDispatcher *dispatcher,
                                                             McAccount *account,
                                                             GHashTable *request,
                                                             EmpathyDispatcherRequestCb *callback,
                                                             gpointer user_data);

`dispatcher` : |
`account` : |
`request` : |
`callback` : |
`user_data` : |

### empathy_dispatcher_call_with_contact ()

    void                empathy_dispatcher_call_with_contact
                                                            (EmpathyContact *contact,
                                                             EmpathyDispatcherRequestCb *callback,
                                                             gpointer user_data);

`contact` : |
`callback` : |
`user_data` : |

### empathy_dispatcher_chat_with_contact_id ()

    void                empathy_dispatcher_chat_with_contact_id
                                                            (McAccount *account,
                                                             const gchar *contact_id,
                                                             EmpathyDispatcherRequestCb *callback,
                                                             gpointer user_data);

`account` : |
`contact_id` : |
`callback` : |
`user_data` : |

### empathy_dispatcher_chat_with_contact ()

    void                empathy_dispatcher_chat_with_contact
                                                            (EmpathyContact *contact,
                                                             EmpathyDispatcherRequestCb *callback,
                                                             gpointer user_data);

`contact` : |
`callback` : |
`user_data` : |

### empathy_dispatcher_send_file_to_contact ()

    void                empathy_dispatcher_send_file_to_contact
                                                            (EmpathyContact *contact,
                                                             const gchar *filename,
                                                             guint64 size,
                                                             guint64 date,
                                                             const gchar *content_type,
                                                             EmpathyDispatcherRequestCb *callback,
                                                             gpointer user_data);

`contact` : |
`filename` : |
`size` : |
`date` : |
`content_type` : |
`callback` : |
`user_data` : |

### empathy_dispatcher_join_muc ()

    void                empathy_dispatcher_join_muc         (McAccount *account,
                                                             const gchar *roomname,
                                                             EmpathyDispatcherRequestCb *callback,
                                                             gpointer user_data);

`account` : |
`roomname` : |
`callback` : |
`user_data` : |

### empathy_dispatcher_find_channel_class ()

    GStrv               empathy_dispatcher_find_channel_class
                                                            (EmpathyDispatcher *dispatcher,
                                                             McAccount *account,
                                                             const gchar *channel_type,
                                                             guint handle_type);

`dispatcher` : |
`account` : |
`channel_type` : |
`handle_type` : |
Returns : |

### empathy_dispatcher_dup_singleton ()

    EmpathyDispatcher * empathy_dispatcher_dup_singleton    (void);

Returns : |

## Signal Details

### The `"approve"` signal

    void                user_function                      (EmpathyDispatcher        *empathydispatcher,
                                                            EmpathyDispatchOperation *arg1,
                                                            gpointer                  user_data)              : Run Last

`empathydispatcher` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.

### The `"dispatch"` signal

    void                user_function                      (EmpathyDispatcher        *empathydispatcher,
                                                            EmpathyDispatchOperation *arg1,
                                                            gpointer                  user_data)              : Run Last

`empathydispatcher` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.

### The `"observe"` signal

    void                user_function                      (EmpathyDispatcher        *empathydispatcher,
                                                            EmpathyDispatchOperation *arg1,
                                                            gpointer                  user_data)              : Run Last

`empathydispatcher` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.