summaryrefslogtreecommitdiff
path: root/src/reel_sound_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-12-16 17:45:46 +0100
committerCarl Hetherington <cth@carlh.net>2025-12-18 01:10:32 +0100
commitc3c127e0bdb988696d16f47ea8080df3eff38420 (patch)
treeecdff8d299152eef491f1946e6ccb4f6d9cf8e71 /src/reel_sound_asset.h
parent45ed3bf55175a8555123b320b366efb69b1ba629 (diff)
Add can_be_read() to ReelFileAsset and subclasses.
Diffstat (limited to 'src/reel_sound_asset.h')
-rw-r--r--src/reel_sound_asset.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/reel_sound_asset.h b/src/reel_sound_asset.h
index 6537ab5c..ac157bdb 100644
--- a/src/reel_sound_asset.h
+++ b/src/reel_sound_asset.h
@@ -55,6 +55,8 @@ public:
ReelSoundAsset (std::shared_ptr<dcp::SoundAsset> content, int64_t entry_point);
explicit ReelSoundAsset (std::shared_ptr<const cxml::Node>);
+ bool can_be_read() const override;
+
/** @return the SoundAsset that this object refers to */
std::shared_ptr<const SoundAsset> asset () const {
return asset_of_type<const SoundAsset>();