mock-pkcs11: use g_hash_table_unref()
[nijm-empathy.git] / libempathy-gtk / empathy-groups-widget.h
blob2b59db62cca8e2a2bd90bbadbdc3fd79e0d9cee6
1 /*
2 * Copyright (C) 2007-2010 Collabora Ltd.
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 * Authors: Xavier Claessens <xclaesse@gmail.com>
19 * Philip Withnall <philip.withnall@collabora.co.uk>
22 #ifndef __EMPATHY_GROUPS_WIDGET_H__
23 #define __EMPATHY_GROUPS_WIDGET_H__
25 #include <gtk/gtk.h>
26 #include <folks/folks.h>
28 G_BEGIN_DECLS
30 #define EMPATHY_TYPE_GROUPS_WIDGET (empathy_groups_widget_get_type ())
31 #define EMPATHY_GROUPS_WIDGET(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), \
32 EMPATHY_TYPE_GROUPS_WIDGET, EmpathyGroupsWidget))
33 #define EMPATHY_GROUPS_WIDGET_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), \
34 EMPATHY_TYPE_GROUPS_WIDGET, EmpathyGroupsWidgetClass))
35 #define EMPATHY_IS_GROUPS_WIDGET(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), \
36 EMPATHY_TYPE_GROUPS_WIDGET))
37 #define EMPATHY_IS_GROUPS_WIDGET_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), \
38 EMPATHY_TYPE_GROUPS_WIDGET))
39 #define EMPATHY_GROUPS_WIDGET_GET_CLASS(o) ( \
40 G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_GROUPS_WIDGET, \
41 EmpathyGroupsWidgetClass))
43 typedef struct {
44 GtkBox parent;
46 /*<private>*/
47 gpointer priv;
48 } EmpathyGroupsWidget;
50 typedef struct {
51 GtkBoxClass parent_class;
52 } EmpathyGroupsWidgetClass;
54 GType empathy_groups_widget_get_type (void) G_GNUC_CONST;
56 GtkWidget * empathy_groups_widget_new (FolksGroupDetails *group_details);
58 FolksGroupDetails * empathy_groups_widget_get_group_details (
59 EmpathyGroupsWidget *self);
60 void empathy_groups_widget_set_group_details (EmpathyGroupsWidget *self,
61 FolksGroupDetails *group_details);
63 G_END_DECLS
65 #endif /* __EMPATHY_GROUPS_WIDGET_H__ */