1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */
3 * Copyright (C) 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: Cosimo Cecchi <cosimo.cecchi@collabora.co.uk>
22 #ifndef __EMPATHY_CONTACT_MONITOR_H__
23 #define __EMPATHY_CONTACT_MONITOR_H__
25 #include <glib-object.h>
27 #include "empathy-types.h"
31 #define EMPATHY_TYPE_CONTACT_MONITOR (empathy_contact_monitor_get_type ())
32 #define EMPATHY_CONTACT_MONITOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EMPATHY_TYPE_CONTACT_MONITOR, EmpathyContactMonitor))
33 #define EMPATHY_CONTACT_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), EMPATHY_TYPE_CONTACT_MONITOR, EmpathyContactMonitorClass))
34 #define EMPATHY_IS_CONTACT_MONITOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_CONTACT_MONITOR))
35 #define EMPATHY_IS_CONTACT_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_CONTACT_MONITOR))
36 #define EMPATHY_CONTACT_MONITOR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_CONTACT_MONITOR, EmpathyContactMonitorClass))
38 typedef struct _EmpathyContactMonitorClass EmpathyContactMonitorClass
;
40 struct _EmpathyContactMonitor
{
45 struct _EmpathyContactMonitorClass
{
46 GObjectClass parent_class
;
49 GType
empathy_contact_monitor_get_type (void);
54 empathy_contact_monitor_set_iface (EmpathyContactMonitor
*self
,
55 EmpathyContactList
*iface
);
57 EmpathyContactMonitor
*
58 empathy_contact_monitor_new_for_iface (EmpathyContactList
*iface
);
62 #endif /* __EMPATHY_CONTACT_MONITOR_H__ */