summaryrefslogtreecommitdiff
path: root/src/user/settings/str_editor.h
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2021-03-11 22:00:22 -0500
committerBenji Dial <benji6283@gmail.com>2021-03-11 22:00:22 -0500
commit5fcf57739e68a8b5053e03778aaee0eed445babd (patch)
treee7a8bab18668d112e58b1b48190195035c71fa8a /src/user/settings/str_editor.h
parent0f2398d1f622cce37925f52d978d92e6cce1c7a9 (diff)
downloadportland-os-5fcf57739e68a8b5053e03778aaee0eed445babd.tar.gz
settings editor, and lots of changes in service of that
Diffstat (limited to 'src/user/settings/str_editor.h')
-rw-r--r--src/user/settings/str_editor.h19
1 files changed, 19 insertions, 0 deletions
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 <raleigh/w/entry.h>
+
+#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