summaryrefslogtreecommitdiff
path: root/src/reel_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-08 15:40:19 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-08 15:40:19 +0100
commit9e871b60fc7430650f239cfd9291ab65cb5aeba8 (patch)
treecfc77d0079fef2aeeb896fe6c7e50716fc696fa1 /src/reel_asset.h
parent656519fb0028c90fd16c1cc13103177ccd52664d (diff)
Require only DCP::add() for the CPL; other assets found by looking in the CPL.
Diffstat (limited to 'src/reel_asset.h')
-rw-r--r--src/reel_asset.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/reel_asset.h b/src/reel_asset.h
index 118f10a1..981d70db 100644
--- a/src/reel_asset.h
+++ b/src/reel_asset.h
@@ -55,10 +55,15 @@ public:
virtual bool equals (boost::shared_ptr<const ReelAsset>, EqualityOptions, NoteHandler) const;
/** @return a Ref to our actual asset */
- Ref<Asset>& asset_ref () {
+ Ref<Asset> const & asset_ref () const {
return _asset_ref;
}
+ /** @return a Ref to our actual asset */
+ Ref<Asset>& asset_ref () {
+ return _asset_ref;
+ }
+
int64_t entry_point () const {
return _entry_point;
}