Add missing tags_path() for Windows and macOS.
[dcpomatic.git] / src / lib / cross_windows.cc
index d732e9fe5e71c426c255429c6ce6a90ad16874c3..cba674fefa730d550cc28af115f2f6dbedcc3a2d 100644 (file)
@@ -193,12 +193,26 @@ directory_containing_executable ()
 
 
 boost::filesystem::path
-shared_path ()
+resources_path ()
 {
        return directory_containing_executable().parent_path();
 }
 
 
+boost::filesystem::path
+xsd_path ()
+{
+       return directory_containing_executable().parent_path() / "xsd";
+}
+
+
+boost::filesystem::path
+tags_path ()
+{
+       return directory_containing_executable().parent_path() / "tags";
+}
+
+
 boost::filesystem::path
 openssl_path ()
 {
@@ -554,7 +568,7 @@ Drive::get ()
                                &geom, sizeof(geom), &returned, 0
                                );
 
-               LOG_DISK("Having a looky through %1 locked volumes", locked_volumes.size());
+               LOG_DISK("Having a look through %1 locked volumes", locked_volumes.size());
                bool locked = false;
                for (vector<pair<HANDLE, string> >::const_iterator i = locked_volumes.begin(); i != locked_volumes.end(); ++i) {
                        if (i->second == physical_drive) {
@@ -578,7 +592,7 @@ Drive::get ()
 bool
 Drive::unmount ()
 {
-       LOG_DISK("Unmounting %1 with %2 mount points XXX! MMMYEAH!", _device, _mount_points.size());
+       LOG_DISK("Unmounting %1 with %2 mount points", _device, _mount_points.size());
        DCPOMATIC_ASSERT (_mount_points.size() == 1);
        string const device_name = String::compose ("\\\\.\\%1", _mount_points.front());
        string const truncated = device_name.substr (0, device_name.length() - 1);