summaryrefslogtreecommitdiff
path: root/src/segment.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-01-05 01:24:19 +0000
committerCarl Hetherington <cth@carlh.net>2016-01-05 01:24:19 +0000
commit5ee3348142f4cfafdbcf2c9c833843d717affc11 (patch)
tree1c97c80eeccc6b5f515a611e35dee35b21d3b09b /src/segment.h
parent740938890d95e853cf13d4780a5d674c3d6c7f6f (diff)
Various IMF hacks.imf
Diffstat (limited to 'src/segment.h')
-rw-r--r--src/segment.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/segment.h b/src/segment.h
index 1b6e470d..5194d684 100644
--- a/src/segment.h
+++ b/src/segment.h
@@ -23,12 +23,23 @@
namespace dcp {
class Sequence;
+class Asset;
class Segment : public Object
{
public:
Segment (cxml::ConstNodePtr node);
+ boost::shared_ptr<Sequence> main_image () const {
+ return _main_image;
+ }
+
+ boost::shared_ptr<Sequence> main_audio () const {
+ return _main_audio;
+ }
+
+ void resolve_refs (std::list<boost::shared_ptr<Asset> >);
+
private:
boost::shared_ptr<Sequence> _main_image;
boost::shared_ptr<Sequence> _main_audio;