aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-data-wrapper.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-09-19 04:03:10 +0800
committerDan Winship <danw@src.gnome.org>2001-09-19 04:03:10 +0800
commitb4c31f5153efd4a7aa58bd1ebd3319297e528f42 (patch)
treeb1a3f33fab0a8ed4a278107b5267239ff6533298 /camel/camel-data-wrapper.h
parentbb51b55bcc64b0342db45e389342b129a20b8a2a (diff)
downloadgsoc2013-evolution-b4c31f5153efd4a7aa58bd1ebd3319297e528f42.tar.gz
gsoc2013-evolution-b4c31f5153efd4a7aa58bd1ebd3319297e528f42.tar.zst
gsoc2013-evolution-b4c31f5153efd4a7aa58bd1ebd3319297e528f42.zip
Virtualize this.
* camel-data-wrapper.c (camel_data_wrapper_is_offline): Virtualize this. * camel-medium.c (is_offline): A medium is offline if its content object is offline. * camel-multipart.c (is_offline): A multipart is offline if any of its subparts are offline. svn path=/trunk/; revision=12948
Diffstat (limited to 'camel/camel-data-wrapper.h')
-rw-r--r--camel/camel-data-wrapper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/camel-data-wrapper.h b/camel/camel-data-wrapper.h
index 9d7b62dd0c..2d1e44c1fd 100644
--- a/camel/camel-data-wrapper.h
+++ b/camel/camel-data-wrapper.h
@@ -69,6 +69,9 @@ typedef struct {
int (*construct_from_stream) (CamelDataWrapper *data_wrapper,
CamelStream *);
+
+ gboolean (*is_offline) (CamelDataWrapper *data_wrapper);
+
} CamelDataWrapperClass;
/* Standard Camel function */