mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-14 15:52:47 -05:00
inc: winfsp.hpp: refactor FileSystem class into FileSystemHost and FileSystemBase
This commit is contained in:
@ -475,8 +475,8 @@ class FileSystemHost
|
||||
{
|
||||
public:
|
||||
/* ctor/dtor */
|
||||
FileSystemHost(FileSystemBase *FileSystem) :
|
||||
_VolumeParams(), _FileSystemPtr(0), _FileSystem(FileSystem)
|
||||
FileSystemHost(FileSystemBase &FileSystem) :
|
||||
_VolumeParams(), _FileSystemPtr(0), _FileSystem(&FileSystem)
|
||||
{
|
||||
Initialize();
|
||||
_VolumeParams.UmFileContextIsFullContext = 1;
|
||||
@ -721,9 +721,9 @@ public:
|
||||
{
|
||||
return _FileSystemPtr;
|
||||
}
|
||||
FileSystemBase *FileSystem()
|
||||
FileSystemBase &FileSystem()
|
||||
{
|
||||
return _FileSystem;
|
||||
return *_FileSystem;
|
||||
}
|
||||
static NTSTATUS SetDebugLogFile(PWSTR FileName)
|
||||
{
|
||||
|
Reference in New Issue
Block a user