Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
compositor-messages.h 651 B
#ifndef COMPOSITORCOMMANDS_H
#define COMPOSITORCOMMANDS_H

#include <QObject>

class CompositorMessages : public QObject
{
    Q_OBJECT
public:
    explicit CompositorMessages(QObject *parent = nullptr);

    Q_INVOKABLE bool isPidAlive(int pid);

public slots:
    void messageReceived(QString, qint32 value0, qint32 value2);
    void screenInfoReceived(int screenId);
signals:
    void moveWindowToScreen(qint32 windowid, qint32 screenid);
    void hideWindow(qint32);
    void showWindow(qint32);
    void logWindows(void);
    void getScreen(qint32);
    void sendStatus(int);
    void setActiveScreen(quint32);
};

#endif // COMPOSITORCOMMANDS_H