mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
22 lines
497 B
C++
22 lines
497 B
C++
#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;
|
|
};
|
|
|