diff --git a/applications/system-service/apibase.h b/applications/system-service/apibase.h index bd2013b7f..05c773efd 100644 --- a/applications/system-service/apibase.h +++ b/applications/system-service/apibase.h @@ -10,6 +10,10 @@ #include #include +#ifdef Q_MOC_RUN +#include "../../shared/liboxide/meta.h" +#endif + class APIBase : public QObject, protected QDBusContext { Q_OBJECT diff --git a/applications/system-service/notificationapi.h b/applications/system-service/notificationapi.h index 888ee5e9e..065956480 100644 --- a/applications/system-service/notificationapi.h +++ b/applications/system-service/notificationapi.h @@ -43,7 +43,6 @@ public slots: QDBusObjectPath add(const QString& identifier, const QString& application, const QString& text, const QString& icon, QDBusMessage message); bool take(QString identifier, QDBusMessage message); QList notifications(QDBusMessage message); - void remove(Notification* notification); bool locked(); void lock(); diff --git a/applications/system-service/screenapi.h b/applications/system-service/screenapi.h index ac25b0653..365272ef5 100644 --- a/applications/system-service/screenapi.h +++ b/applications/system-service/screenapi.h @@ -39,7 +39,7 @@ class ScreenAPI : public APIBase { bool enabled(); QList screenshots(); - Q_INVOKABLE bool drawFullscreenImage(QString path, float rotate = 0); + Q_INVOKABLE bool drawFullscreenImage(QString path, double rotate = 0); Q_INVOKABLE QDBusObjectPath screenshot(); QImage copy(); diff --git a/interfaces/screenapi.xml b/interfaces/screenapi.xml index c8db2f025..0ed088ce4 100644 --- a/interfaces/screenapi.xml +++ b/interfaces/screenapi.xml @@ -16,6 +16,11 @@ + + + + +