2022-05-15 02:06:02 +02:00
|
|
|
// SPDX-FileCopyrightText: 2016 Citra Emulator Project
|
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2020-07-09 22:42:09 -04:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2023-05-05 23:30:59 -04:00
|
|
|
#include <memory>
|
2023-07-21 23:09:09 -04:00
|
|
|
#include <vector>
|
2023-05-18 23:05:21 -04:00
|
|
|
#include <QString>
|
2023-05-05 19:49:51 -04:00
|
|
|
#include <QWidget>
|
|
|
|
|
#include <qobjectdefs.h>
|
2023-05-18 23:05:21 -04:00
|
|
|
|
|
|
|
|
class QObject;
|
2020-07-09 22:42:09 -04:00
|
|
|
|
|
|
|
|
namespace ConfigurationShared {
|
|
|
|
|
|
2023-05-05 19:49:51 -04:00
|
|
|
class Tab : public QWidget {
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
2023-07-21 23:09:09 -04:00
|
|
|
explicit Tab(std::shared_ptr<std::vector<Tab*>> group, QWidget* parent = nullptr);
|
2023-05-05 19:49:51 -04:00
|
|
|
~Tab();
|
|
|
|
|
|
|
|
|
|
virtual void ApplyConfiguration() = 0;
|
|
|
|
|
virtual void SetConfiguration() = 0;
|
|
|
|
|
};
|
|
|
|
|
|
2020-07-09 22:42:09 -04:00
|
|
|
} // namespace ConfigurationShared
|