diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-08-02 18:23:36 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-08-02 18:23:36 +0200 |
| commit | 7d9e108ba3629b2e9120bc1da3354935c41aca37 (patch) | |
| tree | c8ffdb2bca75d62bfe9fa2262e9fc4cd19c45027 /src/data.h | |
| parent | 6f98afd8021f9475bbd342bdcb39162b3167fa9e (diff) | |
WIP: more hacks.shared-ptr
Diffstat (limited to 'src/data.h')
| -rw-r--r-- | src/data.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -48,6 +48,19 @@ namespace dcp { +class ConstantData +{ +public: + virtual ~ConstantData() {} + + void write (boost::filesystem::path file) const; + void write_via_temp (boost::filesystem::path temp, boost::filesystem::path final) const; + + virtual uint8_t const * data () const = 0; + virtual int size () const = 0; +}; + + class Data { public: |
