diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-24 14:14:02 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-24 14:14:02 +0100 |
| commit | 094117316524f12fc82adbdf721778eed04e66f6 (patch) | |
| tree | aaa2abd88a2aba64d53022554265f000c93be966 /src/data.h | |
| parent | 2ae92dcc97765deb2845dd07a338858aeb375cb3 (diff) | |
Give Data a loading constructor.
Diffstat (limited to 'src/data.h')
| -rw-r--r-- | src/data.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -18,6 +18,8 @@ */ #include <boost/shared_array.hpp> +#include <boost/filesystem.hpp> +#include <stdint.h> namespace dcp { @@ -31,6 +33,8 @@ public: , size (size_) {} + Data (boost::filesystem::path file); + boost::shared_array<uint8_t> data; boost::uintmax_t size; }; |
