mirror of
https://github.com/ksherlock/profuse.git
synced 2025-02-09 18:31:29 +00:00
24 lines
452 B
C++
24 lines
452 B
C++
#ifndef __UNIVERSALDISKIMAGE_H__
|
|
#define __UNIVERSALDISKIMAGE_H__
|
|
|
|
|
|
#include "BlockDevice.h"
|
|
|
|
namespace ProFUSE {
|
|
|
|
class UniversalDiskImage : public DiskImage {
|
|
public:
|
|
UniversalDiskImage(const char *name, bool readOnly);
|
|
|
|
static UniversalDiskImage *Create(const char *name, size_t blocks);
|
|
static UniversalDiskImage *Open(MappedFile *);
|
|
|
|
private:
|
|
UniversalDiskImage(MappedFile *);
|
|
static void Validate(MappedFile *);
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|