Rev 8839 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5598 | pavelyakov | 1 | #ifndef INCLUDE_PROCLIB_H |
2 | #define INCLUDE_PROCLIB_H |
||
3 | |||
4 | #ifndef INCLUDE_KOLIBRI_H |
||
5 | #include "../lib/kolibri.h" |
||
6 | #endif |
||
7 | |||
9699 | Coldy | 8 | #ifdef __COFF__ |
9 | extern dword OpenDialog_init; |
||
10 | extern dword OpenDialog_start; |
||
11 | #else |
||
5598 | pavelyakov | 12 | #ifndef INCLUDE_DLL_H |
13 | #include "../lib/dll.h" |
||
14 | #endif |
||
5526 | leency | 15 | dword Proc_lib = #aProc_lib; |
16 | char aProc_lib[] = "/sys/lib/proc_lib.obj"; |
||
17 | |||
18 | dword OpenDialog_init = #aOpenDialog_init; |
||
19 | dword OpenDialog_start = #aOpenDialog_start; |
||
20 | |||
21 | $DD 2 dup 0 |
||
22 | |||
23 | char aOpenDialog_init[] = "OpenDialog_init"; |
||
24 | char aOpenDialog_start[] = "OpenDialog_start"; |
||
9699 | Coldy | 25 | #endif |
5526 | leency | 26 | |
27 | struct opendialog |
||
28 | { |
||
7355 | leency | 29 | dword type; //0-file, 1-save, 2-select folder |
5526 | leency | 30 | dword procinfo; |
31 | dword com_area_name; |
||
32 | dword com_area; |
||
33 | dword opendir_path; |
||
34 | dword dir_default_path; |
||
35 | dword start_path; |
||
36 | dword draw_window; |
||
37 | dword status; |
||
7245 | leency | 38 | dword openfile_path; |
5526 | leency | 39 | dword filename_area; |
40 | dword filter_area; |
||
41 | |||
7245 | leency | 42 | word w; |
43 | word x; |
||
44 | word h; |
||
45 | word y; |
||
5526 | leency | 46 | }; |
47 | |||
7245 | leency | 48 | char communication_area_name[] = "FFFFFFFF_open_dialog"; |
8839 | leency | 49 | char open_dialog_path[] = "/sys/File managers/opendial"; |
7245 | leency | 50 | |
5598 | pavelyakov | 51 | #endif |