f2b2a7eb4a
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.
17 lines
271 B
C++
17 lines
271 B
C++
#ifndef MACBACKEND_HPP
|
|
#define MACBACKEND_HPP
|
|
|
|
#include <QPixmap>
|
|
|
|
class PlatformBackend {
|
|
public:
|
|
QPixmap getCursor();
|
|
pid_t pid();
|
|
static PlatformBackend &inst() {
|
|
static PlatformBackend inst;
|
|
return inst;
|
|
}
|
|
};
|
|
|
|
#endif // MACBACKEND_HPP
|