13 #ifndef hifi_UpdateDialog_h
14 #define hifi_UpdateDialog_h
16 #include <QtCore/QCoreApplication>
18 #include <OffscreenQmlDialog.h>
20 class UpdateDialog :
public OffscreenQmlDialog {
24 Q_PROPERTY(QString updateAvailableDetails READ updateAvailableDetails CONSTANT)
25 Q_PROPERTY(QString releaseNotes READ releaseNotes CONSTANT)
28 UpdateDialog(QQuickItem* parent =
nullptr);
29 const QString& updateAvailableDetails()
const;
30 const QString& releaseNotes()
const;
33 QString _updateAvailableDetails;
34 QString _releaseNotes;
37 Q_INVOKABLE
void triggerUpgrade();