Subversion Repositories Kolibri OS

Rev

Rev 8839 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #ifndef INCLUDE_PROCLIB_H
  2. #define INCLUDE_PROCLIB_H
  3.  
  4. #ifndef INCLUDE_KOLIBRI_H
  5. #include "../lib/kolibri.h"
  6. #endif
  7.  
  8. #ifdef __COFF__
  9. extern dword OpenDialog_init;
  10. extern dword OpenDialog_start;
  11. #else
  12. #ifndef INCLUDE_DLL_H
  13. #include "../lib/dll.h"
  14. #endif
  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";
  25. #endif
  26.  
  27. struct opendialog
  28. {
  29.   dword type; //0-file, 1-save, 2-select folder
  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;
  38.   dword openfile_path;
  39.   dword filename_area;
  40.   dword filter_area;
  41.  
  42.   word w;
  43.   word x;
  44.   word h;
  45.   word y;
  46. };
  47.  
  48. char communication_area_name[] = "FFFFFFFF_open_dialog";
  49. char open_dialog_path[] = "/sys/File managers/opendial";
  50.  
  51. #endif