mirror of
https://github.com/overte-org/overte.git
synced 2025-07-26 09:18:26 +02:00
31 lines
665 B
C++
31 lines
665 B
C++
//
|
|
// UpdateDialog.h
|
|
// interface/src/ui
|
|
//
|
|
// Copyright 2014 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
#ifndef hifi_UpdateDialog_h
|
|
#define hifi_UpdateDialog_h
|
|
|
|
#include <QWidget>
|
|
|
|
class UpdateDialog : public QDialog {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
UpdateDialog(QWidget* parent, const QString& releaseNotes, const QString& latestVersion, const QUrl& downloadURL);
|
|
|
|
private:
|
|
QString _latestVersion;
|
|
QUrl _downloadUrl;
|
|
|
|
private slots:
|
|
void handleDownload();
|
|
void handleSkip();
|
|
};
|
|
|
|
#endif // hifi_UpdateDialog_h
|