summaryrefslogtreecommitdiff
path: root/src/utils/process.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-21 22:03:13 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-21 22:15:58 +0300
commit0db159ef0f611ba014c59e773a59661b92ab7fde (patch)
tree7fd3b318e213f2172ac6226b8fcc7b1a8db40f4a /src/utils/process.h
parent8e3f06edfa547e4a6f0f03e91e05eb1fdab29464 (diff)
downloadmv-0db159ef0f611ba014c59e773a59661b92ab7fde.tar.gz
mv-0db159ef0f611ba014c59e773a59661b92ab7fde.tar.bz2
mv-0db159ef0f611ba014c59e773a59661b92ab7fde.tar.xz
mv-0db159ef0f611ba014c59e773a59661b92ab7fde.zip
Add support for opening urls in system default browser.
Diffstat (limited to 'src/utils/process.h')
-rw-r--r--src/utils/process.h9
1 files changed, 7 insertions, 2 deletions
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 <string>
-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