home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / psion / opp16f_zip / INCLUDE / SDK / FILELIST.OPH < prev    next >
Encoding:
Text File  |  1995-12-21  |  1.8 KB  |  105 lines

  1. #define FILELIST_OPH
  2.  
  3. #ifndef FACTIVE_OPH
  4. #include <sdk\factive>
  5. #endif
  6.  
  7. #ifndef H_FILE_OPH
  8. #include <sdk\h_file>
  9. #endif
  10.  
  11. #ifndef LISTBOX_OPH
  12. #include <sdk\listbox>
  13. #endif
  14.  
  15. #ifndef TIME_OPH
  16. #include <sdk\time>
  17. #endif
  18.  
  19. /* Property of nonode */
  20.  
  21. STRUCT PR_NONODE
  22.     root#(SIZEOF(PRS_ROOT))
  23.     active#(SIZEOF(PRS_ACTIVE))
  24.     factive#(SIZEOF(PRS_FACTIVE))
  25.     fnode#(SIZEOF(PRS_FNODE))
  26. ENDS
  27.  
  28. /* Property of hpsel */
  29.  
  30. STRUCT PRS_HPSEL
  31.     owner%
  32. ENDS
  33.  
  34. STRUCT PR_HPSEL
  35.     root#(SIZEOF(PRS_ROOT))
  36.     active#(SIZEOF(PRS_ACTIVE))
  37.     factive#(SIZEOF(PRS_FACTIVE))
  38.     fscan#(SIZEOF(PRS_FSCAN))
  39.     psel#(SIZEOF(PRS_PSEL))
  40.     hpsel#(SIZEOF(PRS_HPSEL))
  41. ENDS
  42.  
  43. /* Constants for filelist */
  44.  
  45. #define PR_FILELIST_ISFILE 0x100
  46. #define PR_FILELIST_TAGS_CHANGED 0x0200
  47. #define PR_FILELIST_NOSCAN 0x0400
  48. #define PR_FILELIST_SCANNING 0x0800
  49. #define PR_FILELIST_LOCAL 0x1000
  50. #define PR_FILELIST_WILDCARDED 0x2000
  51. #define PR_FILELIST_SET_UNMARKED 0x4000
  52. #define IN_FILELIST_ALLOW_DIRS H_FILE_ALLOW_DIRS
  53. #define IN_FILELIST_JUST_DIRS H_FILE_JUST_DIRS
  54. #define IN_FILELIST_CAN_TAG H_FILE_CAN_TAG
  55. #define IN_FILELIST_CAN_WILDCARD H_FILE_CAN_WILDCARD
  56. #define IN_FILELIST_NO_FORCE_WILD 0x8000
  57. #define FILENAME_WIDTH 12
  58. #define FILESIZE_WIDTH 7
  59. #define FILETIME_WIDTH 7
  60. #define FILEDATE_WIDTH 9
  61.  
  62. /* Types for filelist */
  63.  
  64. STRUCT PR_FILELIST_X
  65.     dtype%
  66.     vadev%
  67.     ascoff%
  68.     tagoff%
  69.     sizeoff%
  70.     timeoff%
  71.     dateoff%
  72.     dateendoff%
  73.     asc#(P_FNAMESIZE)
  74. ENDS
  75.  
  76. /* Property of filelist */
  77.  
  78. STRUCT PRS_FILELIST
  79.     hpsel%
  80.     contexts%
  81.     date%
  82.     tags%
  83.     ptags%
  84.     next%
  85.     locmask%
  86.     flags%
  87.     parent%
  88.     thisdir%
  89.     crk#(SIZEOF(P_FPARSE))
  90.     derr%
  91.     x%
  92.     dfree&
  93.     wild#(P_FNAMESIZE)
  94.     subd#(P_FNAMESIZE)
  95.     scr#(P_FNAMESIZE)
  96.     targ#(P_FNAMESIZE)
  97. ENDS
  98.  
  99. STRUCT PR_FILELIST
  100.     root#(SIZEOF(PRS_ROOT))
  101.     win#(SIZEOF(PRS_WIN))
  102.     listbox#(SIZEOF(PRS_LISTBOX))
  103.     filelist#(SIZEOF(PRS_FILELIST))
  104. ENDS
  105.