1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Authors: Jon Trowbridge <trow@ximian.com>
4 * Jeffrey Stedfast <fejj@ximian.com>
6 * Copyright 2001-2002 Ximian, Inc. (www.ximian.com)
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
24 #ifndef _EM_FILTER_SOURCE_ELEMENT_H
25 #define _EM_FILTER_SOURCE_ELEMENT_H
27 #include "filter/filter-element.h"
29 #define EM_FILTER_SOURCE_ELEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), em_filter_source_element_get_type(), EMFilterSourceElement))
30 #define EM_FILTER_SOURCE_ELEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), em_filter_source_element_get_type(), EMFilterSourceElementClass))
31 #define EM_IS_FILTER_SOURCE_ELEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), em_filter_source_element_get_type()))
32 #define EM_IS_FILTER_SOURCE_ELEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), em_filter_source_element_get_type()))
33 #define EM_FILTER_SOURCE_ELEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), em_filter_source_element_get_type(), EMFilterSourceElementClass))
35 typedef struct _EMFilterSourceElement EMFilterSourceElement
;
36 typedef struct _EMFilterSourceElementClass EMFilterSourceElementClass
;
38 struct _EMFilterSourceElement
{
39 FilterElement parent_object
;
40 struct _EMFilterSourceElementPrivate
*priv
;
43 struct _EMFilterSourceElementClass
{
44 FilterElementClass parent_class
;
47 GType
em_filter_source_element_get_type (void);
48 EMFilterSourceElement
*em_filter_source_element_new (void);
50 void em_filter_source_element_set_current (EMFilterSourceElement
*src
, const char *url
);
52 #endif /* _EM_FILTER_SOURCE_ELEMENT_H */