Calling DllMain, fixing ref count, and fixing module search.

This commit is contained in:
Ben Vanik
2015-05-09 00:56:42 -07:00
parent 0c646f4bc2
commit 23eb343484
11 changed files with 168 additions and 66 deletions

View File

@@ -32,6 +32,8 @@ std::wstring to_absolute_path(const std::wstring& path);
std::vector<std::string> split_path(const std::string& path);
// Joins two path segments with the given separator.
std::string join_paths(const std::string& left, const std::string& right,
char sep = xe::path_separator);
std::wstring join_paths(const std::wstring& left, const std::wstring& right,
wchar_t sep = xe::path_separator);
@@ -42,10 +44,13 @@ std::wstring fix_path_separators(const std::wstring& source,
std::string fix_path_separators(const std::string& source,
char new_sep = xe::path_separator);
// Find the top directory name or filename from a path
// Find the top directory name or filename from a path.
std::string find_name_from_path(const std::string& path);
std::wstring find_name_from_path(const std::wstring& path);
// Get parent path of the given directory or filename.
std::string find_base_path(const std::string& path);
} // namespace xe
#endif // XENIA_BASE_STRING_H_