#include "filebase.inc"
#include "file.inc"
-#ifdef USE_FILEFORK
-#include "filefork.inc"
-#endif
-
#include "filethread.inc"
#include "filexml.inc"
#include "formattools.inc"
File();
~File();
- friend class FileFork;
-
// Get attributes for various file formats.
// The dither parameter is carried over from recording, where dither is done at the device.
int get_options(FormatTools *format,
// Used by read_frame.
int colormodel_supported(int colormodel);
+// stubs for now
+ static const char *compressiontostr(const char *codec) { return codec; }
+ static const char *strtocompression(const char *string) { return string; }
// subclass memory usage
int64_t file_memory_usage();
// Used by CICache to calculate the total size of the cache.
// Copy read frames to the cache
int use_cache;
-#ifdef USE_FILEFORK
-// Pointer to the fork object. 0 if this instance of File is the fork.
- FileFork *file_fork;
-// If this instance is the fork.
- int is_fork;
-// result_data must be locked during sync transaction
- Mutex *forked;
-
- class FileForker {
- Mutex &m;
- public:
- FileForker(Mutex &lk) : m(lk) { m.lock("FileForker::FileForker"); }
- ~FileForker() { m.unlock(); }
- };
-#endif
-
};
#endif