dolphin/Source/Core/DolphinQt/Config/HardcoreWarningWidget.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
515 B
C
Raw Normal View History

// Copyright 2023 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#ifdef USE_RETRO_ACHIEVEMENTS
#include <QWidget>
class QLabel;
class QPushButton;
class HardcoreWarningWidget : public QWidget
{
Q_OBJECT
public:
explicit HardcoreWarningWidget(QWidget* parent);
signals:
void OpenAchievementSettings();
private:
void CreateWidgets();
void ConnectWidgets();
void Update();
QLabel* m_text;
QPushButton* m_settings_button;
};
#endif // USE_RETRO_ACHIEVEMENTS