Mercurial > minori
view dep/animone/src/win.cc @ 318:3b355fa948c7
config: use TOML instead of INI
unfortunately, INI is not enough, and causes some paths including
semicolons to break with our current storage of the library folders.
so, I decided to switch to TOML which does support real arrays...
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 12 Jun 2024 05:25:41 -0400 |
parents | b1f625b0227c |
children | a7d4e5107531 |
line wrap: on
line source
#include "animone/win.h" #ifdef WIN32 # include "animone/win/win32.h" #endif #ifdef MACOSX # include "animone/win/quartz.h" #endif #ifdef X11 # include "animone/win/x11.h" #endif namespace animone::internal { bool EnumerateWindows(window_proc_t window_proc) { bool success = false; #ifdef WIN32 success |= win32::EnumerateWindows(window_proc); #endif #ifdef MACOSX success |= quartz::EnumerateWindows(window_proc); #endif #ifdef X11 success |= x11::EnumerateWindows(window_proc); #endif return success; } } // namespace animone::internal