application/application.h

changeset 8
726b24766437
parent 7
905ac52c910f
child 10
f8dfc5705516
--- 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);
 

mercurial