1 /* |
|
2 * search-factory.h - Header for GabbleSearchFactory |
|
3 * Copyright (C) 2006 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 |
|
20 #ifndef __SEARCH_FACTORY_H__ |
|
21 #define __SEARCH_FACTORY_H__ |
|
22 |
|
23 #include <glib-object.h> |
|
24 |
|
25 #include "gabble-search-channel.h" |
|
26 |
|
27 G_BEGIN_DECLS |
|
28 |
|
29 typedef struct _GabbleSearchFactory GabbleSearchFactory; |
|
30 typedef struct _GabbleSearchFactoryClass GabbleSearchFactoryClass; |
|
31 |
|
32 struct _GabbleSearchFactoryClass { |
|
33 GObjectClass parent_class; |
|
34 }; |
|
35 |
|
36 struct _GabbleSearchFactory { |
|
37 GObject parent; |
|
38 }; |
|
39 |
|
40 IMPORT_C GType gabble_search_factory_get_type(void); |
|
41 |
|
42 /* TYPE MACROS */ |
|
43 #define GABBLE_TYPE_SEARCH_FACTORY \ |
|
44 (gabble_search_factory_get_type()) |
|
45 #define GABBLE_SEARCH_FACTORY(obj) \ |
|
46 (G_TYPE_CHECK_INSTANCE_CAST((obj), GABBLE_TYPE_SEARCH_FACTORY, GabbleSearchFactory)) |
|
47 #define GABBLE_SEARCH_FACTORY_CLASS(klass) \ |
|
48 (G_TYPE_CHECK_CLASS_CAST((klass), GABBLE_TYPE_SEARCH_FACTORY, GabbleSearchFactoryClass)) |
|
49 #define GABBLE_IS_SEARCH_FACTORY(obj) \ |
|
50 (G_TYPE_CHECK_INSTANCE_TYPE((obj), GABBLE_TYPE_SEARCH_FACTORY)) |
|
51 #define GABBLE_IS_SEARCH_FACTORY_CLASS(klass) \ |
|
52 (G_TYPE_CHECK_CLASS_TYPE((klass), GABBLE_TYPE_SEARCH_FACTORY)) |
|
53 #define GABBLE_SEARCH_FACTORY_GET_CLASS(obj) \ |
|
54 (G_TYPE_INSTANCE_GET_CLASS ((obj), GABBLE_TYPE_SEARCH_FACTORY, GabbleSearchFactoryClass)) |
|
55 |
|
56 |
|
57 G_END_DECLS |
|
58 |
|
59 #endif /* #ifndef __IM_FACTORY_H__ */ |
|
60 |
|