aboutsummaryrefslogtreecommitdiffstats
path: root/vmime/contentHandler.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'vmime/contentHandler.hpp')
-rw-r--r--vmime/contentHandler.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/vmime/contentHandler.hpp b/vmime/contentHandler.hpp
index 38e4e245..0374cbea 100644
--- a/vmime/contentHandler.hpp
+++ b/vmime/contentHandler.hpp
@@ -111,6 +111,13 @@ public:
* @return true if no data is managed by this object, false otherwise
*/
virtual bool isEmpty() const = 0;
+
+ /** Indicates whether the extract() method can be called multiple times.
+ *
+ * @return true if the data can be extracted multiple times, or false
+ * if not (ie. streamed data from socket)
+ */
+ virtual bool isBuffered() const = 0;
};