Updated Spanish translation
[empathy-mirror.git] / libempathy-gtk / empathy-groups-widget.h
blob1085fac4f5d61cddf4eb3d754917adb8ae5e8944
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>
27 #include <folks/folks.h>
29 G_BEGIN_DECLS
31 #define EMPATHY_TYPE_GROUPS_WIDGET (empathy_groups_widget_get_type ())
32 #define EMPATHY_GROUPS_WIDGET(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), \
33 EMPATHY_TYPE_GROUPS_WIDGET, EmpathyGroupsWidget))
34 #define EMPATHY_GROUPS_WIDGET_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), \
35 EMPATHY_TYPE_GROUPS_WIDGET, EmpathyGroupsWidgetClass))
36 #define EMPATHY_IS_GROUPS_WIDGET(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), \
37 EMPATHY_TYPE_GROUPS_WIDGET))
38 #define EMPATHY_IS_GROUPS_WIDGET_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), \
39 EMPATHY_TYPE_GROUPS_WIDGET))
40 #define EMPATHY_GROUPS_WIDGET_GET_CLASS(o) ( \
41 G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_GROUPS_WIDGET, \
42 EmpathyGroupsWidgetClass))
44 typedef struct {
45 GtkBox parent;
47 /*<private>*/
48 gpointer priv;
49 } EmpathyGroupsWidget;
51 typedef struct {
52 GtkBoxClass parent_class;
53 } EmpathyGroupsWidgetClass;
55 GType empathy_groups_widget_get_type (void) G_GNUC_CONST;
57 GtkWidget * empathy_groups_widget_new (FolksGroupDetails *group_details);
59 FolksGroupDetails * empathy_groups_widget_get_group_details (
60 EmpathyGroupsWidget *self);
61 void empathy_groups_widget_set_group_details (EmpathyGroupsWidget *self,
62 FolksGroupDetails *group_details);
64 G_END_DECLS
66 #endif /* __EMPATHY_GROUPS_WIDGET_H__ */