split property & values into separate classes and files
Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
parent
f38ebeab14
commit
e377340781
28 changed files with 700 additions and 269 deletions
5
src/values/number_value.hpp
Normal file
5
src/values/number_value.hpp
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
struct IkarusNumberValue {
|
||||
long double value;
|
||||
};
|
||||
8
src/values/text_value.hpp
Normal file
8
src/values/text_value.hpp
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
/// \private
|
||||
struct IkarusTextValue {
|
||||
std::string value;
|
||||
};
|
||||
6
src/values/toggle_value.hpp
Normal file
6
src/values/toggle_value.hpp
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
/// \private
|
||||
struct IkarusToggleValue {
|
||||
bool value;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue