diff -r 98e041f2f9a2 -r 834d9c15a69f application/application.h --- a/application/application.h Sun Jun 09 16:43:40 2024 +0200 +++ b/application/application.h Sun Jun 09 17:00:22 2024 +0200 @@ -27,7 +27,7 @@ */ #ifndef IDAV_APPLICATION_H -#define IDAV_APPLICATION_H +#define IDAV_APPLICATION_H #include @@ -40,46 +40,46 @@ #include -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif typedef struct DavApp { - DavConfig *dav_config; - UiList *repos; + DavConfig *dav_config; + UiList *repos; } DavApp; /* * main window document object */ typedef struct DavBrowser { - UiContext *ctx; - DavSession *sn; - UiThreadpool *dav_queue; + UiContext *ctx; + DavSession *sn; + UiThreadpool *dav_queue; - char *repo_base; + char *repo_base; - DavResource *current; + DavResource *current; - /* - * incremented every time current is updated - */ - uint64_t res_counter; + /* + * incremented every time current is updated + */ + uint64_t res_counter; - CxList *navigation_stack; - bool navstack_enabled; - int navstack_pos; + CxList *navigation_stack; + bool navstack_enabled; + int navstack_pos; - /* - * path textfield value - */ - UiString *path; + /* + * path textfield value + */ + UiString *path; - /* - * children of the current collection - */ - UiList *resources; + /* + * children of the current collection + */ + UiList *resources; } DavBrowser; void application_init(void); @@ -117,7 +117,7 @@ void action_mkcol(UiEvent *event, void *data); -#ifdef __cplusplus +#ifdef __cplusplus } #endif