blob: e59104344a8179c5c37a448b46713b669d65f8d1 [file] [log] [blame]
John Edward Broadbent7f2ab642021-11-11 21:00:38 -08001#pragma once
John Edward Broadbente6ffe702021-10-14 14:03:11 -07002#include <string>
3
John Edward Broadbentd3bfa7b2022-01-13 17:41:32 -08004namespace estoraged
5{
John Edward Broadbente6ffe702021-10-14 14:03:11 -07006/** @class Erase
7 * @brief Erase object provides a base class for the specific erase types
8 */
9class Erase
10{
11 public:
12 /** @brief creates an erase object
13 * @param inDevPath the linux path for the block device
14 */
Patrick Williams04c28fa2023-05-10 07:51:24 -050015 Erase(std::string_view inDevPath) : devPath(inDevPath) {}
John Edward Broadbente6ffe702021-10-14 14:03:11 -070016
John Edward Broadbente6ffe702021-10-14 14:03:11 -070017 protected:
18 /* The linux path for the block device */
19 std::string devPath;
20};
John Edward Broadbentd3bfa7b2022-01-13 17:41:32 -080021
22} // namespace estoraged