#pragma once #include #include // some include of xorg defines "None" this is also used by QT and has to be undefined to avoid collisions #ifdef None #undef None #endif class XcbWrapper: public GrabberWrapper { public: XcbWrapper(int cropLeft, int cropRight, int cropTop, int cropBottom, int pixelDecimation, const unsigned updateRate_Hz); ~XcbWrapper() override; public slots: void action() override; private: XcbGrabber _grabber; bool _init; };