f53df7da64
Code submissions have continually suffered from formatting inconsistencies that constantly have to be addressed. Using clang-format simplifies this by making code formatting more consistent, and allows automation of the code formatting so that maintainers can focus more on the code itself instead of code formatting.
26 lines
439 B
C++
26 lines
439 B
C++
#pragma once
|
|
|
|
#include <QDialog>
|
|
#include <memory>
|
|
|
|
#include "ui_OBSUpdate.h"
|
|
|
|
class OBSUpdate : public QDialog {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
enum ReturnVal { No, Yes, Skip };
|
|
|
|
OBSUpdate(QWidget *parent, bool manualUpdate, const QString &text);
|
|
|
|
public slots:
|
|
void on_yes_clicked();
|
|
void on_no_clicked();
|
|
void on_skip_clicked();
|
|
virtual void accept() override;
|
|
virtual void reject() override;
|
|
|
|
private:
|
|
std::unique_ptr<Ui_OBSUpdate> ui;
|
|
};
|