From 4c01f9a36b6e64a0300516db7990386ba3c77e54 Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Sun, 20 Jun 2010 19:04:58 +0000 Subject: [PATCH] Declare a SubtitleFormatParseError exception, its ancestry might not be final yet. (I'm thinking it needs a file format error class as base, which in turn inherits from agi::InvalidInput.) Updates #1213 in preparation for the actual patch. Originally committed to SVN as r4556. --- aegisub/src/subtitle_format.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aegisub/src/subtitle_format.h b/aegisub/src/subtitle_format.h index 8f7a84cdc..7c368a640 100644 --- a/aegisub/src/subtitle_format.h +++ b/aegisub/src/subtitle_format.h @@ -47,6 +47,8 @@ #include #endif +#include + ////////////// // Prototypes @@ -161,3 +163,5 @@ public: }; +DEFINE_SIMPLE_EXCEPTION(SubtitleFormatParseError, agi::InvalidInputException, "subtitle_io/parse/generic") +