summaryrefslogtreecommitdiff
path: root/src/reader.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-05-27 16:56:34 +0100
committerCarl Hetherington <cth@carlh.net>2014-05-27 16:56:34 +0100
commitbc419bd953dc31184aa3f3a6a3c9b8693bc34b7c (patch)
tree6858141a99a7d92b1c071048d678614ddc28ae26 /src/reader.h
parentf0de0c63504446714ab642f9db872bd31f9c070b (diff)
Start of STL binary reader; start of dumpsubs.
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