2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU Lesser General Public
4 * License as published by the Free Software Foundation; either
5 * version 2 of the License, or (at your option) version 3.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * Lesser General Public License for more details.
12 * You should have received a copy of the GNU Lesser General Public
13 * License along with the program; if not, see <http://www.gnu.org/licenses/>
17 * Jeffrey Stedfast <fejj@ximian.com>
19 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
23 #ifndef E_FILTER_INT_H
24 #define E_FILTER_INT_H
26 #include "e-filter-element.h"
28 /* Standard GObject macros */
29 #define E_TYPE_FILTER_INT \
30 (e_filter_int_get_type ())
31 #define E_FILTER_INT(obj) \
32 (G_TYPE_CHECK_INSTANCE_CAST \
33 ((obj), E_TYPE_FILTER_INT, EFilterInt))
34 #define E_FILTER_INT_CLASS(cls) \
35 (G_TYPE_CHECK_CLASS_CAST \
36 ((cls), E_TYPE_FILTER_INT, EFilterIntClass))
37 #define E_IS_FILTER_INT(obj) \
38 (G_TYPE_CHECK_INSTANCE_TYPE \
39 ((obj), E_TYPE_FILTER_INT))
40 #define E_IS_FILTER_INT_CLASS(cls) \
41 (G_TYPE_CHECK_CLASS_TYPE \
42 ((cls), E_TYPE_FILTER_INT))
43 #define E_FILTER_INT_GET_CLASS(obj) \
44 (G_TYPE_INSTANCE_GET_CLASS \
45 ((obj), E_TYPE_FILTER_INT, EFilterIntClass))
49 typedef struct _EFilterInt EFilterInt
;
50 typedef struct _EFilterIntClass EFilterIntClass
;
51 typedef struct _EFilterIntPrivate EFilterIntPrivate
;
54 EFilterElement parent
;
55 EFilterIntPrivate
*priv
;
63 struct _EFilterIntClass
{
64 EFilterElementClass parent_class
;
67 GType
e_filter_int_get_type (void);
68 EFilterElement
*e_filter_int_new (void);
69 EFilterElement
*e_filter_int_new_type (const gchar
*type
,
72 void e_filter_int_set_value (EFilterInt
*f_int
,
77 #endif /* E_FILTER_INT_H */