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
|
|
|
|
2023-05-05 23:30:59 -04:00
|
|
|
#include <memory>
|
2023-05-18 23:05:21 -04:00
|
|
|
#include <type_traits>
|
2020-07-09 22:42:09 -04:00
|
|
|
#include "yuzu/configuration/configuration_shared.h"
|
|
|
|
|
|
2023-05-05 19:49:51 -04:00
|
|
|
namespace ConfigurationShared {
|
2023-05-08 14:11:45 -04:00
|
|
|
|
2023-05-05 23:30:59 -04:00
|
|
|
Tab::Tab(std::shared_ptr<std::forward_list<Tab*>> group_, QWidget* parent)
|
|
|
|
|
: QWidget(parent), group{group_} {
|
|
|
|
|
if (group != nullptr) {
|
|
|
|
|
group->push_front(this);
|
|
|
|
|
}
|
|
|
|
|
}
|
2023-05-05 19:49:51 -04:00
|
|
|
|
2023-05-05 23:30:59 -04:00
|
|
|
Tab::~Tab() = default;
|
2023-05-05 19:49:51 -04:00
|
|
|
|
|
|
|
|
} // namespace ConfigurationShared
|