diff options
Diffstat (limited to 'wayland/democompositor/processlauncher.h')
-rw-r--r-- | wayland/democompositor/processlauncher.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/wayland/democompositor/processlauncher.h b/wayland/democompositor/processlauncher.h index 261da6d..092c0a3 100644 --- a/wayland/democompositor/processlauncher.h +++ b/wayland/democompositor/processlauncher.h @@ -52,6 +52,11 @@ #define PROCESSLAUNCHER_H #include <QObject> +#include <QLoggingCategory> + +class AppEntry; + +Q_DECLARE_LOGGING_CATEGORY(procs) class WaylandProcessLauncher : public QObject { @@ -60,7 +65,7 @@ class WaylandProcessLauncher : public QObject public: explicit WaylandProcessLauncher(QObject *parent = 0); ~WaylandProcessLauncher(); - Q_INVOKABLE void launch(const QString &program); + Q_INVOKABLE void launch(const AppEntry &entry); }; #endif // PROCESSLAUNCHER_H |