polybar/include/x11/registry.hpp

26 lines
412 B
C++
Raw Normal View History

#pragma once
#include "common.hpp"
2016-12-26 08:40:15 +00: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 08:40:15 +00:00
class registry : public xpp::event::registry<connection&, XPP_EXTENSION_LIST> {
public:
2016-12-26 08:40:15 +00:00
using priority = unsigned int;
explicit registry(connection& conn);
};
POLYBAR_NS_END