#ifndef X11BACKEND_HPP #define X11BACKEND_HPP #include #define PLATFORM_CAPABILITY_PID #define PLATFORM_CAPABILITY_ACTIVEWINDOW #define PLATFORM_CAPABILITY_CURSOR class PlatformBackend { public: std::tuple getCursor(); pid_t pid(); static PlatformBackend &inst() { static PlatformBackend inst; return inst; } WId getActiveWID(); bool filenameValid(QString name); }; #endif // X11BACKEND_HPP