summaryrefslogtreecommitdiff
path: root/src/platform.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-03-05 19:16:25 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-03-05 19:16:25 +0100
commitf3401ce1532938fec63d22095ca8b14affcfdce3 (patch)
tree5c9416ce12d12b90ed5a7d467b84ee279c04d791 /src/platform.h
parent6b492daddd682de986e3f983ecfc1d29ed70b0a0 (diff)
exit button working
Diffstat (limited to 'src/platform.h')
-rw-r--r--src/platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/platform.h b/src/platform.h
index 1fb032d..e9d7ba5 100644
--- a/src/platform.h
+++ b/src/platform.h
@@ -29,6 +29,8 @@ typedef enum t_ts_file_open_error
FILE_ERROR_TOO_BIG = 11,
} ts_file_open_error;
+extern bool program_running;
+
ts_file_content ts_platform_read_file(char *path, const char *mode);
void ts_platform_list_files_block(ts_search_result* result, wchar_t* start_dir = nullptr);
void ts_platform_list_files(ts_search_result* result);