From d88be436d908708bb62a95ee06fbf8a104c36e1d Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 22 May 2000 18:14:39 +0000 Subject: added camel-mime-filter-smtp.[c,h] and made mods to camel-mime-filter-from.c svn path=/trunk/; revision=3163 --- camel/camel-mime-filter-smtp.h | 50 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 camel/camel-mime-filter-smtp.h (limited to 'camel/camel-mime-filter-smtp.h') diff --git a/camel/camel-mime-filter-smtp.h b/camel/camel-mime-filter-smtp.h new file mode 100644 index 0000000000..6bfa20e9c4 --- /dev/null +++ b/camel/camel-mime-filter-smtp.h @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2000 Helix Code Inc. + * + * Authors: Jeffrey Stedfast + * + * 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 Place, Suite 330, Boston, MA 02111-1307 + * USA + */ + +#ifndef _CAMEL_MIME_FILTER_SMTP_H +#define _CAMEL_MIME_FILTER_SMTP_H + +#include +#include + +#define CAMEL_MIME_FILTER_SMTP(obj) GTK_CHECK_CAST (obj, camel_mime_filter_smtp_get_type (), CamelMimeFilterSmtp) +#define CAMEL_MIME_FILTER_SMTP_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, camel_mime_filter_smtp_get_type (), CamelMimeFilterSmtpClass) +#define IS_CAMEL_MIME_FILTER_SMTP(obj) GTK_CHECK_TYPE (obj, camel_mime_filter_smtp_get_type ()) + +typedef struct _CamelMimeFilterSmtp CamelMimeFilterSmtp; +typedef struct _CamelMimeFilterSmtpClass CamelMimeFilterSmtpClass; + +struct _CamelMimeFilterSmtp { + CamelMimeFilter parent; + + struct _CamelMimeFilterSmtpPrivate *priv; + + int midline; /* are we between lines? */ +}; + +struct _CamelMimeFilterSmtpClass { + CamelMimeFilterClass parent_class; +}; + +guint camel_mime_filter_smtp_get_type (void); +CamelMimeFilterFrom *camel_mime_filter_smtp_new (void); + +#endif /* ! _CAMEL_MIME_FILTER_SMTP_H */ -- cgit v1.2.3