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