Extract osx_disks_to_drives to cross_common for tests.
[dcpomatic.git] / src / lib / cross.h
index 1906acef7bd48331f0a111e81b130eeb368073b3..ac1f028f443a33d9c5864b9329bbf12ed468edcc 100644 (file)
@@ -147,7 +147,22 @@ struct OSXMediaPath
 };
 
 
+
+struct OSXDisk
+{
+       std::string mount_point;
+       boost::optional<std::string> vendor;
+       boost::optional<std::string> model;
+       bool real;
+       std::string prt;
+       bool whole;
+       std::vector<boost::filesystem::path> mount_points;
+       unsigned long size;
+};
+
+
 boost::optional<OSXMediaPath> analyse_osx_media_path (std::string path);
+std::vector<Drive> osx_disks_to_drives (std::vector<OSXDisk> disks);
 
 
 #endif