X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcross_osx.cc;h=a4888d114212dae02892ac1edfd09ca84f8bf415;hb=7b302908e4b6186c44fd3a97aa4ba0716fb8674f;hp=aa05df01688b4ab9c49314a661d5e26feec8fa2a;hpb=6eba051dcbb8c56e3e2efea946ce0380d17a7b33;p=dcpomatic.git diff --git a/src/lib/cross_osx.cc b/src/lib/cross_osx.cc index aa05df016..a4888d114 100644 --- a/src/lib/cross_osx.cc +++ b/src/lib/cross_osx.cc @@ -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 (context);