summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-01 16:53:04 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-01 16:53:04 +0000
commit18a11ac88390784a19c21093d05c39c328366b5f (patch)
treebbf6645565978c6ffaf44ef1234275a6ac1e5db8 /src/lib
parentd1b3ee4deef6e43dd9dc703e6c0969f17b97a8f6 (diff)
Remove unused method.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/content.cc9
-rw-r--r--src/lib/content.h2
2 files changed, 0 insertions, 11 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc
index fa0031abf..ab666db3c 100644
--- a/src/lib/content.cc
+++ b/src/lib/content.cc
@@ -206,15 +206,6 @@ Content::length_after_trim () const
return full_length() - trim_start() - trim_end();
}
-/** @param t A time relative to the start of this content (not the position).
- * @return true if this time is trimmed by our trim settings.
- */
-bool
-Content::trimmed (DCPTime t) const
-{
- return (t < trim_start() || t > (full_length() - trim_end ()));
-}
-
/** @return string which includes everything about how this content affects
* its playlist.
*/
diff --git a/src/lib/content.h b/src/lib/content.h
index 965b33b22..3172b9c8d 100644
--- a/src/lib/content.h
+++ b/src/lib/content.h
@@ -126,8 +126,6 @@ public:
_change_signals_frequent = f;
}
- bool trimmed (DCPTime) const;
-
boost::signals2::signal<void (boost::weak_ptr<Content>, int, bool)> Changed;
protected: