+
+struct OSXMediaPath
+{
+ bool real; ///< true for a "real" disk, false for a synthesized APFS one
+ std::vector<std::string> parts; ///< parts of the media path after the :
+};
+
+
+struct OSXDisk
+{
+ std::string device;
+ boost::optional<std::string> vendor;
+ boost::optional<std::string> model;
+ OSXMediaPath media_path;
+ 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);
+
+
+class ArgFixer
+{
+public:
+ ArgFixer(int argc, char** argv);
+
+ int argc() const {
+ return _argc;
+ }
+
+ char** argv() const {
+ return _argv;
+ }
+
+private:
+ int _argc;
+ char** _argv;
+#ifdef DCPOMATIC_WINDOWS
+ std::vector<std::string> _argv_strings;
+#endif
+
+};
+
+