X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcross.h;h=91911330577d3a1991b6bcc4e1699f0095ab3927;hb=18cb0e914922cd76e9c205e88962816970b5c0cb;hp=d8f0e56a565ab397092ca6408675fd997890120d;hpb=3a495e7550759396b79410fa08899829d6636438;p=dcpomatic.git diff --git a/src/lib/cross.h b/src/lib/cross.h index d8f0e56a5..919113305 100644 --- a/src/lib/cross.h +++ b/src/lib/cross.h @@ -31,7 +31,6 @@ #include #include #include -#include #ifdef DCPOMATIC_WINDOWS #define WEXITSTATUS(w) (w) @@ -67,15 +66,12 @@ extern bool running_32_on_64 (); extern void unprivileged (); extern boost::filesystem::path config_path (); extern boost::filesystem::path directory_containing_executable (); +extern boost::filesystem::path fix_long_path (boost::filesystem::path path); +extern bool show_in_file_manager (boost::filesystem::path dir, boost::filesystem::path select); +namespace dcpomatic { + std::string get_process_id (); +} -class PrivilegeEscalator -{ -public: - PrivilegeEscalator (); - ~PrivilegeEscalator (); - - static bool test; -}; /** @class Waker * @brief A class which tries to keep the computer awake on various operating systems.