summaryrefslogtreecommitdiff
path: root/src/reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/reader.h')
-rw-r--r--src/reader.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/reader.h b/src/reader.h
index e5f142f..8aa9fd8 100644
--- a/src/reader.h
+++ b/src/reader.h
@@ -17,8 +17,13 @@
*/
+#ifndef LIBSUB_READER_H
+#define LIBSUB_READER_H
+
#include "subtitle.h"
#include <list>
+#include <map>
+#include <string>
namespace sub {
@@ -29,6 +34,10 @@ public:
return _subs;
}
+ virtual std::map<std::string, std::string> metadata () const {
+ return std::map<std::string, std::string> ();
+ }
+
protected:
void warn (std::string) const;
@@ -36,3 +45,5 @@ protected:
};
}
+
+#endif