home *** CD-ROM | disk | FTP | other *** search
/ Software Recommendations - 1998 Season 1 / DNBCD4.iso / develop / lib / addzip / ADDZIP.ZIP / DELPHI / ADDZIPC.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1997-06-03  |  2.9 KB  |  109 lines

  1. unit ADDZIPC;
  2.  
  3. interface
  4.  
  5. {
  6. addzipu.pas - addZip utility functions
  7.  
  8. Borland Delphi interface unit for addZIP compression libraries
  9. Copyright ⌐ 1995,1997 Stephen Darlington. All rights reserved.
  10.  
  11. Borland Delphi interface unit created by Brad Clarke.
  12. }
  13.  
  14. { constants for addZIP_SetCompressionLevel(...) }
  15. Const azCOMPRESSION_NONE = $00;
  16. Const azCOMPRESSION_MINIMUM = $01;
  17. Const azCOMPRESSION_NORMAL = $02;
  18. Const azCOMPRESSION_MAXIMUM = $03;
  19.  
  20. { constants for addZIP_SaveStructure(...) }
  21. Const azSTRUCTURE_NONE = $00;
  22. Const azSTRUCTURE_RELATIVE = $01;
  23. Const azSTRUCTURE_ABSOLUTE = $02;
  24.  
  25. { constants for addZIP_Overwrite(...) }
  26. Const azOVERWRITE_QUERY = $0a;
  27. Const azOVERWRITE_ALL = $0b;
  28. Const azOVERWRITE_NONE = $0c;
  29.  
  30. { constants for addZIP_SetArchiveDate(); }
  31. Const DATE_ORIGINAL = $00;
  32. Const DATE_TODAY = $01;
  33. Const DATE_OLDEST = $02;
  34. Const DATE_NEWEST = $03;
  35.  
  36. { constants for addZIP_IncludeXXX attribute functions }
  37. Const azNEVER = $00; { files must never have this attribute set}
  38. Const azYES = $01; { files may or may not have this attribute set}
  39. Const azALWAYS = $ff; { files must always have this attribute set}
  40.  
  41. { constants for addZIP_ClearAttributes(...) }
  42. { constants for addUNZIP_RestoreAttributes(...) }
  43. Const azATTR_NONE = 0;
  44. Const azATTR_READONLY = 1;
  45. Const azATTR_HIDDEN = 2;
  46. Const azATTR_SYSTEM = 4;
  47. Const azATTR_ARCHIVE = 32;
  48. Const azATTR_ALL = 39;
  49.  
  50. { constants used in messages to identify library }
  51. Const azLIBRARY_ADDZIP = 0;
  52. Const azLIBRARY_ADDUNZIP = 1;
  53.  
  54. { addZIP & addUNZIP messages }
  55. Const AM_SEARCHING = $0a;
  56. Const AM_ZIPCOMMENT = $0b;
  57. Const AM_ZIPPING = $0c;
  58. Const AM_ZIPPED = $0d;
  59. Const AM_UNZIPPING = $0e;
  60. Const AM_UNZIPPED = $0;
  61. Const AM_TESTING = $10;
  62. Const AM_TESTED = $11;
  63. Const AM_DELETING = $12;
  64. Const AM_DELETED = $13;
  65. Const AM_DISKCHANGE = $14;
  66. Const AM_VIEW = $15;
  67. Const AM_ERROR = $16;
  68. Const AM_WARNING = $17;
  69. Const AM_QUERYOVERWRITE = $18;
  70. Const AM_COPYING = $19;
  71. Const AM_COPIED = $1a;
  72. Const AM_REPAIRING = $1b;
  73. Const AM_FILECOMMENT = $1c;
  74. Const AM_PASSWORD = $1d;
  75. Const AM_ABORT = $ff;
  76.  
  77. { Constants for compression method in AM_VIEW }
  78. Const azCM_NONE = $00;
  79. Const azCM_SHRUNK = $0a;
  80. Const azCM_REDUCED_1 = $14;
  81. Const azCM_REDUCED_2 = $1e;
  82. Const azCM_REDUCED_3 = $28;
  83. Const azCM_REDUCED_4 = $32;
  84. Const azCM_IMPLODED = $3c;
  85. Const azCM_TOKENISED = $46;
  86. Const azCM_DEFLATED_NORMAL = $50;
  87. Const azCM_DEFLATED_MAXIMUM = $51;
  88. Const azCM_DEFLATED_FAST = $52;
  89. Const azCM_DEFLATED_SUPERFAST = $53;
  90. Const azCM_UNKNOWN = $ff;
  91.  
  92. {Constants for whether file is encrypted or not in AM_VIEW }
  93. Const azFT_NOT_ENCRYPTED = $00;
  94. Const azFT_ENCRYPTED = $01;
  95.  
  96. {Constants for whether file is text or binary in AM_VIEW }
  97. Const azFT_TEXT = $00;
  98. Const azFT_BINARY = $01;
  99.  
  100. { Constants used in returning from a AM_QUERYOVERWRITE message }
  101. Const azOW_YES = $00;
  102. Const azOW_YES_TO_ALL = $01;
  103. Const azOW_NO = $02;
  104. Const azOW_NO_TO_ALL = $03;
  105.  
  106. implementation
  107.  
  108. end.
  109.