modify display/hide onscreen sequence
[apps/onscreenapp.git] / sample / app / eventhandler.h
index 61b519b..c601d0d 100644 (file)
@@ -31,6 +31,7 @@
 using namespace std;
 
 class QQuickWindow;
+class QQmlApplicationEngine;
 
 class EventHandler : public QObject
 {
@@ -44,6 +45,7 @@ public:
     static void* myThis;
 
     Q_INVOKABLE void showWindow(QString id, QString json);
+    Q_INVOKABLE void hideWindow(QString id);
 
 signals:
     void signalOnReplyShowWindow(QVariant val);