2004-02-06 Jeffrey Stedfast <fejj@ximian.com> * em-format-html.c (efh_format_headers): Make private (only EMFormatHTMLQuote used it and that class is no longer in use). (efh_format_message): Updated for above change. * em-format-quote.c (emfq_format_message): Always write a \n after the credits line. svn path=/trunk/; revision=24661
57 lines
1.6 KiB
C
57 lines
1.6 KiB
C
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
|
/*
|
|
* Authors: Jeffrey Stedfast <fejj@ximian.com>
|
|
*
|
|
* Copyright 2003 Ximian, Inc. (www.ximian.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 _EM_FORMAT_QUOTE_H
|
|
#define _EM_FORMAT_QUOTE_H
|
|
|
|
#include "em-format.h"
|
|
|
|
typedef struct _EMFormatQuote EMFormatQuote;
|
|
typedef struct _EMFormatQuoteClass EMFormatQuoteClass;
|
|
|
|
#define EM_FORMAT_QUOTE_CITE (1<<0)
|
|
#define EM_FORMAT_QUOTE_HEADERS (1<<1)
|
|
|
|
struct _EMFormatQuote {
|
|
EMFormat format;
|
|
|
|
struct _EMFormatQuotePrivate *priv;
|
|
|
|
char *credits;
|
|
struct _CamelStream *stream;
|
|
guint32 flags;
|
|
|
|
guint32 text_html_flags;
|
|
guint32 citation_colour;
|
|
};
|
|
|
|
struct _EMFormatQuoteClass {
|
|
EMFormatClass format_class;
|
|
};
|
|
|
|
GType em_format_quote_get_type (void);
|
|
|
|
EMFormatQuote *em_format_quote_new (const char *credits, struct _CamelStream *stream, guint32 flags);
|
|
|
|
#endif /* !_EM_FORMAT_QUOTE_H */
|