check if last path is on rem drive

This commit is contained in:
David Kocik 2019-11-27 13:30:45 +01:00
parent fdf159af42
commit 97a9f245f9
4 changed files with 39 additions and 7 deletions

View file

@ -29,6 +29,7 @@ public:
static void eject_drive(const std::string &path);
static std::string get_last_drive_path();
static std::vector<DriveData> get_all_drives();
static bool is_path_on_removable_drive(const std::string &path);
private:
RemovableDriveManager(){}
static void search_for_drives();