aboutsummaryrefslogtreecommitdiffstats
path: root/fm.h
diff options
context:
space:
mode:
Diffstat (limited to 'fm.h')
-rw-r--r--fm.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/fm.h b/fm.h
new file mode 100644
index 0000000..fd26d4b
--- /dev/null
+++ b/fm.h
@@ -0,0 +1,19 @@
+#ifndef SF_FM_H
+#define SF_FM_H
+
+#include <ncurses.h>
+
+#include "wm.h"
+
+typedef struct {
+ window *fm_l, *fm_r;
+ char** cur_contents;
+ char** next_dir_contents;
+ int content_idx;
+} fm_info;
+
+static fm_info* fm_w_init(terminal* t);
+void fm_getdir(fm_info* f);
+fm_info* fm_init(terminal* t);
+
+#endif /* SF_FM_H */