22 #ifndef OR_INTERNALS_IO_FILE_H_
23 #define OR_INTERNALS_IO_FILE_H_
26 #include <sys/types.h>
28 #include <libopenraw/io.h>
41 File(
const char *filename);
45 File &operator=(
const File &) =
delete;
49 virtual Error
open()
override;
51 virtual int close()
override;
53 virtual int seek(off_t offset,
int whence)
override;
55 virtual int read(
void *buf,
size_t count)
override;
56 virtual off_t filesize()
override;
virtual Error open() override
virtual int seek(off_t offset, int whence) override
File(const char *filename)
CIFF is the container for CRW files. It is an attempt from Canon to make this a standard....
virtual int read(void *buf, size_t count) override
base virtual class for IO
virtual int close() override