input.add_callback

This commit is contained in:
MihailRis
2024-05-05 06:49:17 +03:00
parent 92f6fd2226
commit ba885e4e08
7 changed files with 66 additions and 6 deletions
-2
View File
@@ -31,8 +31,6 @@ public:
virtual std::string toString() const = 0;
};
using observer_handler = std::shared_ptr<int>;
template<class T>
class ObservableSetting : public Setting {
int nextid = 1;