summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/FileUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/Src/FileUtil.cpp')
-rw-r--r--Source/Core/Common/Src/FileUtil.cpp31
1 files changed, 1 insertions, 30 deletions
diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp
index 0d79954fa2..e849c56a15 100644
--- a/Source/Core/Common/Src/FileUtil.cpp
+++ b/Source/Core/Common/Src/FileUtil.cpp
@@ -113,36 +113,6 @@ std::string SanitizePath(const char *filename)
return copy;
}
-void Launch(const char *filename)
-{
-#ifdef _WIN32
- std::string win_filename = SanitizePath(filename);
- SHELLEXECUTEINFO shex = { sizeof(shex) };
- shex.fMask = SEE_MASK_NO_CONSOLE; // | SEE_MASK_ASYNC_OK;
- shex.lpVerb = "open";
- shex.lpFile = win_filename.c_str();
- shex.nShow = SW_SHOWNORMAL;
- ShellExecuteEx(&shex);
-#else
- // TODO: Insert GNOME/KDE code here.
-#endif
-}
-
-void Explore(const char *path)
-{
-#ifdef _WIN32
- std::string win_path = SanitizePath(path);
- SHELLEXECUTEINFO shex = { sizeof(shex) };
- shex.fMask = SEE_MASK_NO_CONSOLE; // | SEE_MASK_ASYNC_OK;
- shex.lpVerb = "explore";
- shex.lpFile = win_path.c_str();
- shex.nShow = SW_SHOWNORMAL;
- ShellExecuteEx(&shex);
-#else
- // TODO: Insert GNOME/KDE code here.
-#endif
-}
-
// Returns true if successful, or path already exists.
bool CreateDir(const char *path)
{
@@ -545,3 +515,4 @@ bool SetCurrentDirectory(const std::string& _rDirectory)
} // namespace
+