~ubuntu-branches/ubuntu/karmic/libtinymail/karmic

« back to all changes in this revision

Viewing changes to libtinymail-camel/camel-lite/camel/camel-mime-filter-linewrap.h

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-10-12 11:21:12 UTC
  • Revision ID: james.westby@ubuntu.com-20071012112112-fod9fs7yrooxjr7i
Tags: upstream-0.0.2
ImportĀ upstreamĀ versionĀ 0.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
2
/*
 
3
 *  Copyright (C) 2000 Ximian Inc.
 
4
 *
 
5
 *  Authors: Jeffrey Stedfast <fejj@ximian.com>
 
6
 *
 
7
 * This program is free software; you can redistribute it and/or
 
8
 * modify it under the terms of version 2 of the GNU Lesser General Public
 
9
 * License as published by the Free Software Foundation.
 
10
 *
 
11
 * This program is distributed in the hope that it will be useful,
 
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
14
 * General Public License for more details.
 
15
 *
 
16
 * You should have received a copy of the GNU Lesser General Public
 
17
 * License along with this program; if not, write to the
 
18
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
19
 * Boston, MA 02111-1307, USA.
 
20
 */
 
21
 
 
22
#ifndef _CAMEL_MIME_FILTER_LINEWRAP_H
 
23
#define _CAMEL_MIME_FILTER_LINEWRAP_H
 
24
 
 
25
#include <camel/camel-mime-filter.h>
 
26
 
 
27
#define CAMEL_MIME_FILTER_LINEWRAP_TYPE         (camel_mime_filter_linewrap_get_type ())
 
28
#define CAMEL_MIME_FILTER_LINEWRAP(obj)         CAMEL_CHECK_CAST (obj, CAMEL_MIME_FILTER_LINEWRAP_TYPE, CamelMimeFilterLinewrap)
 
29
#define CAMEL_MIME_FILTER_LINEWRAP_CLASS(klass) CAMEL_CHECK_CLASS_CAST (klass, CAMEL_MIME_FILTER_LINEWRAP_TYPE, CamelMimeFilterLinewrapClass)
 
30
#define CAMEL_IS_MIME_FILTER_LINEWRAP(obj)      CAMEL_CHECK_TYPE (obj, CAMEL_MIME_FILTER_LINEWRAP_TYPE)
 
31
 
 
32
G_BEGIN_DECLS
 
33
 
 
34
typedef struct _CamelMimeFilterLinewrapClass CamelMimeFilterLinewrapClass;
 
35
 
 
36
struct _CamelMimeFilterLinewrap {
 
37
        CamelMimeFilter parent;
 
38
        
 
39
        guint wrap_len;
 
40
        guint max_len;
 
41
        char indent;
 
42
        int nchars;
 
43
};
 
44
 
 
45
struct _CamelMimeFilterLinewrapClass {
 
46
        CamelMimeFilterClass parent_class;
 
47
};
 
48
 
 
49
CamelType camel_mime_filter_linewrap_get_type (void);
 
50
 
 
51
CamelMimeFilter *camel_mime_filter_linewrap_new (guint preferred_len, guint max_len, char indent_char);
 
52
 
 
53
G_END_DECLS
 
54
 
 
55
#endif /* ! _CAMEL_MIME_FILTER_LINEWRAP_H */