diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-04-24 23:00:34 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-04-24 23:00:34 +0100 |
| commit | d926e11dab4dbe72cf427b5a25ca18ec3d38a40b (patch) | |
| tree | d2729e5a61ee7cfc96744d442ae171ad2c00841e /src/encrypted_kdm.h | |
| parent | 3bf3aadf8c84255ab3f9b2e27a7065b7bba646b7 (diff) | |
KDM AnnotationText is optional.
Diffstat (limited to 'src/encrypted_kdm.h')
| -rw-r--r-- | src/encrypted_kdm.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/encrypted_kdm.h b/src/encrypted_kdm.h index c899dcbe..a36e7aaf 100644 --- a/src/encrypted_kdm.h +++ b/src/encrypted_kdm.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2014 Carl Hetherington <cth@carlh.net> + Copyright (C) 2013-2016 Carl Hetherington <cth@carlh.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -27,6 +27,7 @@ #include "local_time.h" #include "types.h" #include <boost/filesystem.hpp> +#include <boost/optional.hpp> #include <boost/date_time/local_time/local_time.hpp> namespace cxml { @@ -71,7 +72,7 @@ public: */ std::list<std::string> keys () const; - std::string annotation_text () const; + boost::optional<std::string> annotation_text () const; std::string content_title_text () const; std::string issue_date () const; std::string cpl_id () const; |
