#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,
// 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