mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-01 05:00:06 +00:00
Return SettingsVariable objects instead of values
This commit is contained in:
parent
891b6c839f
commit
7522162095
10 changed files with 58 additions and 50 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <scwx/qt/settings/settings_category.hpp>
|
||||
#include <scwx/qt/settings/settings_variable.hpp>
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
|
@ -26,7 +27,7 @@ public:
|
|||
PaletteSettings(PaletteSettings&&) noexcept;
|
||||
PaletteSettings& operator=(PaletteSettings&&) noexcept;
|
||||
|
||||
std::string palette(const std::string& name) const;
|
||||
SettingsVariable<std::string>& palette(const std::string& name) const;
|
||||
|
||||
friend bool operator==(const PaletteSettings& lhs,
|
||||
const PaletteSettings& rhs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue