2017-05-13 11:03:46 +02:00
|
|
|
#ifndef MACBACKEND_HPP
|
|
|
|
#define MACBACKEND_HPP
|
|
|
|
|
|
|
|
#include <QPixmap>
|
|
|
|
|
2017-06-27 11:33:11 +02:00
|
|
|
#define PLATFORM_CAPABILITY_PID
|
|
|
|
|
2017-05-13 11:03:46 +02:00
|
|
|
class PlatformBackend {
|
2017-06-06 01:26:26 +02:00
|
|
|
public:
|
2017-05-13 11:03:46 +02:00
|
|
|
QPixmap getCursor();
|
2017-06-06 01:26:26 +02:00
|
|
|
pid_t pid();
|
2017-05-13 11:03:46 +02:00
|
|
|
static PlatformBackend &inst() {
|
|
|
|
static PlatformBackend inst;
|
|
|
|
return inst;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MACBACKEND_HPP
|