Debian Codegraph @

Source/Core/DolphinQt/SkylanderPortal/SkylanderModifyDialog.h

raw symbols SCIP
1 // Copyright 2023 Dolphin Emulator Project
2 // SPDX-License-Identifier: GPL-2.0-or-later
3
4 #pragma once
5
6 #include <QDialog>
7
8 #include "Common/CommonTypes.h"
9 #include "Core/IOS/USB/Emulated/Skylanders/SkylanderFigure.h"
10
11 class QVBoxLayout;
12 class QDialogButtonBox;
13
14 class SkylanderModifyDialog : public QDialog
15 {
16 public:
17 explicit SkylanderModifyDialog(QWidget* parent = nullptr, u8 slot = 0);
18
19 private:
20 void PopulateSkylanderOptions(QVBoxLayout* layout);
21 bool PopulateTrophyOptions(QVBoxLayout* layout);
22 void accept() override;
23
24 bool m_allow_close = false;
25 u8 m_slot;
26 IOS::HLE::USB::FigureData m_figure_data;
27 IOS::HLE::USB::SkylanderFigure* m_figure;
28 QDialogButtonBox* m_buttons;
29 };