Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kocik <kocikdav@gmail.com>2019-11-26 17:52:18 +0300
committerDavid Kocik <kocikdav@gmail.com>2019-12-13 16:54:25 +0300
commit4bf8a0ef24ea0a2212d6c8cf2661d2617c4af773 (patch)
tree8078ddd35851b27041c7e376987f8b910a4526dd /src/slic3r/GUI/RemovableDriveManager.hpp
parentf3ecf55d3840634941a0f9b053516d20a183a6a5 (diff)
removable drives manager linux part
Diffstat (limited to 'src/slic3r/GUI/RemovableDriveManager.hpp')
-rw-r--r--src/slic3r/GUI/RemovableDriveManager.hpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/slic3r/GUI/RemovableDriveManager.hpp b/src/slic3r/GUI/RemovableDriveManager.hpp
index a5abde72d..157f670b3 100644
--- a/src/slic3r/GUI/RemovableDriveManager.hpp
+++ b/src/slic3r/GUI/RemovableDriveManager.hpp
@@ -27,9 +27,9 @@ public:
=======
struct DriveData
{
- std::wstring name;
+ std::string name;
std::string path;
- DriveData(std::wstring n, std::string p):name(n),path(p){}
+ DriveData(std::string n, std::string p):name(n),path(p){}
};
class RemovableDriveManager
{
@@ -119,10 +119,12 @@ protected:
private:
RemovableDriveManager(){}
static void searchForDrives(std::vector<DriveData>& newDrives);
- static void printDrivesToLog();
static void updateCurrentDrives(const std::vector<DriveData>& newDrives);
static std::vector<DriveData> currentDrives;
-
+#if _WIN32
+#else
+ static void searchPath(std::vector<DriveData>& newDrives,const std::string path, const dev_t parentDevID);
+#endif
};
}}
#endif