John Edward Broadbent | 7f2ab64 | 2021-11-11 21:00:38 -0800 | [diff] [blame] | 1 | #pragma once |
John Edward Broadbent | e6ffe70 | 2021-10-14 14:03:11 -0700 | [diff] [blame] | 2 | #include <string> |
| 3 | |
John Edward Broadbent | d3bfa7b | 2022-01-13 17:41:32 -0800 | [diff] [blame] | 4 | namespace estoraged |
| 5 | { |
John Edward Broadbent | e6ffe70 | 2021-10-14 14:03:11 -0700 | [diff] [blame] | 6 | /** @class Erase |
| 7 | * @brief Erase object provides a base class for the specific erase types |
| 8 | */ |
| 9 | class Erase |
| 10 | { |
| 11 | public: |
| 12 | /** @brief creates an erase object |
| 13 | * @param inDevPath the linux path for the block device |
| 14 | */ |
Patrick Williams | 04c28fa | 2023-05-10 07:51:24 -0500 | [diff] [blame] | 15 | Erase(std::string_view inDevPath) : devPath(inDevPath) {} |
John Edward Broadbent | e6ffe70 | 2021-10-14 14:03:11 -0700 | [diff] [blame] | 16 | |
John Edward Broadbent | e6ffe70 | 2021-10-14 14:03:11 -0700 | [diff] [blame] | 17 | protected: |
| 18 | /* The linux path for the block device */ |
| 19 | std::string devPath; |
| 20 | }; |
John Edward Broadbent | d3bfa7b | 2022-01-13 17:41:32 -0800 | [diff] [blame] | 21 | |
| 22 | } // namespace estoraged |