blob: efa9db087b07ef0a27e59adf52910559ad359184 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include <AK/RetainPtr.h>
#include <VirtualFileSystem/DiskDevice.h>
class IDEDiskDevice final : public DiskDevice {
public:
static RetainPtr<IDEDiskDevice> create();
virtual ~IDEDiskDevice();
virtual unsigned blockSize() const override;
virtual bool readBlock(unsigned index, byte*) const override;
virtual bool writeBlock(unsigned index, const byte*) override;
protected:
IDEDiskDevice();
private:
virtual const char* className() const override;
};
|