X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fcontent.cc;fp=src%2Flib%2Fcontent.cc;h=c4836cfa89a643c1838bc94ef302a99c661d9418;hp=1ec607d394896b8ec0dbdc7ad1dbeacb7cfb7393;hb=308488324dbc4d8b709d3fb1dc9fee0479346c21;hpb=362ed9ee4f73bee21b3ef8d3b449bb8e8877f501 diff --git a/src/lib/content.cc b/src/lib/content.cc index 1ec607d39..c4836cfa8 100644 --- a/src/lib/content.cc +++ b/src/lib/content.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2013 Carl Hetherington + Copyright (C) 2013-2014 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,10 +17,14 @@ */ +/** @file src/lib/content.cc + * @brief Content class. + */ + #include #include #include -#include +#include #include "content.h" #include "util.h" #include "content_factory.h" @@ -37,7 +41,7 @@ using std::list; using std::cout; using std::vector; using boost::shared_ptr; -using libdcp::raw_convert; +using dcp::raw_convert; int const ContentProperty::PATH = 400; int const ContentProperty::POSITION = 401; @@ -55,7 +59,7 @@ Content::Content (shared_ptr f) } -Content::Content (shared_ptr f, Time p) +Content::Content (shared_ptr f, DCPTime p) : _film (f) , _position (p) , _trim_start (0) @@ -84,9 +88,9 @@ Content::Content (shared_ptr f, shared_ptr node) _paths.push_back ((*i)->content ()); } _digest = node->string_child ("Digest"); - _position = node->number_child