suyu/src/yuzu/configuration/configuration_shared.h
2023-07-21 10:56:07 -04:00

30 lines
613 B
C++

// SPDX-FileCopyrightText: 2016 Citra Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <forward_list>
#include <memory>
#include <QString>
#include <QWidget>
#include <qobjectdefs.h>
class QObject;
namespace ConfigurationShared {
class Tab : public QWidget {
Q_OBJECT
public:
explicit Tab(std::shared_ptr<std::forward_list<Tab*>> group_, QWidget* parent = nullptr);
~Tab();
virtual void ApplyConfiguration() = 0;
virtual void SetConfiguration() = 0;
private:
std::shared_ptr<std::forward_list<Tab*>> group;
};
} // namespace ConfigurationShared