summaryrefslogtreecommitdiff
path: root/encoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'encoder.h')
-rw-r--r--encoder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/encoder.h b/encoder.h
index 6d7a0c1..cdaaaaf 100644
--- a/encoder.h
+++ b/encoder.h
@@ -22,6 +22,9 @@ class Encoder {
//! Read into provided buffer.
virtual std::size_t read(char* buf, std::size_t buf_size) = 0;
+
+ //! MIME type of output.
+ virtual std::string get_mime_type() = 0;
};
#endif