diff options
Diffstat (limited to 'src/modules/partition/core/PartitionCoreModule.h')
-rw-r--r-- | src/modules/partition/core/PartitionCoreModule.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/modules/partition/core/PartitionCoreModule.h b/src/modules/partition/core/PartitionCoreModule.h index 52cb47a59..c48c1562c 100644 --- a/src/modules/partition/core/PartitionCoreModule.h +++ b/src/modules/partition/core/PartitionCoreModule.h @@ -191,7 +191,12 @@ public: void revert(); // full revert, thread safe, calls doInit void revertAllDevices(); // convenience function, calls revertDevice - void revertDevice( Device* dev ); // rescans a single Device and updates DeviceInfo + /** @brief rescans a single Device and updates DeviceInfo + * + * When @p individualRevert is true, calls refreshAfterModelChange(), + * used to reduce number of refreshes when calling revertAllDevices(). + */ + void revertDevice( Device* dev, bool individualRevert=true ); void asyncRevertDevice( Device* dev, std::function< void() > callback ); //like revertDevice, but asynchronous void clearJobs(); // only clear jobs, the Device* states are preserved |