6bdd276d05
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
46 lines
915 B
C#
46 lines
915 B
C#
// ZipFileInfo.cs created with MonoDevelop
|
||
// User: alan at 12:14 13/10/2008
|
||
//
|
||
// To change standard headers go to Edit->Preferences->Coding->Standard Headers
|
||
//
|
||
|
||
using System;
|
||
using System.Runtime.InteropServices;
|
||
|
||
namespace zipsharp
|
||
{
|
||
[StructLayoutAttribute (LayoutKind.Sequential)]
|
||
struct ZipFileInfo32
|
||
{
|
||
ZipTime date;
|
||
uint dosDate;
|
||
uint internalFileAttributes;
|
||
uint externalFileAttributes;
|
||
|
||
public ZipFileInfo32 (DateTime fileTime)
|
||
{
|
||
date = new ZipTime (fileTime);
|
||
dosDate = 0;
|
||
internalFileAttributes = 0;
|
||
externalFileAttributes = 0;
|
||
}
|
||
}
|
||
|
||
[StructLayoutAttribute (LayoutKind.Sequential)]
|
||
struct ZipFileInfo64
|
||
{
|
||
ZipTime date;
|
||
ulong dosDate;
|
||
ulong internalFileAttributes;
|
||
ulong externalFileAttributes;
|
||
|
||
public ZipFileInfo64 (DateTime fileTime)
|
||
{
|
||
date = new ZipTime (fileTime);
|
||
dosDate = 0;
|
||
internalFileAttributes = 0;
|
||
externalFileAttributes = 0;
|
||
}
|
||
}
|
||
}
|