CENTRE_OF_SCREEN -> VERTICAL_CENTRE_OF_SCREEN.
[libsub.git] / src / stl_text_reader.h
index e6a550a3b7c61b5bd6c687f45a909789235a218f..c966a2fd19baffeec9f0ae5833687f8f07af3da9 100644 (file)
 
 */
 
+#ifndef LIBSUB_STL_TEXT_READER_H
+#define LIBSUB_STL_TEXT_READER_H
+
 #include "reader.h"
 #include <boost/optional.hpp>
+#include <iostream>
 
 namespace sub {
 
+/** @class STLTextReader
+ *  @brief A class to read textual STL files
+ */
 class STLTextReader : public Reader
 {
 public:
@@ -29,12 +36,12 @@ public:
 
 private:
        void set (std::string name, std::string value);
-       void maybe_push_subtitle ();
-       void maybe_push_block ();
-       boost::optional<FrameTime> time (std::string t) const;
+       void maybe_push ();
+       boost::optional<Time> time (std::string t) const;
 
-       Subtitle _subtitle;
-       Block _block;
+       RawSubtitle _subtitle;
 };
 
 }
+
+#endif