diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-12-16 17:45:46 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-12-18 01:10:32 +0100 |
| commit | c3c127e0bdb988696d16f47ea8080df3eff38420 (patch) | |
| tree | ecdff8d299152eef491f1946e6ccb4f6d9cf8e71 /src/reel_atmos_asset.h | |
| parent | 45ed3bf55175a8555123b320b366efb69b1ba629 (diff) | |
Add can_be_read() to ReelFileAsset and subclasses.
Diffstat (limited to 'src/reel_atmos_asset.h')
| -rw-r--r-- | src/reel_atmos_asset.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/reel_atmos_asset.h b/src/reel_atmos_asset.h index ab18d1ab..ed525bae 100644 --- a/src/reel_atmos_asset.h +++ b/src/reel_atmos_asset.h @@ -60,6 +60,8 @@ public: ReelAtmosAsset (std::shared_ptr<AtmosAsset> asset, int64_t entry_point); explicit ReelAtmosAsset (std::shared_ptr<const cxml::Node>); + bool can_be_read() const override; + std::shared_ptr<const AtmosAsset> asset () const { return asset_of_type<const AtmosAsset>(); } |
