Use FAB subtitler's rather odd DFC -> frame rate mapping.
[libsub.git] / src / reader.h
index 8aa9fd891443ec26dd1d88186da157220062a4f2..989ad58caa1ff6a72f9a235763c17b94a9547c4e 100644 (file)
 #ifndef LIBSUB_READER_H
 #define LIBSUB_READER_H
 
-#include "subtitle.h"
+#include "raw_subtitle.h"
 #include <list>
 #include <map>
 #include <string>
 
 namespace sub {
 
+/** @class Reader
+ *  @brief Parent for classes which can read particular subtitle formats.
+ */
 class Reader
 {
 public:
-       std::list<Subtitle> subtitles () const {
+       std::list<RawSubtitle> subtitles () const {
                return _subs;
        }
 
@@ -41,7 +44,7 @@ public:
 protected:
        void warn (std::string) const;
 
-       std::list<Subtitle> _subs;
+       std::list<RawSubtitle> _subs;
 };
 
 }