mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
19 lines
697 B
C++
19 lines
697 B
C++
#include "IFSImageFactory.h"
|
|
|
|
class FSImageFactory : public IFSImageFactory
|
|
{
|
|
public:
|
|
virtual IFilesystem *createFilesystem(const std::wstring &pDev);
|
|
virtual void destroyFilesystem(IFilesystem *fs);
|
|
|
|
virtual IVHDFile *createVHDFile(const std::wstring &fn, bool pRead_only, uint64 pDstsize,
|
|
unsigned int pBlocksize=2*1024*1024, bool fast_mode=false, CompressionSetting compress=CompressionSetting_None);
|
|
|
|
virtual IVHDFile *createVHDFile(const std::wstring &fn, const std::wstring &parent_fn,
|
|
bool pRead_only, bool fast_mode=false, CompressionSetting compress=CompressionSetting_Zlib);
|
|
|
|
virtual void destroyVHDFile(IVHDFile *vhd);
|
|
|
|
private:
|
|
bool isNTFS(char *buffer);
|
|
}; |