Updated French translation
[empathy-mirror.git] / src / empathy-roster-window.h
blob4620a998003550a7aaf2a5d183b41e40077b4db3
1 /*
2 * Copyright (C) 2002-2007 Imendio AB
3 * Copyright (C) 2007-2008 Collabora Ltd.
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of the
8 * License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18 * Boston, MA 02110-1301 USA
20 * Authors: Xavier Claessens <xclaesse@gmail.com>
21 * Danielle Madeley <danielle.madeley@collabora.co.uk>
24 #ifndef __EMPATHY_ROSTER_WINDOW_H__
25 #define __EMPATHY_ROSTER_WINDOW_H__
27 #include <gtk/gtk.h>
29 G_BEGIN_DECLS
31 #define EMPATHY_TYPE_ROSTER_WINDOW (empathy_roster_window_get_type ())
32 #define EMPATHY_ROSTER_WINDOW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EMPATHY_TYPE_ROSTER_WINDOW, EmpathyRosterWindow))
33 #define EMPATHY_ROSTER_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), EMPATHY_TYPE_ROSTER_WINDOW, EmpathyRosterWindowClass))
34 #define EMPATHY_IS_ROSTER_WINDOW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_ROSTER_WINDOW))
35 #define EMPATHY_IS_ROSTER_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_ROSTER_WINDOW))
36 #define EMPATHY_ROSTER_WINDOW_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_ROSTER_WINDOW, EmpathyRosterWindowClass))
38 typedef struct _EmpathyRosterWindow EmpathyRosterWindow;
39 typedef struct _EmpathyRosterWindowClass EmpathyRosterWindowClass;
40 typedef struct _EmpathyRosterWindowPriv EmpathyRosterWindowPriv;
42 struct _EmpathyRosterWindow
44 GtkApplicationWindow parent;
45 EmpathyRosterWindowPriv *priv;
48 struct _EmpathyRosterWindowClass
50 GtkApplicationWindowClass parent_class;
53 GType empathy_roster_window_get_type (void);
55 GtkWidget * empathy_roster_window_new (GtkApplication *app);
57 void empathy_roster_window_show_preferences (EmpathyRosterWindow *self,
58 const gchar *tab);
60 void empathy_roster_window_set_shell_running (EmpathyRosterWindow *self,
61 gboolean shell_running);
63 GMenuModel *empathy_roster_window_get_menu_model (EmpathyRosterWindow *self);
65 G_END_DECLS
67 #endif /* __EMPATHY_ROSTER_WINDOW_H__ */