diff -r 4ff7361dce95 -r 9f66c31a27ed ui/ui/window.h --- a/ui/ui/window.h Wed Jan 31 19:15:41 2024 +0100 +++ b/ui/ui/window.h Thu Feb 01 19:45:17 2024 +0100 @@ -39,11 +39,6 @@ #define UI_FILEDIALOG_SELECT_MULTI 1 #define UI_FILEDIALOG_SELECT_FOLDER 2 -typedef struct UiFileList { - char **files; - size_t nfiles; -} UiFileList; - UIEXPORT UiObject* ui_window(const char *title, void *window_data); UIEXPORT UiObject* ui_simplewindow(char *title, void *window_data); @@ -52,6 +47,8 @@ UIEXPORT void ui_openfiledialog(UiObject *obj, unsigned int mode, ui_callback file_selected_callback, void *cbdata); UIEXPORT void ui_savefiledialog(UiObject *obj, unsigned int mode, ui_callback file_selected_callback, void *cbdata); + + #ifdef __cplusplus } #endif