Re-work Subtitle class; remove STL text writer.
[libsub.git] / src / reader.h
index e5f142f94973472f220f5ca036aeac4e5a0ace83..8aa9fd891443ec26dd1d88186da157220062a4f2 100644 (file)
 
 */
 
+#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