Fix FSF address (Tobias Mueller, #470445)
[platform/upstream/evolution-data-server.git] / camel / camel-mime-filter-pgp.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  * Copyright (C) 2005 Matt Brown..
4  *
5  * Authors: Matt Brown <matt@mattb.net.nz>
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., 51 Franklin Street, Fifth Floor,
19  * Boston, MA 02110-1301, USA.
20  */
21
22 #ifndef _CAMEL_MIME_FILTER_PGP_H
23 #define _CAMEL_MIME_FILTER_PGP_H
24
25 #include <camel/camel-mime-filter.h>
26
27 #define CAMEL_MIME_FILTER_PGP_TYPE         (camel_mime_filter_canon_get_type ())
28 #define CAMEL_MIME_FILTER_PGP(obj)         CAMEL_CHECK_CAST (obj, CAMEL_MIME_FILTER_PGP_TYPE, CamelMimeFilterPgp)
29 #define CAMEL_MIME_FILTER_PGP_CLASS(klass) CAMEL_CHECK_CLASS_CAST (klass, CAMEL_MIME_FILTER_PGP_TYPE, CamelMimeFilterPgpClass)
30 #define CAMEL_IS_MIME_FILTER_PGP(obj)      CAMEL_CHECK_TYPE (obj, CAMEL_MIME_FILTER_PGP_TYPE)
31
32 G_BEGIN_DECLS
33
34 typedef struct _CamelMimeFilterPgp {
35         CamelMimeFilter filter;
36         int state;
37 } CamelMimeFilterPgp;
38
39 typedef struct _CamelMimeFilterPgpClass {
40         CamelMimeFilterClass parent_class;
41 } CamelMimeFilterPgpClass;
42
43 CamelType camel_mime_filter_pgp_get_type (void);
44
45 CamelMimeFilter *camel_mime_filter_pgp_new(void);
46
47 G_END_DECLS
48
49 #endif /* ! _CAMEL_MIME_FILTER_PGP_H */