From 004d94f1f62f9a4ac4e8aa7999b71ea255d2de69 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Tue, 12 Mar 2024 19:10:11 +0100 Subject: show failed export popup --- src/export.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/export.h') diff --git a/src/export.h b/src/export.h index 1e7f824..ad83c77 100644 --- a/src/export.h +++ b/src/export.h @@ -3,4 +3,11 @@ #include "search.h" #include "platform.h" -bool ts_export_result(ts_search_result* result, const utf8_int8_t* path); \ No newline at end of file +typedef enum ts_export_result { + EXPORT_NONE, + EXPORT_NO_RESULT, + EXPORT_SEARCH_ACTIVE, + EXPORT_SAVE_PENDING, +} export_result; + +export_result ts_export_result(ts_search_result* result, const utf8_int8_t* path); \ No newline at end of file -- cgit v1.2.3-70-g09d2