Mercurial > minori
view dep/animone/include/animone/win.h @ 264:9a04802848c0
*: improve multiple things
e.g. making some strings.cc functions modify strings in-place,
improving m4_ax_have_qt.m4 code, making anime_db.cc rely on
std::optional rather than std::shared_ptr (which was stupid
anyway)
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Thu, 11 Apr 2024 10:15:57 -0400 |
parents | 862d0d8619f6 |
children | b1f625b0227c |
line wrap: on
line source
#ifndef ANIMONE_ANIMONE_WIN_H_ #define ANIMONE_ANIMONE_WIN_H_ #include <functional> #include <string> namespace animone { struct Process; struct Window; namespace internal { using window_proc_t = std::function<bool(const Process&, const Window&)>; bool EnumerateWindows(window_proc_t window_proc); } // namespace internal } // namespace animone #endif // ANIMONE_ANIMONE_WIN_H_