application/window.h

changeset 8
726b24766437
parent 7
905ac52c910f
child 11
26acbfa75c1f
equal deleted inserted replaced
7:905ac52c910f 8:726b24766437
29 #ifndef IDAV_WINDOW_H 29 #ifndef IDAV_WINDOW_H
30 #define IDAV_WINDOW_H 30 #define IDAV_WINDOW_H
31 31
32 #include <ui/ui.h> 32 #include <ui/ui.h>
33 #include <libidav/webdav.h> 33 #include <libidav/webdav.h>
34 #include <libidav/config.h>
35
36 #include "application.h"
34 37
35 #ifdef __cplusplus 38 #ifdef __cplusplus
36 extern "C" { 39 extern "C" {
37 #endif 40 #endif
38 41
39 /* 42 /*
40 * toplevel UiObject* window data 43 * toplevel UiObject* window data
41 */ 44 */
42 typedef struct MainWindow { 45 typedef struct MainWindow {
43 DavSession *sn; 46 UiInteger *progress;
44 UiThreadpool *dav_queue;
45 } MainWindow; 47 } MainWindow;
48
49 void window_init(void);
46 50
47 UiObject* window_create(void); 51 UiObject* window_create(void);
48 52
53 void* window_resource_table_getvalue(DavResource *res, int col);
54
55 void window_progress(MainWindow *win, int on);
49 56
50 57
51 #ifdef __cplusplus 58 #ifdef __cplusplus
52 } 59 }
53 #endif 60 #endif

mercurial