summaryrefslogtreecommitdiff
path: root/src/segment.h
diff options
context:
space:
mode:
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;