You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
485 B
28 lines
485 B
#ifndef MY_DEVICE_H
|
|
#define MY_DEVICE_H
|
|
|
|
#include "project_lib.h"
|
|
#include "util.h"
|
|
|
|
|
|
namespace Devices {
|
|
class Get_device
|
|
{
|
|
public:
|
|
struct Mount {
|
|
std::string device;
|
|
std::string destination;
|
|
std::string fstype;
|
|
std::string options;
|
|
std::string dump;
|
|
std::string pass;
|
|
};
|
|
|
|
public:
|
|
std::vector<Mount> get_all_device();
|
|
std::vector<Get_device::Mount> Get_device::get_part_devices(string find_device_name)
|
|
};
|
|
}
|
|
#endif
|
|
|