2016-11-30 09:06:16 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <xcb/xcb.h>
|
|
|
|
|
|
|
|
#include "common.hpp"
|
2016-12-21 13:55:19 +00:00
|
|
|
#include "x11/extensions/all.hpp"
|
2016-11-30 09:06:16 +00:00
|
|
|
|
|
|
|
// 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
|