diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/collect.h | 5 | ||||
| -rw-r--r-- | src/exceptions.h | 5 | ||||
| -rw-r--r-- | src/stl_binary_reader.h | 5 | ||||
| -rw-r--r-- | src/stl_binary_writer.h | 5 | ||||
| -rw-r--r-- | src/stl_text_reader.h | 5 | ||||
| -rw-r--r-- | src/subrip_reader.h | 5 |
6 files changed, 30 insertions, 0 deletions
diff --git a/src/collect.h b/src/collect.h index ff43ce0..9f3db63 100644 --- a/src/collect.h +++ b/src/collect.h @@ -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 diff --git a/src/exceptions.h b/src/exceptions.h index cb49d86..a0ca1b9 100644 --- a/src/exceptions.h +++ b/src/exceptions.h @@ -17,6 +17,9 @@ */ +#ifndef LIBSUB_EXCEPTIONS_H +#define LIBSUB_EXCEPTIONS_H + #include <stdexcept> #include <string> @@ -73,3 +76,5 @@ public: }; } + +#endif diff --git a/src/stl_binary_reader.h b/src/stl_binary_reader.h index 9c2e61f..a637e91 100644 --- a/src/stl_binary_reader.h +++ b/src/stl_binary_reader.h @@ -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 diff --git a/src/stl_binary_writer.h b/src/stl_binary_writer.h index 2494d17..b4ab960 100644 --- a/src/stl_binary_writer.h +++ b/src/stl_binary_writer.h @@ -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 diff --git a/src/stl_text_reader.h b/src/stl_text_reader.h index f6eb2a3..77e9b73 100644 --- a/src/stl_text_reader.h +++ b/src/stl_text_reader.h @@ -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 diff --git a/src/subrip_reader.h b/src/subrip_reader.h index 0a43357..9b9ff92 100644 --- a/src/subrip_reader.h +++ b/src/subrip_reader.h @@ -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 |
