summaryrefslogtreecommitdiff
path: root/src/lib/sndfile_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-06 12:26:12 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-06 12:26:12 +0100
commit1bff0990433ab0ce588acaef7c589fa623bd998b (patch)
tree65cba435e949deb6359bbf75866b52684116df06 /src/lib/sndfile_content.h
parent3429cf48ff2ce056413588be4151be82c8114861 (diff)
Add interface to set up still image lengths.
Diffstat (limited to 'src/lib/sndfile_content.h')
-rw-r--r--src/lib/sndfile_content.h4
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;