diff options
Diffstat (limited to 'src/config.h')
| -rw-r--r-- | src/config.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h new file mode 100644 index 0000000..8e610f5 --- /dev/null +++ b/src/config.h @@ -0,0 +1,17 @@ +#pragma once + +#define MAX_INPUT_LENGTH 4096 +#define MAX_ERROR_MESSAGE_LENGTH (MAX_INPUT_LENGTH) +#define FILE_RESERVE_COUNT 1000 +#define ERROR_RESERVE_COUNT 100 + +#include "../imgui/imgui.h" +#include "../utf8.h" + +extern utf8_int8_t path_buffer[MAX_INPUT_LENGTH]; +extern utf8_int8_t filter_buffer[MAX_INPUT_LENGTH]; +extern utf8_int8_t query_buffer[MAX_INPUT_LENGTH]; +extern int ts_thread_count; +extern int max_file_size; // in MBs + +void ts_load_config();
\ No newline at end of file |
