diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-06 12:26:12 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-06 12:26:12 +0100 |
| commit | 1bff0990433ab0ce588acaef7c589fa623bd998b (patch) | |
| tree | 65cba435e949deb6359bbf75866b52684116df06 /src/lib/sndfile_content.h | |
| parent | 3429cf48ff2ce056413588be4151be82c8114861 (diff) | |
Add interface to set up still image lengths.
Diffstat (limited to 'src/lib/sndfile_content.h')
| -rw-r--r-- | src/lib/sndfile_content.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/sndfile_content.h b/src/lib/sndfile_content.h index 90845ba08..b696b57a5 100644 --- a/src/lib/sndfile_content.h +++ b/src/lib/sndfile_content.h @@ -28,6 +28,10 @@ class SndfileContent : public AudioContent public: SndfileContent (boost::filesystem::path); SndfileContent (boost::shared_ptr<const cxml::Node>); + + boost::shared_ptr<SndfileContent> shared_from_this () { + return boost::dynamic_pointer_cast<SndfileContent> (Content::shared_from_this ()); + } std::string summary () const; std::string information () const; |
