From 5fcf57739e68a8b5053e03778aaee0eed445babd Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Thu, 11 Mar 2021 22:00:22 -0500 Subject: settings editor, and lots of changes in service of that --- src/user/settings/str_editor.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/user/settings/str_editor.h (limited to 'src/user/settings/str_editor.h') diff --git a/src/user/settings/str_editor.h b/src/user/settings/str_editor.h new file mode 100644 index 0000000..02bd7d8 --- /dev/null +++ b/src/user/settings/str_editor.h @@ -0,0 +1,19 @@ +#ifndef STR_EDITOR_H +#define STR_EDITOR_H + +#include + +#include "editor.h" +#include "model.h" + +class str_editor : public editor { +public: + str_editor(struct setting *s, const char *sname); + void set_data() override; + +private: + entry e; + char **s; +}; + +#endif \ No newline at end of file -- cgit v1.2.3