62 uint32_t driveAttributes,
63 uint32_t mediaAttributes,
186 void setUID(uint32_t uid);
187 void setSize(uint32_t sizeLo, uint32_t sizeHi);
188 void setSpace(uint32_t spaceLo, uint32_t spaceHi);
189 void setName(
char drive,
const char *
const volname);
A class representing information about a Disk drive on the psion.
uint32_t getDriveAttributes() const
Retrieve the attributes of the drive.
char getDriveLetter() const
Retrieve the drive letter of the drive.
void setSpace(uint32_t spaceLo, uint32_t spaceHi)
Drive & operator=(const Drive &other)=default
Assignment operator.
uint32_t getUID() const
Retrieve the UID of the drive.
MediaType getMediaType() const
Retrieve the media type of the drive.
void setName(char drive, const char *const volname)
void setUID(uint32_t uid)
uint32_t driveAttributes_
uint64_t getSpace() const
Retrieve the free capacity on the drive.
void setMediaType(MediaType type)
uint64_t getSize() const
Retrieve the total capacity of the drive.
Drive(const Drive &other)=default
Copy constructor.
std::string getName() const
Retrieve the volume name of the drive.
uint32_t getMediaAttributes() const
Retrieve the attributes of the media.
std::string getPath() const
Get the file system path given by the current drive.
void setDriveAttributes(uint32_t driveAttribute)
uint32_t mediaAttributes_
void setMediaAttributes(uint32_t mediaAttribute)
Drive()
Default constructor.
void setSize(uint32_t sizeLo, uint32_t sizeHi)
This is the implementation of the RFSV protocol for Psion series 3 (SIBO) variant.
This is the implementation of the RFSV protocol for Psion series 5 (EPOC) variant.