Rename shared_path -> resources_path.
[dcpomatic.git] / src / lib / cross_osx.cc
index aa05df01688b4ab9c49314a661d5e26feec8fa2a..ef193b640aa202a0288c7e5ea800934bf50228c1 100644 (file)
@@ -117,12 +117,19 @@ 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";
+}
+
+
 void
 run_ffprobe (boost::filesystem::path content, boost::filesystem::path out)
 {
@@ -245,7 +252,7 @@ home_directory ()
 }
 
 string
-command_and_read (string cmd)
+command_and_read (string)
 {
        return "";
 }
@@ -515,7 +522,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);