[Xcb] xpp - A C++11 RAII wrapper for XCB

Jochen Keil jochen.keil at gmail.com
Mon Mar 31 04:07:50 PDT 2014


I'd like to announce the first public release of xpp, a C++11 wrapper
for XCB, which embraces the RAII idiom. The wrapper is header only,
meaning that it is sufficient to include only header files without
compiling an object file for linking. In order to enhance reusability,
templates are widely used.

Some additional features are offered, like

* Iterators for lists in replies
* Reply member accessors
* Typed events & errors
* Xid (resource) wrappers with named constructors
* Event handling facilities

The repository with documentation is available here:

https://github.com/jrk-/xpp/

For an introductory idea on how to use xpp, two example programs are
available:

https://github.com/jrk-/xpp/blob/master/src/examples/demo_01.cpp
https://github.com/jrk-/xpp/blob/master/src/examples/demo_02.cpp

Feel free me to contact me with ideas, improvements, criticism or
anything else.

Best wishes,

Jochen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20140331/2b83e122/attachment.sig>


More information about the Xcb mailing list