X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fcross.h;h=25b3b38200c601b12f1ebd1f5b842c0e83b14482;hb=446b8e0a4400ebf32fec4afd764ec3c73498f4bc;hp=8b594177e884df269de5395976ed79e135132714;hpb=9276310e6c9be6148ea8b465b44af55413dc0dc0;p=dcpomatic.git diff --git a/src/lib/cross.h b/src/lib/cross.h index 8b594177e..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,13 +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 (); -}; /** @class Waker * @brief A class which tries to keep the computer awake on various operating systems.