]> git.0d.be Git - empathy.git/blob - libempathy-gtk/empathy-individual-store-manager.h
fac0f31d69b9803df13149d853b2b7207eaf329e
[empathy.git] / libempathy-gtk / empathy-individual-store-manager.h
1 /*
2  * Copyright (C) 2005-2007 Imendio AB
3  * Copyright (C) 2007-2011 Collabora Ltd.
4  *
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.
9  *
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.
14  *
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
19  *
20  * Authors: Mikael Hallendal <micke@imendio.com>
21  *          Martyn Russell <martyn@imendio.com>
22  *          Xavier Claessens <xclaesse@gmail.com>
23  *          Travis Reitter <travis.reitter@collabora.co.uk>
24  */
25
26 #ifndef __EMPATHY_INDIVIDUAL_STORE_MANAGER_H__
27 #define __EMPATHY_INDIVIDUAL_STORE_MANAGER_H__
28
29 #include <gtk/gtk.h>
30
31 #include "empathy-individual-manager.h"
32
33 #include "empathy-individual-store.h"
34
35 G_BEGIN_DECLS
36 #define EMPATHY_TYPE_INDIVIDUAL_STORE_MANAGER         (empathy_individual_store_manager_get_type ())
37 #define EMPATHY_INDIVIDUAL_STORE_MANAGER(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), EMPATHY_TYPE_INDIVIDUAL_STORE_MANAGER, EmpathyIndividualStoreManager))
38 #define EMPATHY_INDIVIDUAL_STORE_MANAGER_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), EMPATHY_TYPE_INDIVIDUAL_STORE_MANAGER, EmpathyIndividualStoreManagerClass))
39 #define EMPATHY_IS_INDIVIDUAL_STORE_MANAGER(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_INDIVIDUAL_STORE_MANAGER))
40 #define EMPATHY_IS_INDIVIDUAL_STORE_MANAGER_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_INDIVIDUAL_STORE_MANAGER))
41 #define EMPATHY_INDIVIDUAL_STORE_MANAGER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_INDIVIDUAL_STORE_MANAGER, EmpathyIndividualStoreManagerClass))
42
43 typedef struct _EmpathyIndividualStoreManager EmpathyIndividualStoreManager;
44 typedef struct _EmpathyIndividualStoreManagerClass EmpathyIndividualStoreManagerClass;
45 typedef struct _EmpathyIndividualStoreManagerPriv EmpathyIndividualStoreManagerPriv;
46
47 struct _EmpathyIndividualStoreManager
48 {
49   EmpathyIndividualStore parent;
50   EmpathyIndividualStoreManagerPriv *priv;
51 };
52
53 struct _EmpathyIndividualStoreManagerClass
54 {
55   EmpathyIndividualStoreClass parent_class;
56 };
57
58 GType empathy_individual_store_manager_get_type (void) G_GNUC_CONST;
59
60 EmpathyIndividualStoreManager *empathy_individual_store_manager_new (
61     EmpathyIndividualManager *manager);
62
63 EmpathyIndividualManager *empathy_individual_store_manager_get_manager (
64     EmpathyIndividualStoreManager *store);
65
66 G_END_DECLS
67 #endif /* __EMPATHY_INDIVIDUAL_STORE_MANAGER_H__ */