mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
18 lines
640 B
C++
18 lines
640 B
C++
#include <string>
|
|
|
|
#include "../Interface/Types.h"
|
|
#include "../Interface/Plugin.h"
|
|
|
|
class IFilesystem;
|
|
class IVHDFile;
|
|
|
|
class IFSImageFactory : public IPlugin
|
|
{
|
|
public:
|
|
virtual IFilesystem *createFilesystem(const std::wstring &pDev)=0;
|
|
virtual void destroyFilesystem(IFilesystem *fs)=0;
|
|
|
|
virtual IVHDFile *createVHDFile(const std::wstring &fn, bool pRead_only, uint64 pDstsize, unsigned int pBlocksize=2*1024*1024, bool fast_mode=false)=0;
|
|
virtual IVHDFile *createVHDFile(const std::wstring &fn, const std::wstring &parent_fn, bool pRead_only, bool fast_mode=false)=0;
|
|
virtual void destroyVHDFile(IVHDFile *vhd)=0;
|
|
}; |