Skip to content

Commit

Permalink
fixed win7zip wrapper documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud Bouchez committed Nov 20, 2023
1 parent 5b55a28 commit 0c8eeb5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions src/lib/mormot.lib.win7zip.pas
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ E7Zip = class(ESynException)
T7zProgressCallback = function(const sender: I7zArchive;
current, total: Int64): HRESULT of object;

/// the parent interface of both I7zRead and I7zWriter
/// the parent interface of both I7zReader and I7zWriter
I7zArchive = interface
['{9C0C0C8C-883A-49ED-B608-A6D66D36D530}']
// -- some internal methods used as property getters
Expand Down Expand Up @@ -585,11 +585,12 @@ E7Zip = class(ESynException)
/// supply a password
procedure SetPassword(const password: RawUtf8);
/// the number of files in this archive
// - used as index in Item*[0..Count-1] properties and
// I7zReader.Extract or I7zWriter.SaveToFile methods
// - can be used as 0..Count-1 index in
// ZipName/FullName/Size/PackSize/IsFolder/Method/Comment/ModDate[ndx]
// properties and I7zReader.Extract or I7zWriter.SaveToFile methods
function Count: integer;
/// search for a given file name in this archive
// - case-insensitive search within ItemZipName[] items
// - case-insensitive search within ZipName[] items
// - returns -1 if not found, or the index in Item*[] properties
function NameToIndex(const zipname: RawUtf8): integer;
/// the kpidPath property value of an archived file
Expand Down Expand Up @@ -633,6 +634,7 @@ E7Zip = class(ESynException)
end;

/// reading acccess to an archive content using the 7z.dll
// - use inherited I7zArchive methods to access the archive information
I7zReader = interface(I7zArchive)
['{9C0C0C8C-883A-49ED-B608-A6D66D36D53A}']
// -- main high-level methods
Expand Down
2 changes: 1 addition & 1 deletion src/mormot.commit.inc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
'2.1.6281'
'2.1.6282'

0 comments on commit 0c8eeb5

Please sign in to comment.