LogWindow: better logic for the buttons sensitivity
[empathy-mirror.git] / src / empathy-status-icon.h
blobca21af83325766f33ce3141cd28e10a2a77e08e2
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * Copyright (C) 2007-2008 Collabora Ltd.
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library 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 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 * Authors: Xavier Claessens <xclaesse@gmail.com>
22 #ifndef __EMPATHY_STATUS_ICON_H__
23 #define __EMPATHY_STATUS_ICON_H__
25 #include <glib.h>
27 G_BEGIN_DECLS
29 #define EMPATHY_TYPE_STATUS_ICON (empathy_status_icon_get_type ())
30 #define EMPATHY_STATUS_ICON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EMPATHY_TYPE_STATUS_ICON, EmpathyStatusIcon))
31 #define EMPATHY_STATUS_ICON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EMPATHY_TYPE_STATUS_ICON, EmpathyStatusIconClass))
32 #define EMPATHY_IS_STATUS_ICON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_STATUS_ICON))
33 #define EMPATHY_IS_STATUS_ICON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_STATUS_ICON))
34 #define EMPATHY_STATUS_ICON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_STATUS_ICON, EmpathyStatusIconClass))
36 typedef struct _EmpathyStatusIcon EmpathyStatusIcon;
37 typedef struct _EmpathyStatusIconClass EmpathyStatusIconClass;
39 struct _EmpathyStatusIcon {
40 GObject parent;
41 gpointer priv;
44 struct _EmpathyStatusIconClass {
45 GObjectClass parent_class;
48 GType empathy_status_icon_get_type (void) G_GNUC_CONST;
49 EmpathyStatusIcon *empathy_status_icon_new (GtkWindow *window,
50 gboolean hide_contact_list);
52 G_END_DECLS
54 #endif /* __EMPATHY_STATUS_ICON_H__ */