summaryrefslogtreecommitdiff
path: root/src/reel_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-08 23:28:17 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-08 23:28:17 +0100
commit6425742f95a4c2e539061b29016a4a5bd10ac9ae (patch)
tree9dd986f6ca187071811b7b94f3e5dc4e08c71988 /src/reel_asset.h
parent635c3ae7aee1cad4b871fcf0ddf02a8be1cdce78 (diff)
parent9e871b60fc7430650f239cfd9291ab65cb5aeba8 (diff)
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
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 47bae675..e9704acd 100644
--- a/src/reel_asset.h
+++ b/src/reel_asset.h
@@ -59,10 +59,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;
}