diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-06-03 12:21:28 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-06-03 12:21:28 +0200 |
| commit | 9d74393bf2f0d513a4e7675d4a936cb695e2fd2b (patch) | |
| tree | a4878a0339cdcda7699d715b8bb00996b6280d9d /src/lib/cross.h | |
| parent | 816872f9ddf1251f29fe51594401ddd4f4d89c59 (diff) | |
Clean up handling of paths relative to the executable.
Diffstat (limited to 'src/lib/cross.h')
| -rw-r--r-- | src/lib/cross.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/cross.h b/src/lib/cross.h index 114581269..1b92a8409 100644 --- a/src/lib/cross.h +++ b/src/lib/cross.h @@ -58,8 +58,8 @@ extern void maybe_open_console (); extern boost::filesystem::path shared_path (); extern FILE * fopen_boost (boost::filesystem::path, std::string); extern int dcpomatic_fseek (FILE *, int64_t, int); -extern void start_batch_converter (boost::filesystem::path dcpomatic); -extern void start_player (boost::filesystem::path dcpomatic); +extern void start_batch_converter (); +extern void start_player (); extern uint64_t thread_id (); extern int avio_open_boost (AVIOContext** s, boost::filesystem::path file, int flags); extern boost::filesystem::path home_directory (); @@ -67,6 +67,7 @@ extern std::string command_and_read (std::string cmd); extern bool running_32_on_64 (); extern void unprivileged (); extern boost::filesystem::path config_path (); +extern boost::filesystem::path directory_containing_executable (); class PrivilegeEscalator { |
