summaryrefslogtreecommitdiff
path: root/src/user/settings/str_editor.h
diff options
context:
space:
mode:
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