Updated Indonesian translation
[evolution.git] / mail / em-search-context.h
blob8a104db00523b7e4aa7dd66d6211515da54fd4ec
1 /*
3 * This program is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2 of the License, or (at your option) version 3.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with the program; if not, see <http://www.gnu.org/licenses/>
17 * Authors:
18 * Not Zed <notzed@lostzed.mmc.com.au>
19 * Jeffrey Stedfast <fejj@ximian.com>
21 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
25 #ifndef EM_SEARCH_CONTEXT_H
26 #define EM_SEARCH_CONTEXT_H
28 #include <e-util/e-util.h>
30 /* Standard GObject macros */
31 #define EM_SEARCH_TYPE_CONTEXT \
32 (em_search_context_get_type ())
33 #define EM_SEARCH_CONTEXT(obj) \
34 (G_TYPE_CHECK_INSTANCE_CAST \
35 ((obj), EM_SEARCH_TYPE_CONTEXT, EMSearchContext))
36 #define EM_SEARCH_CONTEXT_CLASS(cls) \
37 (G_TYPE_CHECK_CLASS_CAST \
38 ((cls), EM_SEARCH_TYPE_CONTEXT, EMSearchContextClass))
39 #define EM_IS_SEARCH_CONTEXT(obj) \
40 (G_TYPE_CHECK_INSTANCE_TYPE \
41 ((obj), EM_SEARCH_TYPE_CONTEXT))
42 #define EM_IS_SEARCH_CONTEXT_CLASS(cls) \
43 (G_TYPE_CHECK_CLASS_TYPE \
44 ((cls), EM_SEARCH_TYPE_CONTEXT))
45 #define EM_SEARCH_CONTEXT_GET_CLASS(obj) \
46 (G_TYPE_INSTANCE_GET_CLASS \
47 ((obj), EM_SEARCH_TYPE_CONTEXT, EMSearchContextClass))
49 G_BEGIN_DECLS
51 typedef struct _EMSearchContext EMSearchContext;
52 typedef struct _EMSearchContextClass EMSearchContextClass;
54 struct _EMSearchContext {
55 ERuleContext parent;
58 struct _EMSearchContextClass {
59 ERuleContextClass parent_class;
62 GType em_search_context_get_type (void);
63 ERuleContext * em_search_context_new (void);
65 G_END_DECLS
67 #endif /* EM_SEARCH_CONTEXT_H */