Rev 5493 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5493 | Rev 5499 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #define MEMSIZE 0x100000 |
1 | #define MEMSIZE 0x100000 |
2 | //libraries |
2 | //libraries |
3 | #include "..\lib\kolibri.h" |
3 | #include "..\lib\kolibri.h" |
4 | #include "..\lib\strings.h" |
4 | #include "..\lib\strings.h" |
5 | #include "..\lib\figures.h" |
5 | #include "..\lib\gui.h" |
6 | #include "..\lib\encoding.h" |
6 | #include "..\lib\encoding.h" |
7 | #include "..\lib\draw_buf.h" |
7 | #include "..\lib\draw_buf.h" |
8 | #include "..\lib\file_system.h" |
8 | #include "..\lib\file_system.h" |
9 | #include "..\lib\mem.h" |
9 | #include "..\lib\mem.h" |
10 | #include "..\lib\dll.h" |
10 | #include "..\lib\dll.h" |
11 | #include "..\lib\list_box.h" |
11 | #include "..\lib\list_box.h" |
12 | //*.obj libraries |
12 | //*.obj libraries |
13 | #include "..\lib\lib.obj\box_lib.h" |
13 | #include "..\lib\obj\box_lib.h" |
14 | #include "..\lib\lib.obj\libio_lib.h" |
14 | #include "..\lib\obj\libio_lib.h" |
15 | #include "..\lib\lib.obj\http.h" |
15 | #include "..\lib\obj\http.h" |
Line 16... | Line 16... | ||
16 | 16 | ||
Line 17... | Line 17... | ||
17 | char header[]="New Downloader v0.6"; |
17 | char header[]="New Downloader v0.6"; |
18 | 18 | ||
Line 47... | Line 47... | ||
47 | mouse m; |
47 | mouse m; |
48 | char filepath[4096]; |
48 | char filepath[4096]; |
49 | char notify_message[4296]; |
49 | char notify_message[4296]; |
Line 50... | Line 50... | ||
50 | 50 | ||
51 | mem_Init(); |
51 | mem_Init(); |
52 | if (load_dll2(boxlib, #box_lib_init,0)!=0) {notify("System Error: library doesn't exists /rd/1/lib/box_lib.obj"); ExitProcess();} |
52 | if (load_dll2(boxlib, #box_lib_init,0)!=0) {notify("System Error: library doesn't exists /rd/1/lib/box_obj"); ExitProcess();} |
53 | if (load_dll2(libio, #libio_init,1)!=0) notify("Error: library doesn't exists - libio"); |
53 | if (load_dll2(libio, #libio_init,1)!=0) notify("Error: library doesn't exists - libio"); |
54 | if (load_dll2(libHTTP, #http_lib_init,1)!=0) notify("Error: library doesn't exists - http"); |
54 | if (load_dll2(libHTTP, #http_lib_init,1)!=0) notify("Error: library doesn't exists - http"); |
55 | if (!URL) strcpy(#URL, "http://builds.kolibrios.org/eng/latest-iso.7z"); |
55 | if (!URL) strcpy(#URL, "http://builds.kolibrios.org/eng/latest-iso.7z"); |