2016-06-14 23:32:35 -04:00
|
|
|
#pragma once
|
|
|
|
|
2016-11-02 15:22:45 -04:00
|
|
|
#include "config.hpp"
|
|
|
|
|
2016-11-20 17:04:31 -05:00
|
|
|
// fwd
|
|
|
|
namespace xpp {
|
2016-11-26 00:13:20 -05:00
|
|
|
#ifdef ENABLE_DAMAGE_EXT
|
|
|
|
namespace damage {
|
|
|
|
class extension;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#ifdef ENABLE_RANDR_EXT
|
2016-11-20 17:04:31 -05:00
|
|
|
namespace randr {
|
|
|
|
class extension;
|
|
|
|
}
|
2016-11-02 15:22:45 -04:00
|
|
|
#endif
|
2016-11-26 00:13:20 -05:00
|
|
|
#ifdef ENABLE_RENDER_EXT
|
|
|
|
namespace render {
|
|
|
|
class extension;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
}
|
2016-11-20 17:04:31 -05:00
|
|
|
|
2016-06-14 23:32:35 -04:00
|
|
|
#include <xpp/xpp.hpp>
|
|
|
|
|
|
|
|
#include "common.hpp"
|
|
|
|
|
2016-11-19 00:22:44 -05:00
|
|
|
POLYBAR_NS
|
2016-06-14 23:32:35 -04:00
|
|
|
|
|
|
|
class connection;
|
2016-11-02 15:22:45 -04:00
|
|
|
|
2016-11-20 17:04:31 -05:00
|
|
|
using gcontext = xpp::gcontext<connection&>;
|
|
|
|
using pixmap = xpp::pixmap<connection&>;
|
|
|
|
using drawable = xpp::drawable<connection&>;
|
|
|
|
using colormap = xpp::colormap<connection&>;
|
|
|
|
using atom = xpp::atom<connection&>;
|
|
|
|
using font = xpp::font<connection&>;
|
|
|
|
using cursor = xpp::cursor<connection&>;
|
|
|
|
|
|
|
|
using registry = xpp::event::registry<connection&,
|
2016-11-02 15:22:45 -04:00
|
|
|
#ifdef ENABLE_DAMAGE_EXT
|
|
|
|
xpp::damage::extension
|
|
|
|
#endif
|
|
|
|
#ifdef ENABLE_RANDR_EXT
|
2016-11-20 17:04:31 -05:00
|
|
|
#ifdef ENABLE_DAMAGE_EXT
|
2016-11-02 15:22:45 -04:00
|
|
|
,
|
2016-11-20 17:04:31 -05:00
|
|
|
#endif
|
2016-11-02 15:22:45 -04:00
|
|
|
xpp::randr::extension
|
|
|
|
#endif
|
|
|
|
#ifdef ENABLE_RENDER_EXT
|
2016-11-20 17:04:31 -05:00
|
|
|
#ifdef ENABLE_RANDR_EXT
|
2016-11-02 15:22:45 -04:00
|
|
|
,
|
2016-11-20 17:04:31 -05:00
|
|
|
#endif
|
2016-11-02 15:22:45 -04:00
|
|
|
xpp::render::extension
|
|
|
|
#endif
|
|
|
|
>;
|
|
|
|
|
2016-11-19 00:22:44 -05:00
|
|
|
POLYBAR_NS_END
|