Mercurial > minori
changeset 285:65df2813d0de
dep/animone: header cleanup
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 08 May 2024 16:43:32 -0400 |
parents | e66ffc338d82 |
children | 53e3c015a973 |
files | dep/animone/src/fd/bsd.cc dep/animone/src/fd/win32.cc dep/animone/src/strategist.cc dep/animone/src/win.cc |
diffstat | 4 files changed, 1 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/dep/animone/src/fd/bsd.cc Wed May 08 16:21:05 2024 -0400 +++ b/dep/animone/src/fd/bsd.cc Wed May 08 16:43:32 2024 -0400 @@ -19,7 +19,6 @@ #endif #include <string> -#include <iostream> namespace animone::internal::bsd {
--- a/dep/animone/src/fd/win32.cc Wed May 08 16:21:05 2024 -0400 +++ b/dep/animone/src/fd/win32.cc Wed May 08 16:43:32 2024 -0400 @@ -30,8 +30,6 @@ /* SystemExtendedHandleInformation is only available in NT 5.1+ (XP and higher) and provides information for * 32-bit PIDs, unlike SystemHandleInformation - * - * TODO: implement SystemHandleInformation for systems older than XP */ static constexpr SYSTEM_INFORMATION_CLASS SystemExtendedHandleInformation = static_cast<SYSTEM_INFORMATION_CLASS>(0x40); static constexpr NTSTATUS STATUS_INFO_LENGTH_MISMATCH = 0xC0000004UL;
--- a/dep/animone/src/strategist.cc Wed May 08 16:21:05 2024 -0400 +++ b/dep/animone/src/strategist.cc Wed May 08 16:43:32 2024 -0400 @@ -1,12 +1,11 @@ #include <regex> +#include <unordered_map> #include "animone.h" #include "animone/fd.h" #include "animone/strategies.h" #include "animone/util.h" -#include <unordered_map> - /* this was STUPIDLY slow in Anisthesia, oops! */ namespace animone::internal {
--- a/dep/animone/src/win.cc Wed May 08 16:21:05 2024 -0400 +++ b/dep/animone/src/win.cc Wed May 08 16:43:32 2024 -0400 @@ -12,15 +12,11 @@ # include "animone/win/x11.h" #endif -#include <iostream> - namespace animone::internal { bool EnumerateWindows(window_proc_t window_proc) { bool success = false; - std::cout << "enumerating windows" << std::endl; - #ifdef WIN32 success |= win32::EnumerateWindows(window_proc); #endif