15 #ifndef FOXXLL_IO_WINCALL_FILE_HEADER 16 #define FOXXLL_IO_WINCALL_FILE_HEADER 18 #include <foxxll/config.hpp> 20 #ifndef FOXXLL_HAVE_WINCALL_FILE 22 #define FOXXLL_HAVE_WINCALL_FILE 1 24 #define FOXXLL_HAVE_WINCALL_FILE 0 28 #if FOXXLL_HAVE_WINCALL_FILE 41 class wincall_file final :
public wfs_file_base,
public disk_queued_file
54 int queue_id = DEFAULT_QUEUE,
55 int allocator_id = NO_ALLOCATOR,
56 unsigned int device_id = DEFAULT_DEVICE_ID,
57 file_stats* file_stats =
nullptr)
58 : file(device_id, file_stats),
59 wfs_file_base(filename, mode),
60 disk_queued_file(queue_id, allocator_id)
62 void serve(
void* buffer, offset_type offset, size_type
bytes,
64 const char * io_type()
const final;
71 #endif // #if FOXXLL_HAVE_WINCALL_FILE 73 #endif // !FOXXLL_IO_WINCALL_FILE_HEADER
std::basic_string< char, std::char_traits< char >, Allocator< char > > string
string with Manager tracking
static const size_t bytes
number of bytes in uint_pair