## EmpathyChatroomManager EmpathyChatroomManager |

## Synopsis

                        EmpathyChatroomManager;
    EmpathyChatroomManager * empathy_chatroom_manager_dup_singleton
                                                            (const gchar *file);
    gboolean            empathy_chatroom_manager_add        (EmpathyChatroomManager *manager,
                                                             EmpathyChatroom *chatroom);
    void                empathy_chatroom_manager_remove     (EmpathyChatroomManager *manager,
                                                             EmpathyChatroom *chatroom);
    EmpathyChatroom *   empathy_chatroom_manager_find       (EmpathyChatroomManager *manager,
                                                             EmpathyAccount *account,
                                                             const gchar *room);
    GList *             empathy_chatroom_manager_get_chatrooms
                                                            (EmpathyChatroomManager *manager,
                                                             EmpathyAccount *account);
    guint               empathy_chatroom_manager_get_count  (EmpathyChatroomManager *manager,
                                                             EmpathyAccount *account);
    void                empathy_chatroom_manager_observe    (EmpathyChatroomManager *manager,
                                                             EmpathyDispatcher *dispatcher);

## Object Hierarchy

      GObject
       +----EmpathyChatroomManager

## Properties

      "file"                     gchar*                : Read / Write / Construct Only
      "ready"                    gboolean              : Read

## Signals

      "chatroom-added"                                 : Run Last
      "chatroom-removed"                               : Run Last

## Description

## Details

### EmpathyChatroomManager

    typedef struct _EmpathyChatroomManager EmpathyChatroomManager;

### empathy_chatroom_manager_dup_singleton ()

    EmpathyChatroomManager * empathy_chatroom_manager_dup_singleton
                                                            (const gchar *file);

`file` : |
Returns : |

### empathy_chatroom_manager_add ()

    gboolean            empathy_chatroom_manager_add        (EmpathyChatroomManager *manager,
                                                             EmpathyChatroom *chatroom);

`manager` : |
`chatroom` : |
Returns : |

### empathy_chatroom_manager_remove ()

    void                empathy_chatroom_manager_remove     (EmpathyChatroomManager *manager,
                                                             EmpathyChatroom *chatroom);

`manager` : |
`chatroom` : |

### empathy_chatroom_manager_find ()

    EmpathyChatroom *   empathy_chatroom_manager_find       (EmpathyChatroomManager *manager,
                                                             EmpathyAccount *account,
                                                             const gchar *room);

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

### empathy_chatroom_manager_get_chatrooms ()

    GList *             empathy_chatroom_manager_get_chatrooms
                                                            (EmpathyChatroomManager *manager,
                                                             EmpathyAccount *account);

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

### empathy_chatroom_manager_get_count ()

    guint               empathy_chatroom_manager_get_count  (EmpathyChatroomManager *manager,
                                                             EmpathyAccount *account);

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

### empathy_chatroom_manager_observe ()

    void                empathy_chatroom_manager_observe    (EmpathyChatroomManager *manager,
                                                             EmpathyDispatcher *dispatcher);

`manager` : |
`dispatcher` : |

## Property Details

### The `"file"` property

      "file"                     gchar*                : Read / Write / Construct Only

The path of the XML file containing user's favorites.

Default value: NULL

### The `"ready"` property

      "ready"                    gboolean              : Read

whether the manager is ready yet.

Default value: FALSE

## Signal Details

### The `"chatroom-added"` signal

    void                user_function                      (EmpathyChatroomManager *empathychatroommanager,
                                                            EmpathyChatroom        *arg1,
                                                            gpointer                user_data)                   : Run Last

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

### The `"chatroom-removed"` signal

    void                user_function                      (EmpathyChatroomManager *empathychatroommanager,
                                                            EmpathyChatroom        *arg1,
                                                            gpointer                user_data)                   : Run Last

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