diff -r 905ac52c910f -r 726b24766437 application/application.h --- a/application/application.h Mon Jan 29 12:09:24 2024 +0100 +++ b/application/application.h Mon Jan 29 18:50:04 2024 +0100 @@ -47,6 +47,28 @@ UiList *repos; } DavApp; +/* + * main window document object + */ +typedef struct DavBrowser { + UiContext *ctx; + DavSession *sn; + UiThreadpool *dav_queue; + + DavCfgRepository *repository; + + DavResource *current; + + /* + * path textfield value + */ + UiString *path; + + /* + * children of the current collection + */ + UiList *resources; +} DavBrowser; void application_init(void);