mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-21 22:48:23 +00:00
configuration: Clean up includes a bit
This commit is contained in:
parent
6034e7508e
commit
4119adeb56
14 changed files with 26 additions and 51 deletions
|
@ -4,14 +4,12 @@
|
|||
#pragma once
|
||||
|
||||
#include <forward_list>
|
||||
#include <iterator>
|
||||
#include <memory>
|
||||
#include <QCheckBox>
|
||||
#include <QComboBox>
|
||||
#include <QString>
|
||||
#include <QWidget>
|
||||
#include <qobjectdefs.h>
|
||||
#include "common/settings.h"
|
||||
#include "yuzu/configuration/shared_translation.h"
|
||||
|
||||
class QObject;
|
||||
|
||||
namespace ConfigurationShared {
|
||||
|
||||
|
@ -29,16 +27,4 @@ private:
|
|||
std::shared_ptr<std::forward_list<Tab*>> group;
|
||||
};
|
||||
|
||||
constexpr int USE_GLOBAL_INDEX = 0;
|
||||
constexpr int USE_GLOBAL_SEPARATOR_INDEX = 1;
|
||||
constexpr int USE_GLOBAL_OFFSET = 2;
|
||||
|
||||
// CheckBoxes require a tracker for their state since we emulate a tristate CheckBox
|
||||
enum class CheckState {
|
||||
Off, // Checkbox overrides to off/false
|
||||
On, // Checkbox overrides to on/true
|
||||
Global, // Checkbox defers to the global state
|
||||
Count, // Simply the number of states, not a valid checkbox state
|
||||
};
|
||||
|
||||
} // namespace ConfigurationShared
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue