1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-11 13:50:56 -05:00
polybar/include/x11/registry.hpp
Michael Carlberg 608519363d feat(xkeyboard): New module
New module that uses the X keyboard extension
to show keyboard layout and indicators.

Ref #84, #200
2016-11-30 10:08:44 +01:00

28 lines
443 B
C++

#pragma once
#include <xcb/xcb.h>
#include "common.hpp"
#include "x11/extensions_fwd.hpp"
// fwd
namespace xpp {
namespace event {
template <typename Connection, typename... Extensions>
class registry;
}
}
POLYBAR_NS
// fwd
class connection;
using xpp_registry = xpp::event::registry<connection&, XPP_EXTENSION_LIST>;
class registry : public xpp_registry {
public:
explicit registry(connection& conn);
};
POLYBAR_NS_END