Solid::Ifaces::Block
Solid::Ifaces::Block Class Referenceabstract
#include <block.h>
Inheritance diagram for Solid::Ifaces::Block:
Public Member Functions | |
~Block () override | |
virtual QString | device () const =0 |
virtual int | deviceMajor () const =0 |
virtual int | deviceMinor () const =0 |
Public Member Functions inherited from Solid::Ifaces::DeviceInterface | |
virtual | ~DeviceInterface () |
Detailed Description
This device interface is available on block devices.
A block device is an addressable device such as drive or partition. It is possible to interact with such a device using a special file in the system.
Definition at line 23 of file ifaces/block.h.
Constructor & Destructor Documentation
◆ ~Block()
|
override |
Destroys a Block object.
Definition at line 9 of file ifaces/block.cpp.
Member Function Documentation
◆ device()
|
pure virtual |
Retrieves the absolute path of the special file to interact with the device.
- Returns
- the absolute path of the special file to interact with the device
◆ deviceMajor()
|
pure virtual |
Retrieves the major number of the node file to interact with the device.
- Returns
- the device major number
◆ deviceMinor()
|
pure virtual |
Retrieves the minor number of the node file to interact with the device.
- Returns
- the device minor number
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.