From 1c724e363a644abaee7efb39d6091e7b30de0fb6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 22 Jan 2014 19:42:39 +0000 Subject: Various work. --- test/test.h | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'test/test.h') diff --git a/test/test.h b/test/test.h index dc704004..31b4bf0a 100644 --- a/test/test.h +++ b/test/test.h @@ -17,6 +17,23 @@ */ -extern boost::filesystem::path j2c (int); -extern boost::filesystem::path wav (dcp::Channel); extern std::string test_corpus; + +class TestFile +{ +public: + TestFile (boost::filesystem::path file); + ~TestFile (); + + uint8_t* data () const { + return _data; + } + + int64_t size () const { + return _size; + } + +private: + uint8_t* _data; + int64_t _size; +}; -- cgit v1.2.3