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.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/camel/camel-data-wrapper.h b/camel/camel-data-wrapper.h
index 024155b6c1..67cce7ed50 100644
--- a/camel/camel-data-wrapper.h
+++ b/camel/camel-data-wrapper.h
@@ -47,16 +47,13 @@ struct _CamelDataWrapper
CamelContentType *mime_type;
CamelStream *stream;
+ gboolean offline;
};
typedef struct {
CamelObjectClass parent_class;
/* Virtual methods */
- void (*set_output_stream) (CamelDataWrapper *data_wrapper,
- CamelStream *stream);
- CamelStream * (*get_output_stream) (CamelDataWrapper *data_wrapper);
-
void (*set_mime_type) (CamelDataWrapper *data_wrapper,
const gchar * mime_type);
gchar * (*get_mime_type) (CamelDataWrapper *data_wrapper);
@@ -87,6 +84,8 @@ void camel_data_wrapper_set_mime_type_field (CamelDataWrappe
int camel_data_wrapper_construct_from_stream (CamelDataWrapper *data_wrapper, CamelStream *stream);
+gboolean camel_data_wrapper_is_offline (CamelDataWrapper *data_wrapper);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */