]> git.0d.be Git - empathy.git/blob - libempathy/empathy-contact-monitor.h
add myself to AUTHORS
[empathy.git] / libempathy / empathy-contact-monitor.h
1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */
2 /*
3  * Copyright (C) 2008 Collabora Ltd.
4  *
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.
9  *
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.
14  *
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
18  *
19  * Authors: Cosimo Cecchi <cosimo.cecchi@collabora.co.uk>
20  */
21
22 #ifndef __EMPATHY_CONTACT_MONITOR_H__
23 #define __EMPATHY_CONTACT_MONITOR_H__
24
25 #include <glib-object.h>
26
27 #include "empathy-types.h"
28
29 G_BEGIN_DECLS
30
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))
37
38 typedef struct _EmpathyContactMonitorClass EmpathyContactMonitorClass;
39
40 struct _EmpathyContactMonitor {
41   GObject parent;
42   gpointer priv;
43 };
44
45 struct _EmpathyContactMonitorClass {
46   GObjectClass parent_class;
47 };
48
49 GType empathy_contact_monitor_get_type (void);
50
51 /* public methods */
52
53 void
54 empathy_contact_monitor_set_iface (EmpathyContactMonitor *self,
55                                    EmpathyContactList *iface);
56
57 EmpathyContactMonitor *
58 empathy_contact_monitor_new_for_iface (EmpathyContactList *iface);
59
60 G_END_DECLS
61
62 #endif /* __EMPATHY_CONTACT_MONITOR_H__ */
63