comparison foosdk/sdk/foobar2000/helpers/fullFileBuffer.h @ 1:20d02a178406 default tip

*: check in everything else yay
author Paper <paper@tflc.us>
date Mon, 05 Jan 2026 02:15:46 -0500
parents
children
comparison
equal deleted inserted replaced
0:e9bb126753e7 1:20d02a178406
1 #pragma once
2
3 class fullFileBuffer {
4 public:
5 fullFileBuffer() {
6 //hMutex = CreateMutex(NULL, FALSE, pfc::stringcvt::string_os_from_utf8(pfc::string_formatter() << "{3ABC4D98-2510-431C-A720-26BEB45F0278}-" << (uint32_t) GetCurrentProcessId()));
7 }
8 ~fullFileBuffer() {
9 //CloseHandle(hMutex);
10 }
11 file::ptr open(const char * path, abort_callback & abort, file::ptr hint, t_filesize sizeMax = 1024 * 1024 * 256);
12
13 private:
14 fullFileBuffer(const fullFileBuffer&);
15 void operator=(const fullFileBuffer&);
16
17 //HANDLE hMutex;
18 };