mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 22:20:04 +00:00
Implement discard functionality for line settings
This commit is contained in:
parent
6063de2095
commit
76809de2df
7 changed files with 89 additions and 7 deletions
|
|
@ -29,7 +29,7 @@ public:
|
|||
typedef std::function<void(const T& value)> ValueCallbackFunction;
|
||||
|
||||
explicit SettingsVariable(const std::string& name);
|
||||
~SettingsVariable();
|
||||
virtual ~SettingsVariable();
|
||||
|
||||
SettingsVariable(const SettingsVariable&) = delete;
|
||||
SettingsVariable& operator=(const SettingsVariable&) = delete;
|
||||
|
|
@ -96,7 +96,7 @@ public:
|
|||
/**
|
||||
* Clears the staged value of the settings variable.
|
||||
*/
|
||||
void Reset();
|
||||
void Reset() override;
|
||||
|
||||
/**
|
||||
* Gets the staged value of the settings variable, if defined.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue