From ff38c8737a36e5aced5f2dede5bccd2832fc446a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 30 Aug 2013 17:27:22 +0100 Subject: Partial. --- src/asset_list.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/asset_list.h (limited to 'src/asset_list.h') diff --git a/src/asset_list.h b/src/asset_list.h new file mode 100644 index 00000000..4a4a2799 --- /dev/null +++ b/src/asset_list.h @@ -0,0 +1,48 @@ +/* + Copyright (C) 2012-2013 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 +#include +#include +#include "types.h" + +namespace cxml { + class Node; +} + +namespace libdcp { + +class AssetInstance; + +class AssetList +{ +public: + AssetList () {} + AssetList (boost::shared_ptr node); + + void write_to_cpl (xmlpp::Element *, bool) const; + bool equals (boost::shared_ptr, EqualityOptions opt, boost::function note) const; + + boost::shared_ptr main_picture; + boost::shared_ptr main_stereoscopic_picture; + boost::shared_ptr main_sound; + boost::shared_ptr main_subtitle; +}; + +} -- cgit v1.2.3