KShare/platformspecifics/x11/x11backend.hpp
ArsenArsen f2b2a7eb4a Implement recording [!tested] [prob. broken] [1AM]
Implement the basic barebone structure of GIF recording.
While it is likely broken (probably black frames and similar issues) it's a good start.
Good night.
2017-06-06 01:26:26 +02:00

17 lines
291 B
C++

#ifndef X11BACKEND_HPP
#define X11BACKEND_HPP
#include <QPixmap>
class PlatformBackend {
public:
std::tuple<QPoint, QPixmap> getCursor();
pid_t pid();
static PlatformBackend &inst() {
static PlatformBackend inst;
return inst;
}
};
#endif // X11BACKEND_HPP