2 * empathy-roster-model-manager.h
4 * Copyright (C) 2012 Collabora Ltd. <http://www.collabora.co.uk/>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 #ifndef __EMPATHY_ROSTER_MODEL_MANAGER_H__
22 #define __EMPATHY_ROSTER_MODEL_MANAGER_H__
24 #include <glib-object.h>
26 #include "empathy-individual-manager.h"
30 typedef struct _EmpathyRosterModelManager EmpathyRosterModelManager
;
31 typedef struct _EmpathyRosterModelManagerClass EmpathyRosterModelManagerClass
;
32 typedef struct _EmpathyRosterModelManagerPriv EmpathyRosterModelManagerPriv
;
34 struct _EmpathyRosterModelManagerClass
37 GObjectClass parent_class
;
40 struct _EmpathyRosterModelManager
44 EmpathyRosterModelManagerPriv
*priv
;
47 GType
empathy_roster_model_manager_get_type (void);
50 #define EMPATHY_TYPE_ROSTER_MODEL_MANAGER \
51 (empathy_roster_model_manager_get_type ())
52 #define EMPATHY_ROSTER_MODEL_MANAGER(obj) \
53 (G_TYPE_CHECK_INSTANCE_CAST((obj), \
54 EMPATHY_TYPE_ROSTER_MODEL_MANAGER, \
55 EmpathyRosterModelManager))
56 #define EMPATHY_ROSTER_MODEL_MANAGER_CLASS(klass) \
57 (G_TYPE_CHECK_CLASS_CAST((klass), \
58 EMPATHY_TYPE_ROSTER_MODEL_MANAGER, \
59 EmpathyRosterModelManagerClass))
60 #define EMPATHY_IS_ROSTER_MODEL_MANAGER(obj) \
61 (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
62 EMPATHY_TYPE_ROSTER_MODEL_MANAGER))
63 #define EMPATHY_IS_ROSTER_MODEL_MANAGER_CLASS(klass) \
64 (G_TYPE_CHECK_CLASS_TYPE((klass), \
65 EMPATHY_TYPE_ROSTER_MODEL_MANAGER))
66 #define EMPATHY_ROSTER_MODEL_MANAGER_GET_CLASS(obj) \
67 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
68 EMPATHY_TYPE_ROSTER_MODEL_MANAGER, \
69 EmpathyRosterModelManagerClass))
71 EmpathyRosterModelManager
* empathy_roster_model_manager_new (
72 EmpathyIndividualManager
*manager
);
76 #endif /* #ifndef __EMPATHY_ROSTER_MODEL_MANAGER_H__*/