KShare/platformspecifics/mac/macbackend.cpp
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

14 lines
441 B
C++

#include "macbackend.hpp"
QPixmap PlatformBackend::getCursor() {
#warning "TODO: Mac backend"
return std::tuple<QPoint, QPixmap>(QPoint(0, 0), QPixmap());
// Not Monday: https://developer.apple.com/reference/appkit/nscursor/1527062-image
// Some on how to do NSImage -> QPixmap: http://stackoverflow.com/a/2468961/3809164
// This is gonna be easier than with Windows
}
pid_t PlatformBackend::pid() {
return getpid();
}