summaryrefslogtreecommitdiff
path: root/src/lib/content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-05-06 14:10:14 +0100
committerCarl Hetherington <cth@carlh.net>2013-05-06 14:10:14 +0100
commit454a961e1a03f60cf05040b832c4f8f01b481fa7 (patch)
treec1e50792318179d99f4a0750ec3f4bac2dac6346 /src/lib/content.h
parentee191ec1dbea1fda4a93338c5a86e5f53c35efdc (diff)
Add basic timeline window.
Diffstat (limited to 'src/lib/content.h')
-rw-r--r--src/lib/content.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/content.h b/src/lib/content.h
index d39fc9e1a..e1cf41df0 100644
--- a/src/lib/content.h
+++ b/src/lib/content.h
@@ -25,6 +25,7 @@
#include <boost/thread/mutex.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <libxml++/libxml++.h>
+#include "types.h"
namespace cxml {
class Node;
@@ -45,6 +46,7 @@ public:
virtual std::string information () const = 0;
virtual void as_xml (xmlpp::Node *) const;
virtual boost::shared_ptr<Content> clone () const = 0;
+ virtual Time temporal_length () const = 0;
boost::filesystem::path file () const {
boost::mutex::scoped_lock lm (_mutex);