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

26 lines
412 B
C++
Raw Normal View History

#pragma once
#include "common.hpp"
2016-12-26 03:40:15 -05:00
#include "x11/extensions/fwd.hpp"
// 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> {
public:
2016-12-26 03:40:15 -05:00
using priority = unsigned int;
explicit registry(connection& conn);
};
POLYBAR_NS_END