Add missing tags_path() for Windows and macOS.
[dcpomatic.git] / src / lib / cross_osx.cc
index aa05df01688b4ab9c49314a661d5e26feec8fa2a..a4888d114212dae02892ac1edfd09ca84f8bf415 100644 (file)
@@ -117,12 +117,26 @@ directory_containing_executable ()
 
 
 boost::filesystem::path
-shared_path ()
+resources_path ()
 {
        return directory_containing_executable().parent_path() / "Resources";
 }
 
 
+boost::filesystem::path
+xsd_path ()
+{
+       return resources_path() / "xsd";
+}
+
+
+boost::filesystem::path
+tags_path ()
+{
+       return resources_path() / "tags";
+}
+
+
 void
 run_ffprobe (boost::filesystem::path content, boost::filesystem::path out)
 {
@@ -245,7 +259,7 @@ home_directory ()
 }
 
 string
-command_and_read (string cmd)
+command_and_read (string)
 {
        return "";
 }
@@ -515,7 +529,7 @@ config_path ()
 }
 
 
-void done_callback(DADiskRef disk, DADissenterRef dissenter, void* context)
+void done_callback(DADiskRef, DADissenterRef dissenter, void* context)
 {
        LOG_DISK_NC("Unmount finished");
        bool* success = reinterpret_cast<bool*> (context);