Fix STL italic / underline (from master).
[libsub.git] / src / stl_text_reader.h
index b84e8b80a771edc187cb1c5c5a920ee3b6129f96..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:
@@ -30,9 +37,11 @@ public:
 private:
        void set (std::string name, std::string value);
        void maybe_push ();
-       boost::optional<FrameTime> time (std::string t) const;
+       boost::optional<Time> time (std::string t) const;
 
        RawSubtitle _subtitle;
 };
 
 }
+
+#endif