Mercurial > libanimone
diff include/animone/util/win32.h @ 23:1cfa7d57c022
dep/animone: add experimental accessibility strategy
I also moved most of the functions out of util/win32.cc, because that
file is meant for things that are shared between the different functions,
and currently that is only wide string conversion helpers.
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 19 Jun 2024 23:13:55 -0400 |
parents | 27b988a1048c |
children | 60ded877339b |
line wrap: on
line diff
--- a/include/animone/util/win32.h Wed Jun 19 13:06:10 2024 -0400 +++ b/include/animone/util/win32.h Wed Jun 19 23:13:55 2024 -0400 @@ -23,10 +23,7 @@ std::string ToUtf8String(const UNICODE_STRING& string); std::wstring ToWstring(const std::string& string); -std::wstring GetProcessPath(DWORD process_id); -std::wstring GetFileNameFromPath(const std::wstring& path); -std::wstring GetFileNameWithoutExtension(const std::wstring& filename); - +/* XXX can this stuff be moved to fd/win32.cc? */ bool IsSystemDirectory(const std::string& path); bool IsSystemDirectory(std::wstring path);