Mercurial > minori
comparison dep/animone/src/win.cc @ 285:65df2813d0de
dep/animone: header cleanup
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 08 May 2024 16:43:32 -0400 |
parents | 1a6a5d3a94cd |
children | b1f625b0227c |
comparison
equal
deleted
inserted
replaced
284:e66ffc338d82 | 285:65df2813d0de |
---|---|
10 | 10 |
11 #ifdef X11 | 11 #ifdef X11 |
12 # include "animone/win/x11.h" | 12 # include "animone/win/x11.h" |
13 #endif | 13 #endif |
14 | 14 |
15 #include <iostream> | |
16 | |
17 namespace animone::internal { | 15 namespace animone::internal { |
18 | 16 |
19 bool EnumerateWindows(window_proc_t window_proc) { | 17 bool EnumerateWindows(window_proc_t window_proc) { |
20 bool success = false; | 18 bool success = false; |
21 | |
22 std::cout << "enumerating windows" << std::endl; | |
23 | 19 |
24 #ifdef WIN32 | 20 #ifdef WIN32 |
25 success |= win32::EnumerateWindows(window_proc); | 21 success |= win32::EnumerateWindows(window_proc); |
26 #endif | 22 #endif |
27 | 23 |