summaryrefslogtreecommitdiff
path: root/camel/camel-mime-part.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-02-19 01:40:57 +0000
committerDan Winship <danw@src.gnome.org>2000-02-19 01:40:57 +0000
commit80f42c22af69dc39b5450278a6f996a6f97dffc8 (patch)
treebef2304e3a3c07e6e1418c04d4527efe47c4d43a /camel/camel-mime-part.h
parentc63fd2a51bc0b81620d0d71e0f3283cea4d68b81 (diff)
downloadevolution-data-server-80f42c22af69dc39b5450278a6f996a6f97dffc8.tar.gz
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
Diffstat (limited to 'camel/camel-mime-part.h')
-rw-r--r--camel/camel-mime-part.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/camel/camel-mime-part.h b/camel/camel-mime-part.h
index 4b48ce1c0..708091cb2 100644
--- a/camel/camel-mime-part.h
+++ b/camel/camel-mime-part.h
@@ -35,9 +35,8 @@ extern "C" {
#endif /* __cplusplus }*/
#include <gtk/gtk.h>
+#include "camel-types.h"
#include "camel-medium.h"
-#include "camel-stream.h"
-
#define CAMEL_MIME_PART_TYPE (camel_mime_part_get_type ())
#define CAMEL_MIME_PART(obj) (GTK_CHECK_CAST((obj), CAMEL_MIME_PART_TYPE, CamelMimePart))
@@ -58,7 +57,7 @@ typedef enum _CamelMimePartEncodingType CamelMimePartEncodingType;
/* Do not change these values directly, you
would regret it one day */
-typedef struct
+struct _CamelMimePart
{
CamelMedium parent_object;
@@ -76,7 +75,7 @@ typedef struct
GMimeContentField *content_type;
CamelStream *content_input_stream;
-} CamelMimePart;
+};