From ec9636d59ede9f4dbffc644f12b0d93acfd5c20e Mon Sep 17 00:00:00 2001 From: Marius Gripsgard Date: Sat, 29 Jun 2019 17:52:45 +0200 Subject: [PATCH] Add forceClose method to mirSurface api --- include/unity/shell/application/MirSurfaceInterface.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/unity/shell/application/MirSurfaceInterface.h b/include/unity/shell/application/MirSurfaceInterface.h index 1b096cc..0ffe234 100644 --- a/include/unity/shell/application/MirSurfaceInterface.h +++ b/include/unity/shell/application/MirSurfaceInterface.h @@ -252,6 +252,12 @@ class MirSurfaceInterface : public QObject */ Q_INVOKABLE virtual void close() = 0; + /** + * @brief Sends a force close request + * + */ + Q_INVOKABLE virtual void forceClose() = 0; + /** * @brief Activates this surface *