#ifndef MACBACKEND_HPP #define MACBACKEND_HPP #include #define PLATFORM_CAPABILITY_PID #define PLATFORM_CAPABILITY_CURRENT_USER class PlatformBackend { public: std::tuple getCursor(); pid_t pid(); static PlatformBackend &inst() { static PlatformBackend inst; return inst; } bool filenameValid(QString name); QString getCurrentUser(); }; #endif // MACBACKEND_HPP