diff options
author | Prakash Buddhiraja <buddhip@amazon.com> | 2018-12-12 16:16:31 -0800 |
---|---|---|
committer | Prakash Buddhiraja <buddhip@amazon.com> | 2018-12-14 18:15:07 -0800 |
commit | 26d3b8a6775ced4c8187ddb805acf4b8b94606a6 (patch) | |
tree | 476f5f987e9fe03e5fed3c85b76987822d7b9e88 /src/aglextras/hmi/aglapplication.h | |
parent | 2fe96de41a540477d425403cf3a59ec6f5871521 (diff) |
Exposed QMLApplicationEngine from AGLApplication
So that apps can use the engine and context for passing the data from
C++ to QML
Change-Id: Ib17df321fce9f7c3092add0875d04e1f339450c1
Signed-off-by: Prakash Buddhiraja <buddhip@amazon.com>
Diffstat (limited to 'src/aglextras/hmi/aglapplication.h')
-rw-r--r-- | src/aglextras/hmi/aglapplication.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/aglextras/hmi/aglapplication.h b/src/aglextras/hmi/aglapplication.h index f9d17a0..9c08972 100644 --- a/src/aglextras/hmi/aglapplication.h +++ b/src/aglextras/hmi/aglapplication.h @@ -19,10 +19,13 @@ #define AGLAPPLICATION_H #include <QtAGLExtras/aglextrasglobal.h> + #include <QSharedPointer> #include <QtGui/QGuiApplication> +class QQmlApplicationEngine; + QT_BEGIN_NAMESPACE class AGLApplicationPrivate; class AGLEXTRAS_EXPORT AGLApplication : public QGuiApplication @@ -37,6 +40,8 @@ public: void load (const QUrl &url); void load (const QString &filePath); + QQmlApplicationEngine* getQmlApplicationEngine() const; + int exec (void); private: |