--- a/application/window.h Mon Jan 29 12:09:24 2024 +0100 +++ b/application/window.h Mon Jan 29 18:50:04 2024 +0100 @@ -31,6 +31,9 @@ #include <ui/ui.h> #include <libidav/webdav.h> +#include <libidav/config.h> + +#include "application.h" #ifdef __cplusplus extern "C" { @@ -40,12 +43,16 @@ * toplevel UiObject* window data */ typedef struct MainWindow { - DavSession *sn; - UiThreadpool *dav_queue; + UiInteger *progress; } MainWindow; +void window_init(void); + UiObject* window_create(void); +void* window_resource_table_getvalue(DavResource *res, int col); + +void window_progress(MainWindow *win, int on); #ifdef __cplusplus