From 0db159ef0f611ba014c59e773a59661b92ab7fde Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 21 Jul 2012 22:03:13 +0300 Subject: Add support for opening urls in system default browser. --- src/utils/process.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/utils/process.h') diff --git a/src/utils/process.h b/src/utils/process.h index 12421729f..1895ed880 100644 --- a/src/utils/process.h +++ b/src/utils/process.h @@ -23,7 +23,12 @@ #include -int execFile(std::string pathName, std::string name, - std::string arg1, std::string arg2, int waitTime = 0); +int execFileWait(std::string pathName, std::string name, + std::string arg1, std::string arg2, int waitTime = 0); + +bool execFile(std::string pathName, std::string name, + std::string arg1, std::string arg2); + +bool openBrowser(std::string url); #endif // UTILS_PROCESS_H -- cgit v1.2.3-60-g2f50