summaryrefslogtreecommitdiffstats
path: root/src/detection/editor/editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/detection/editor/editor.h')
-rw-r--r--src/detection/editor/editor.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/detection/editor/editor.h b/src/detection/editor/editor.h
new file mode 100644
index 0000000..ae315c0
--- /dev/null
+++ b/src/detection/editor/editor.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "fastfetch.h"
+#include "modules/editor/option.h"
+
+typedef struct FFEditorResult {
+ const char* type;
+ FFstrbuf name;
+ FFstrbuf exe;
+ FFstrbuf path;
+ FFstrbuf version;
+} FFEditorResult;
+
+const char* ffDetectEditor(FFEditorResult* result);