From 094117316524f12fc82adbdf721778eed04e66f6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 24 Jun 2015 14:14:02 +0100 Subject: Give Data a loading constructor. --- src/data.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/data.h') diff --git a/src/data.h b/src/data.h index d169c5c5..3cece1da 100644 --- a/src/data.h +++ b/src/data.h @@ -18,6 +18,8 @@ */ #include +#include +#include namespace dcp { @@ -31,6 +33,8 @@ public: , size (size_) {} + Data (boost::filesystem::path file); + boost::shared_array data; boost::uintmax_t size; }; -- cgit v1.2.3