X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Fos.h;h=07d6d7ba76cf5398e449ed676835637cb9c22acb;hb=e8c1cb5074e36a344553d57537f8177345a86686;hp=d66173b1a73e6e50d35a019e577e2b346ae7ca52;hpb=1717ef203cf08fd393e2b905a9ed7f9465c8f47d;p=lyx.git diff --git a/src/support/os.h b/src/support/os.h index d66173b1a7..07d6d7ba76 100644 --- a/src/support/os.h +++ b/src/support/os.h @@ -38,7 +38,7 @@ enum file_access { }; /// Do some work just once. -void init(int argc, char * argv[]); +void init(int argc, char ** argv[]); /// Returns the i-th program argument in utf8 encoding. std::string utf8_argv(int i); @@ -59,7 +59,8 @@ shell_type shell(); int timeout_min(); /// Name of the python interpreter -std::string const python(); +/// @param reset True if the python path should be recomputed +std::string const python(bool reset = false); /// bool isFilesystemCaseSensitive(); @@ -110,9 +111,6 @@ std::string latex_path(std::string const & p); */ std::string latex_path_list(std::string const & p); -/// Checks if the format string is suitable on the OS -bool is_valid_strftime(std::string const & p); - /** Returns a string suitable to be passed to popen when * reading a file. */