From ea1ac521c7eb58401bf2e177dc49c78054a42c16 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 26 Oct 2000 04:26:32 +0000 Subject: Readded Source url stuff. 2000-10-26 Jeffrey Stedfast * filtertypes.xml: Readded Source url stuff. * filter-element.c (filter_element_new_type_name): Added url stuff back in. * filter-url.[c,h]: Back from the dead... * Makefile.am: Re-added filter-url.[c,h]. svn path=/trunk/; revision=6200 --- filter/filter-url.h | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 filter/filter-url.h (limited to 'filter/filter-url.h') diff --git a/filter/filter-url.h b/filter/filter-url.h new file mode 100644 index 0000000000..f526acc5bf --- /dev/null +++ b/filter/filter-url.h @@ -0,0 +1,59 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * Authors: Jeffrey Stedfast + * + * Copyright 2000 Helix Code, Inc. (www.helixcode.com) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. + * + */ + + +#ifndef _FILTER_URL_H +#define _FILTER_URL_H + +#include +#include "filter-element.h" + +#define FILTER_URL(obj) GTK_CHECK_CAST (obj, filter_url_get_type (), FilterUrl) +#define FILTER_URL_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, filter_url_get_type (), FilterUrlClass) +#define IS_FILTER_URL(obj) GTK_CHECK_TYPE (obj, filter_url_get_type ()) + +typedef struct _FilterUrl FilterUrl; +typedef struct _FilterUrlClass FilterUrlClass; + +struct _FilterUrl { + FilterElement parent; + struct _FilterUrlPrivate *priv; + + GList *urls; /* maybe use this? I dunno */ + gchar *url; +}; + +struct _FilterUrlClass { + FilterElementClass parent_class; + + /* virtual methods */ + + /* signals */ +}; + +guint filter_url_get_type (void); +FilterUrl *filter_url_new (void); + +/* methods */ + +#endif /* ! _FILTER_URL_H */ + -- cgit v1.2.3