--- a/application/davcontroller.h Wed Nov 27 18:53:11 2024 +0100 +++ b/application/davcontroller.h Thu Nov 28 18:03:12 2024 +0100 @@ -91,7 +91,7 @@ void davbrowser_rename(UiObject *ui, DavBrowser *browser, UiListSelection selection); -DavResourceViewer* dav_resourceviewer_create(DavSession *sn, const char *path, DavResourceViewType type); +DavResourceViewer* dav_resourceviewer_create(UiObject *toplevel, DavSession *sn, const char *path, DavResourceViewType type); void dav_resourceviewer_load(UiObject *ui, DavResourceViewer *res); @@ -99,6 +99,13 @@ void dav_resourceviewer_destroy(DavResourceViewer *res); +void dav_resourceviewer_property_remove(DavResourceViewer *res, DavPropertyList *prop); +void dav_resourceviewer_property_update_text(DavResourceViewer *res, DavPropertyList *prop, const char *text); +void dav_resourceviewer_property_update_xml(DavResourceViewer *res, DavPropertyList *prop, DavXmlNode *xml); +void dav_resourceviewer_property_add_text(DavResourceViewer *res, const char *ns, const char *name, const char *text); +void dav_resourceviewer_property_add_xml(DavResourceViewer *res, const char *ns, const char *name, const char *nsdef, DavXmlNode *xml); + + uint64_t dav_transfer_speed(TransferProgress *progress, time_t current); #ifdef __cplusplus