More header guards.
authorCarl Hetherington <cth@carlh.net>
Wed, 26 Nov 2014 21:44:07 +0000 (21:44 +0000)
committerCarl Hetherington <cth@carlh.net>
Wed, 26 Nov 2014 21:44:07 +0000 (21:44 +0000)
src/collect.h
src/exceptions.h
src/stl_binary_reader.h
src/stl_binary_writer.h
src/stl_text_reader.h
src/subrip_reader.h

index ff43ce044bade20c7610322a23d2cc32b7d8eb92..9f3db63a6c980d242bb3782c663e61e75861ee0d 100644 (file)
@@ -17,6 +17,9 @@
 
 */
 
+#ifndef LIBSUB_COLLECT_H
+#define LIBSUB_COLLECT_H
+
 #include "subtitle.h"
 #include "raw_subtitle.h"
 
@@ -58,3 +61,5 @@ collect (std::list<RawSubtitle> raw)
 }
 
 }
+
+#endif
index cb49d864c713b9472cb1b97776c8a94d390e7cfe..a0ca1b93b073b64f1f00bf30370ee96cfb807124 100644 (file)
@@ -17,6 +17,9 @@
 
 */
 
+#ifndef LIBSUB_EXCEPTIONS_H
+#define LIBSUB_EXCEPTIONS_H
+
 #include <stdexcept>
 #include <string>
 
@@ -73,3 +76,5 @@ public:
 };
 
 }
+
+#endif
index 9c2e61f4571b025fa29a7c90347237485031c8eb..a637e9146d01117a34b18195c9c1ab6f6aa6566d 100644 (file)
@@ -17,6 +17,9 @@
 
 */
 
+#ifndef LIBSUB_STL_BINARY_READER_H
+#define LIBSUB_STL_BINARY_READER_H
+
 #include "reader.h"
 #include "stl_binary_tables.h"
 #include <map>
@@ -74,3 +77,5 @@ private:
 };
 
 }
+
+#endif
index 2494d17c75ad9a8f22a9ae407a12d3c7f5f43cc9..b4ab960890a03efd72eee92a001b7cd2bf5984ce 100644 (file)
@@ -17,6 +17,9 @@
 
 */
 
+#ifndef LIBSUB_STL_BINARY_WRITER_H
+#define LIBSUB_STL_BINARY_WRITER_H
+
 #include "stl_binary_tables.h"
 #include <string>
 #include <boost/filesystem.hpp>
@@ -46,3 +49,5 @@ extern void write_stl_binary (
        );
 
 }
+
+#endif
index f6eb2a39d4d344438d01e24fb9f20e2cb55314a7..77e9b73c2e7d2e1a0fde24b0b67f831d3c1f3be8 100644 (file)
@@ -17,6 +17,9 @@
 
 */
 
+#ifndef LIBSUB_STL_TEXT_READER_H
+#define LIBSUB_STL_TEXT_READER_H
+
 #include "reader.h"
 #include <boost/optional.hpp>
 
@@ -39,3 +42,5 @@ private:
 };
 
 }
+
+#endif
index 0a43357addf3d5583e333bfa62a0b1ec69c1858d..9b9ff920f548d0eb27a43d527fe20060a221fe5f 100644 (file)
@@ -17,6 +17,9 @@
 
 */
 
+#ifndef LIBSUB_SUBRIP_READER_H
+#define LIBSUB_SUBRIP_READER_H
+
 #include "reader.h"
 #include "time_pair.h"
 
@@ -42,3 +45,5 @@ private:
 };
 
 }
+
+#endif