.TH "include/wayland-client.hpp" 3 "Wed May 1 2024 17:27:19" "Version 1.0.0" "Wayland++" \" -*- nroff -*- .ad l .nh .SH NAME include/wayland-client.hpp .SH SYNOPSIS .br .PP \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br .SS "Classes" .in +1c .ti -1c .RI "class \fBwayland::event_queue_t\fP" .br .RI "A queue for \fBproxy_t\fP object events\&. " .ti -1c .RI "class \fBwayland::proxy_t\fP" .br .RI "Represents a protocol object on the client side\&. " .ti -1c .RI "class \fBwayland::read_intent\fP" .br .RI "Represents an intention to read from the display file descriptor\&. " .ti -1c .RI "class \fBwayland::display_t\fP" .br .RI "Represents a connection to the compositor and acts as a proxy to the display singleton object\&. " .in -1c .SS "Typedefs" .in +1c .ti -1c .RI "using \fBwayland::log_handler\fP = std::function< void(std::string)>" .br .RI "Type for functions that handle log messages\&. " .in -1c .SS "Functions" .in +1c .ti -1c .RI "void \fBwayland::set_log_handler\fP (\fBlog_handler\fP handler)" .br .RI "Set C library log handler\&. " .in -1c .SH "Typedef Documentation" .PP .SS "using \fBwayland::log_handler\fP = typedef std::function" .PP Type for functions that handle log messages\&. Log message is the first argument .PP Definition at line \fB47\fP of file \fBwayland\-client\&.hpp\fP\&. .SH "Function Documentation" .PP .SS "void wayland::set_log_handler (\fBlog_handler\fP handler)" .PP Set C library log handler\&. The C library sometimes logs important information such as protocol error messages, by default to the standard output\&. This can be used to set an alternate function that will receive those messages\&. .PP \fBParameters\fP .RS 4 \fIhandler\fP function that should be called for C library log messages .RE .PP .SH "Author" .PP Generated automatically by Doxygen for Wayland++ from the source code\&.