From b21ac5801854d9d8946a0f8d0cadca2abd9a066b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 10 Jan 2016 22:39:35 +0000 Subject: Hacks. --- src/resource.h | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 src/resource.h (limited to 'src/resource.h') diff --git a/src/resource.h b/src/resource.h new file mode 100644 index 00000000..2f4fded5 --- /dev/null +++ b/src/resource.h @@ -0,0 +1,45 @@ +/* + Copyright (C) 2016 Carl Hetherington + + 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 + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#include "object.h" +#include "types.h" +#include + +namespace dcp { +namespace im { + +class Resource : public Object +{ +public: + Resource (cxml::ConstNodePtr node); + +private: + std::string _annotation; + dcp::Fraction _edit_rate; + int64_t _intrinsic_duration; + int64_t _entry_point; + int64_t _source_duration; + int _repeat_count; + std::string _source_encoding; + std::string _track_file_id; + std::string _hash; +}; + +} +} -- cgit v1.2.3