source: trunk/third/evolution/mail/mail-importer.h @ 16787

Revision 16787, 1.5 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r16786, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2/* mail-importer.h
3 *
4 * Authors: Iain Holmes <iain@ximian.com>
5 *
6 * Copyright (C) 2001  Ximian, Inc.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of version 2 of the GNU General Public
10 * License as published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public
18 * License along with this program; if not, write to the
19 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 * Boston, MA 02111-1307, USA.
21 */
22
23#ifndef __MAIL_IMPORTER_H__
24#define __MAIL_IMPORTER_H__
25
26#include <bonobo/bonobo-listener.h>
27#include <camel/camel-folder.h>
28#include <camel/camel-stream-mem.h>
29#include <evolution-shell-client.h>
30
31typedef struct _MailImporter MailImporter;
32struct _MailImporter {
33        CamelFolder *folder;
34        CamelStreamMem *mstream;
35
36        gboolean frozen; /* Is folder frozen? */
37};
38
39void mail_importer_init (EvolutionShellClient *client);
40void mail_importer_uninit (void);
41
42void mail_importer_add_line (MailImporter *importer,
43                             const char *str,
44                             gboolean finished);
45void mail_importer_create_folder (const char *parent_path,
46                                  const char *name,
47                                  const char *description,
48                                  const BonoboListener *listener);
49#endif
Note: See TracBrowser for help on using the repository browser.