diff options
author | Not Zed <NotZed@Ximian.com> | 2002-02-08 10:10:46 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-02-08 10:10:46 +0800 |
commit | d56ec225b805cb7a071d10adf99a93979cb3d0e7 (patch) | |
tree | 8888dc6007f3d7d8b8af5c51c0f4bf2936918491 /camel/providers/local/camel-spoold-store.h | |
parent | 92d7dbf6cea9dc43bd55e353c9b38315791a6317 (diff) | |
download | gsoc2013-evolution-d56ec225b805cb7a071d10adf99a93979cb3d0e7.tar gsoc2013-evolution-d56ec225b805cb7a071d10adf99a93979cb3d0e7.tar.gz gsoc2013-evolution-d56ec225b805cb7a071d10adf99a93979cb3d0e7.tar.bz2 gsoc2013-evolution-d56ec225b805cb7a071d10adf99a93979cb3d0e7.tar.lz gsoc2013-evolution-d56ec225b805cb7a071d10adf99a93979cb3d0e7.tar.xz gsoc2013-evolution-d56ec225b805cb7a071d10adf99a93979cb3d0e7.tar.zst gsoc2013-evolution-d56ec225b805cb7a071d10adf99a93979cb3d0e7.zip |
The day number has to be 2 chars wide, space filled to work properly with
2002-02-08 Not Zed <NotZed@Ximian.com>
* providers/local/camel-spool-summary.c
(camel_spool_summary_build_from): The day number has to be 2 chars
wide, space filled to work properly with pine, etc.
* providers/local/camel-spoold-store.[ch]: new type of provider
'spool directory', which lets you view external mbox dirs without
adding any extra cruft. Perhaps it should use . files to store
summaries? Still a bit experimental, there's a warning when you
select it in the account editor. Finished off most of #1185.
Can't rename or move folders.
* camel-mime-utils.c (header_decode_date): If the date is
100->1900 then we actually want to use it as the year in the tm
struct, not year+100. e.g. year 102 -> 2002, not 2102.
2002-02-07 Not Zed <NotZed@Ximian.com>
* providers/local/camel-spool-store.c (get_folder): Pass path into
spool_folder_new.
* providers/local/camel-spool-folder.c (camel_spool_folder_new):
(camel_spool_folder_construct): Take the full path to the folder
and use that as the file path, independent of the full_name we
use.
2002-02-07 Not Zed <NotZed@Ximian.com>
* providers/local/camel-local-provider.c: Added new type, spoold
provider, spoold: for local directories.
* providers/imap/camel-imap-store.c (get_one_folder_offline):
Create offline uri's in a compatible manner to online ones.
svn path=/trunk/; revision=15606
Diffstat (limited to 'camel/providers/local/camel-spoold-store.h')
-rw-r--r-- | camel/providers/local/camel-spoold-store.h | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/camel/providers/local/camel-spoold-store.h b/camel/providers/local/camel-spoold-store.h new file mode 100644 index 0000000000..0f80e1bdfb --- /dev/null +++ b/camel/providers/local/camel-spoold-store.h @@ -0,0 +1,66 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- + * + * Authors: Michael Zucchi <notzed@ximian.com> + * + * Copyright (C) 2001 Ximian Inc (www.ximian.com) + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of version 2 of the GNU General Public + * License as published by the Free Software Foundation. + * + * 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_SPOOLD_STORE_H +#define CAMEL_SPOOLD_STORE_H 1 + + +#ifdef __cplusplus +extern "C" { +#pragma } +#endif /* __cplusplus }*/ + +#include "camel-spool-store.h" + +#define CAMEL_SPOOLD_STORE_TYPE (camel_spoold_store_get_type ()) +#define CAMEL_SPOOLD_STORE(obj) (CAMEL_CHECK_CAST((obj), CAMEL_SPOOLD_STORE_TYPE, CamelSpoolDStore)) +#define CAMEL_SPOOLD_STORE_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_SPOOLD_STORE_TYPE, CamelSpoolDStoreClass)) +#define CAMEL_IS_SPOOLD_STORE(o) (CAMEL_CHECK_TYPE((o), CAMEL_SPOOLD_STORE_TYPE)) + + +typedef struct { + CamelSpoolStore parent_object; + +} CamelSpoolDStore; + + + +typedef struct { + CamelSpoolStoreClass parent_class; + +} CamelSpoolDStoreClass; + + +/* public methods */ + +/* Standard Camel function */ +CamelType camel_spoold_store_get_type (void); + +const gchar *camel_spoold_store_get_toplevel_dir (CamelSpoolDStore *store); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* CAMEL_SPOOLD_STORE_H */ + + |