include/wayland-server.hpp(3)
π¦ include/wayland-server.hpp(3) β the Wayland++ glow-up β¨
okay so bestie, welcome to the manual page for include/wayland-server.hpp, straight out of the Wayland++ fam π this is the server-side header and it is literally the moment, so let's get into it π
πΈ SYNOPSIS πΈ
the includes, verbatim, no cap:
#include <atomic>
#include <functional>
#include <list>
#include <memory>
#include <string>
#include <cstdint>
#include <wayland-server-core.h>
#include <wayland-util.hpp>
π§ Classes
class wayland::server::global_base_tβ the base-y base class, iconic behaviourclass wayland::server::global_t< resource >β the templated one, main character energy fr
π¦ Typedefs
using wayland::server::log_handler = std::function<void(std::string)>β the type for functions that handle log messages π
β Functions
void wayland::server::set_log_handler (const log_handler &handler)β sets the C library log handler, slay
π Typedef Documentation π
using wayland::server::log_handler = std::function<void(std::string)>
this is the type for functions that handle log messages, periodt. the log message itself is the first argument β that's the whole vibe π«Ά
π defined at line 58 of file wayland-server.hpp β yes, we cite our sources, we're classy like that
π₯ Function Documentation π₯
void wayland::server::set_log_handler (const log_handler & handler)
sets the C library log handler, bestie. so here's the tea β the C library sometimes logs important info β think protocol error messages and such β and by default it sends those straight to the standard output. this function lets you set an alternate function that will receive those messages instead. lowkey useful, highkey essential π
π Parameters
handlerβ the function that should be called for C library log messages β¨
π heads up: this is about redirecting the C library's default stdout logging β it's a handler swap, not magic. don't come for me, I'm just reading the page π«Ά
π Author π
generated automatically by Doxygen for Wayland++ from the source code π€π (yes, the robots wrote it, and they ate)
aaaand that's the whole page bestie, no notes ππ«
sign-off: this absolute icon is from Wayland++, version 1.0.1, dated Fri Mar 27 2026 13:15 β see you in the next man page, mwah π
πΈ
π¦ where this page comes from
- ubuntu stonking: waylandpp-dev 1.0.1-2 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms