KShare/platformspecifics/mac/macbackend.hpp

20 lines
362 B
C++
Raw Normal View History

2017-05-13 11:03:46 +02:00
#ifndef MACBACKEND_HPP
#define MACBACKEND_HPP
#include <QPixmap>
#define PLATFORM_CAPABILITY_PID
2017-05-13 11:03:46 +02:00
class PlatformBackend {
public:
std::tuple<QPoint, QPixmap> getCursor();
pid_t pid();
2017-05-13 11:03:46 +02:00
static PlatformBackend &inst() {
static PlatformBackend inst;
return inst;
}
bool filenameValid(QString name);
2017-05-13 11:03:46 +02:00
};
#endif // MACBACKEND_HPP