aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-data-wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-data-wrapper.h')
-rw-r--r--camel/camel-data-wrapper.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/camel/camel-data-wrapper.h b/camel/camel-data-wrapper.h
index 0805bc47ce..0af3e73362 100644
--- a/camel/camel-data-wrapper.h
+++ b/camel/camel-data-wrapper.h
@@ -37,7 +37,7 @@ extern "C" {
#include <gtk/gtk.h>
#include "camel-types.h"
#include "gmime-content-field.h"
-
+#include <camel/camel-mime-parser.h>
#define CAMEL_DATA_WRAPPER_TYPE (camel_data_wrapper_get_type ())
#define CAMEL_DATA_WRAPPER(obj) (GTK_CHECK_CAST((obj), CAMEL_DATA_WRAPPER_TYPE, CamelDataWrapper))
@@ -83,6 +83,9 @@ typedef struct {
void (*construct_from_stream) (CamelDataWrapper *data_wrapper,
CamelStream *stream);
+ void (*construct_from_parser) (CamelDataWrapper *data_wrapper,
+ CamelMimeParser *);
+
} CamelDataWrapperClass;
@@ -110,6 +113,9 @@ void camel_data_wrapper_set_output_stream (CamelDataWrappe
CamelStream * camel_data_wrapper_get_output_stream (CamelDataWrapper *data_wrapper);
+void camel_data_wrapper_construct_from_parser (CamelDataWrapper *data_wrapper,
+ CamelMimeParser *);
+
/* deprecated methods. Left until the new parser scheme is ok */
void camel_data_wrapper_construct_from_stream (CamelDataWrapper *data_wrapper,