Mercurial > libanimone
diff include/animone/util/win32.h @ 25:60ded877339b
dep/animone: fix tons of issues
for example, the window ID stuff was just... completely wrong. since we're
supporting multiple different window systems, it *has* to be a union rather
than just a single integer type. HWND is also not a DWORD, it's a pointer(!),
so now it's stored as a std::uintptr_t.
(this probably breaks things)
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Thu, 20 Jun 2024 03:03:05 -0400 |
parents | 1cfa7d57c022 |
children |
line wrap: on
line diff
--- a/include/animone/util/win32.h Wed Jun 19 23:21:19 2024 -0400 +++ b/include/animone/util/win32.h Thu Jun 20 03:03:05 2024 -0400 @@ -23,10 +23,6 @@ std::string ToUtf8String(const UNICODE_STRING& string); std::wstring ToWstring(const std::string& string); -/* XXX can this stuff be moved to fd/win32.cc? */ -bool IsSystemDirectory(const std::string& path); -bool IsSystemDirectory(std::wstring path); - } // namespace animone::internal::win32 #endif // ANIMONE_ANIMONE_UTIL_WIN32_H_ \ No newline at end of file