diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-13 23:52:48 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-13 23:52:48 +0100 |
| commit | e64f6002a413f7aaffca60387d82c2e91b931ab9 (patch) | |
| tree | 6f561297e6ffda09cdd1815d3630ff3e9983cbad /src | |
| parent | ad3f59faa168a529048e0f631c31dfd6fb3d01e3 (diff) | |
Some comments.
Diffstat (limited to 'src')
| -rw-r--r-- | src/exceptions.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/exceptions.h b/src/exceptions.h index 43ddab02..5d8000d7 100644 --- a/src/exceptions.h +++ b/src/exceptions.h @@ -112,14 +112,17 @@ protected: std::string _message; }; +/** @class MissingAssetError + * @brief An error of a missing asset. + */ class MissingAssetError : public DCPReadError { public: enum AssetType { - MAIN_PICTURE, - MAIN_SOUND, - MAIN_SUBTITLE, - UNKNOWN + MAIN_PICTURE, //< main picture is missing + MAIN_SOUND, //< main sound is missing + MAIN_SUBTITLE, //< main subtitle is missing + UNKNOWN //< something is missing but we don't know what }; MissingAssetError (boost::filesystem::path, AssetType = UNKNOWN); |
