mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-09-18 16:32:33 +02:00
Create MacIntegration wrapper class for macbridge
This commit is contained in:
parent
ba7d04c034
commit
79ac3477c9
@ -1,6 +1,13 @@
|
||||
#include "macintegration.h"
|
||||
#include "macbridge.h"
|
||||
|
||||
MacIntegration::MacIntegration()
|
||||
MacIntegration::MacIntegration(QObject *parent)
|
||||
: QObject(parent)
|
||||
{
|
||||
|
||||
MacBridge::instance();
|
||||
}
|
||||
|
||||
void MacIntegration::SetBackgroundLevel(QWindow* window)
|
||||
{
|
||||
MacBridge::SetBackgroundLevel(window);
|
||||
}
|
||||
|
@ -1,11 +1,15 @@
|
||||
#ifndef MACINTEGRATION_H
|
||||
#define MACINTEGRATION_H
|
||||
|
||||
#include <QApplication>
|
||||
|
||||
class MacIntegration
|
||||
|
||||
class MacIntegration : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
MacIntegration();
|
||||
explicit MacIntegration(QObject *parent);
|
||||
void SetBackgroundLevel(QWindow* window);
|
||||
};
|
||||
|
||||
#endif // MACINTEGRATION_H
|
Loading…
Reference in New Issue
Block a user