Skip to content

Commit

Permalink
Fix some qdbus complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems committed Jan 17, 2024
1 parent 0905934 commit f5fcbd5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions applications/system-service/apibase.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
#include <liboxide.h>
#include <unistd.h>

#ifdef Q_MOC_RUN
#include "../../shared/liboxide/meta.h"
#endif


class APIBase : public QObject, protected QDBusContext {
Q_OBJECT
Expand Down
1 change: 0 additions & 1 deletion applications/system-service/notificationapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<QDBusObjectPath> notifications(QDBusMessage message);

void remove(Notification* notification);
bool locked();
void lock();
Expand Down
2 changes: 1 addition & 1 deletion applications/system-service/screenapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ScreenAPI : public APIBase {
bool enabled();
QList<QDBusObjectPath> 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();
Expand Down
5 changes: 5 additions & 0 deletions interfaces/screenapi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
<arg type="o" direction="out"/>
<arg name="blob" type="ay" direction="in"/>
</method>
<method name="drawFullscreenImage">
<arg type="b" direction="out"/>
<arg name="path" type="s" direction="in"/>
<arg name="rotate" type="d" direction="in"/>
</method>
<method name="drawFullscreenImage">
<arg type="b" direction="out"/>
<arg name="path" type="s" direction="in"/>
Expand Down

0 comments on commit f5fcbd5

Please sign in to comment.