2016-11-30 09:06:16 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "common.hpp"
|
2016-12-26 08:40:15 +00:00
|
|
|
#include "x11/extensions/fwd.hpp"
|
2016-11-30 09:06:16 +00:00
|
|
|
|
|
|
|
// fwd
|
|
|
|
namespace xpp {
|
|
|
|
namespace event {
|
|
|
|
template <typename Connection, typename... Extensions>
|
|
|
|
class registry;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
POLYBAR_NS
|
|
|
|
|
|
|
|
class connection;
|
|
|
|
|
2016-12-26 08:40:15 +00:00
|
|
|
class registry : public xpp::event::registry<connection&, XPP_EXTENSION_LIST> {
|
2016-11-30 09:06:16 +00:00
|
|
|
public:
|
2016-12-26 08:40:15 +00:00
|
|
|
using priority = unsigned int;
|
|
|
|
|
2016-11-30 09:06:16 +00:00
|
|
|
explicit registry(connection& conn);
|
|
|
|
};
|
|
|
|
|
|
|
|
POLYBAR_NS_END
|