1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-15 06:52:34 +02:00

Create MacIntegration wrapper class for macbridge

This commit is contained in:
Dominik Louven 2018-11-27 11:31:17 +01:00
parent ba7d04c034
commit 79ac3477c9
2 changed files with 16 additions and 5 deletions

View File

@ -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);
}

View File

@ -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
#endif // MACINTEGRATION_H