Extract part of analyse_media_path to cross_common for tests.
[dcpomatic.git] / src / lib / cross.h
index ed1d0c8e780836cc3281d89a314e5fc16580bb34..1906acef7bd48331f0a111e81b130eeb368073b3 100644 (file)
@@ -139,4 +139,15 @@ private:
 
 void disk_write_finished ();
 
+
+struct OSXMediaPath
+{
+       bool real;       ///< true for a "real" disk, false for a synthesized APFS one
+       std::string prt; ///< "PRT" entry from the media path
+};
+
+
+boost::optional<OSXMediaPath> analyse_osx_media_path (std::string path);
+
+
 #endif