From e72c45d304fb6e538aad8ceb9ce07b1d8c59156f Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sat, 19 Feb 2000 01:40:57 +0000 Subject: New header with the typedefs for all camel classes. Now the class headers * camel/camel-types.h: New header with the typedefs for all camel classes. Now the class headers can just include this and the header for the parent type. This makes it possible for CamelService to include a CamelSession without creating an #include loop. * camel/*: * composer/e-msg-composer-attachment-bar.h: * mail/folder-browser.c: * mail/message-list.c: frob #includes to match the new reality svn path=/trunk/; revision=1850 --- camel/camel-types.h | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 camel/camel-types.h (limited to 'camel/camel-types.h') diff --git a/camel/camel-types.h b/camel/camel-types.h new file mode 100644 index 0000000000..d8505c66c6 --- /dev/null +++ b/camel/camel-types.h @@ -0,0 +1,57 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ + +/* + * Copyright 2000 Helix Code, Inc. (http://www.helixcode.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 Place, Suite 330, Boston, MA 02111-1307 + * USA + */ + +#ifndef CAMEL_TYPES_H +#define CAMEL_TYPES_H 1 + +#ifdef __cplusplus +extern "C" { +#pragma } +#endif /* __cplusplus }*/ + +typedef struct _CamelDataWrapper CamelDataWrapper; +typedef struct _CamelException CamelException; +typedef struct _CamelFolder CamelFolder; +typedef struct _CamelFolderSummary CamelFolderSummary; +typedef struct _CamelFormatter CamelFormatter; +typedef struct _CamelMedium CamelMedium; +typedef struct _CamelMimeBodyPart CamelMimeBodyPart; +typedef struct _CamelMimeMessage CamelMimeMessage; +typedef struct _CamelMimePart CamelMimePart; +typedef struct _CamelMultipart CamelMultipart; +typedef struct _CamelSeekableStream CamelSeekableStream; +typedef struct _CamelSeekableSubstream CamelSeekableSubstream; +typedef struct _CamelService CamelService; +typedef struct _CamelSession CamelSession; +typedef struct _CamelSimpleDataWrapper CamelSimpleDataWrapper; +typedef struct _CamelSimpleDataWrapperStream CamelSimpleDataWrapperStream; +typedef struct _CamelStore CamelStore; +typedef struct _CamelStream CamelStream; +typedef struct _CamelStreamBufferedFs CamelStreamBufferedFs; +typedef struct _CamelStreamDataWrapper CamelStreamDataWrapper; +typedef struct _CamelStreamFs CamelStreamFs; +typedef struct _CamelStreamMem CamelStreamMem; + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* CAMEL_TYPES_H */ -- cgit v1.2.3