2016-06-15 03:32:35 +00:00
|
|
|
#pragma once
|
|
|
|
|
2016-11-02 19:22:45 +00:00
|
|
|
#include "config.hpp"
|
|
|
|
|
2016-11-20 22:04:31 +00:00
|
|
|
// fwd
|
|
|
|
namespace xpp {
|
2016-11-26 14:42:48 +00:00
|
|
|
#if ENABLE_DAMAGE_EXT
|
2016-11-26 05:13:20 +00:00
|
|
|
namespace damage {
|
|
|
|
class extension;
|
|
|
|
}
|
|
|
|
#endif
|
2016-11-26 14:42:48 +00:00
|
|
|
#if ENABLE_RANDR_EXT
|
2016-11-20 22:04:31 +00:00
|
|
|
namespace randr {
|
|
|
|
class extension;
|
|
|
|
}
|
2016-11-02 19:22:45 +00:00
|
|
|
#endif
|
2016-11-26 14:42:48 +00:00
|
|
|
#if ENABLE_SYNC_EXT
|
|
|
|
namespace sync {
|
|
|
|
class extension;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#if ENABLE_RENDER_EXT
|
2016-11-26 05:13:20 +00:00
|
|
|
namespace render {
|
|
|
|
class extension;
|
|
|
|
}
|
|
|
|
#endif
|
2016-11-26 14:42:48 +00:00
|
|
|
#if ENABLE_COMPOSITE_EXT
|
|
|
|
namespace composite {
|
|
|
|
class extension;
|
|
|
|
}
|
|
|
|
#endif
|
2016-11-26 05:13:20 +00:00
|
|
|
}
|
2016-11-20 22:04:31 +00:00
|
|
|
|
2016-06-15 03:32:35 +00:00
|
|
|
#include <xpp/xpp.hpp>
|
|
|
|
|
|
|
|
#include "common.hpp"
|
|
|
|
|
2016-11-19 05:22:44 +00:00
|
|
|
POLYBAR_NS
|
2016-06-15 03:32:35 +00:00
|
|
|
|
|
|
|
class connection;
|
2016-11-02 19:22:45 +00:00
|
|
|
|
2016-11-20 22:04:31 +00: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-26 14:42:48 +00:00
|
|
|
#if ENABLE_DAMAGE_EXT
|
2016-11-02 19:22:45 +00:00
|
|
|
xpp::damage::extension
|
|
|
|
#endif
|
2016-11-26 14:42:48 +00:00
|
|
|
#if ENABLE_RANDR_EXT
|
|
|
|
#if ENABLE_DAMAGE_EXT
|
2016-11-02 19:22:45 +00:00
|
|
|
,
|
2016-11-20 22:04:31 +00:00
|
|
|
#endif
|
2016-11-02 19:22:45 +00:00
|
|
|
xpp::randr::extension
|
|
|
|
#endif
|
2016-11-26 14:42:48 +00:00
|
|
|
#if ENABLE_RENDER_EXT
|
|
|
|
#if (ENABLE_RANDR_EXT || ENABLE_DAMAGE_EXT)
|
2016-11-02 19:22:45 +00:00
|
|
|
,
|
2016-11-20 22:04:31 +00:00
|
|
|
#endif
|
2016-11-02 19:22:45 +00:00
|
|
|
xpp::render::extension
|
2016-11-26 14:42:48 +00:00
|
|
|
#endif
|
|
|
|
#if ENABLE_SYNC_EXT
|
|
|
|
#if (ENABLE_RANDR_EXT || ENABLE_DAMAGE_EXT || ENABLE_RENDER_EXT)
|
|
|
|
,
|
|
|
|
#endif
|
|
|
|
xpp::sync::extension
|
|
|
|
#endif
|
|
|
|
#if ENABLE_COMPOSITE_EXT
|
|
|
|
#if (ENABLE_RANDR_EXT || ENABLE_DAMAGE_EXT || ENABLE_RENDER_EXT || ENABLE_COMPOSITE_EXT)
|
|
|
|
,
|
|
|
|
#endif
|
|
|
|
xpp::composite::extension
|
2016-11-02 19:22:45 +00:00
|
|
|
#endif
|
|
|
|
>;
|
|
|
|
|
2016-11-19 05:22:44 +00:00
|
|
|
POLYBAR_NS_END
|