45 typedef struct DavApp { |
45 typedef struct DavApp { |
46 DavConfig *dav_config; |
46 DavConfig *dav_config; |
47 UiList *repos; |
47 UiList *repos; |
48 } DavApp; |
48 } DavApp; |
49 |
49 |
|
50 /* |
|
51 * main window document object |
|
52 */ |
|
53 typedef struct DavBrowser { |
|
54 UiContext *ctx; |
|
55 DavSession *sn; |
|
56 UiThreadpool *dav_queue; |
|
57 |
|
58 DavCfgRepository *repository; |
|
59 |
|
60 DavResource *current; |
|
61 |
|
62 /* |
|
63 * path textfield value |
|
64 */ |
|
65 UiString *path; |
|
66 |
|
67 /* |
|
68 * children of the current collection |
|
69 */ |
|
70 UiList *resources; |
|
71 } DavBrowser; |
50 |
72 |
51 void application_init(void); |
73 void application_init(void); |
52 |
74 |
53 /* |
75 /* |
54 * startup callback for the ui framework |
76 * startup callback for the ui framework |