X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcross.h;h=25b3b38200c601b12f1ebd1f5b842c0e83b14482;hb=93048e5a6f33cc8e2fc547bf65c41551696e23c6;hp=cc066488a9b4cac9312cbeb84b2a797566139222;hpb=152197adf5b060602ecdd99e6f272c4e8b2b410e;p=dcpomatic.git diff --git a/src/lib/cross.h b/src/lib/cross.h index cc066488a..25b3b3820 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,18 +66,11 @@ 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); 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.