#pragma once #include "config.hpp" // fwd namespace xpp { #if ENABLE_DAMAGE_EXT namespace damage { class extension; } #endif #if ENABLE_RANDR_EXT namespace randr { class extension; } #endif #if ENABLE_SYNC_EXT namespace sync { class extension; } #endif #if ENABLE_RENDER_EXT namespace render { class extension; } #endif #if ENABLE_COMPOSITE_EXT namespace composite { class extension; } #endif } #include #include "common.hpp" POLYBAR_NS class connection; using gcontext = xpp::gcontext; using pixmap = xpp::pixmap; using drawable = xpp::drawable; using colormap = xpp::colormap; using atom = xpp::atom; using font = xpp::font; using cursor = xpp::cursor; using registry = xpp::event::registry; POLYBAR_NS_END