projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix code and tests so that SubtitleString::v_position is between 0 and 1 (not a perce...
[libdcp.git]
/
src
/
file.h
diff --git
a/src/file.h
b/src/file.h
index b06cece00fa09655f3d6e16eb438f904a8f04325..8d98599f6ce2859087e57c3c5cf111522cf42ba2 100644
(file)
--- a/
src/file.h
+++ b/
src/file.h
@@
-25,18
+25,19
@@
#define LIBDCP_FILE_H
#include <boost/filesystem.hpp>
#define LIBDCP_FILE_H
#include <boost/filesystem.hpp>
+#include <boost/noncopyable.hpp>
namespace dcp {
/** @class File
* @brief Helper class which loads a file into memory.
*/
namespace dcp {
/** @class File
* @brief Helper class which loads a file into memory.
*/
-class File
+class File
: public boost::noncopyable
{
public:
File (boost::filesystem::path file);
~File ();
{
public:
File (boost::filesystem::path file);
~File ();
-
+
uint8_t* data () const {
return _data;
}
uint8_t* data () const {
return _data;
}