Added file attributes enumeration
This commit is contained in:
parent
dc544603e5
commit
7554fa5714
@ -77,6 +77,9 @@ namespace UniversalEditor.ObjectModels.FileSystem
|
||||
|
||||
public event DataRequestEventHandler DataRequest;
|
||||
|
||||
private FileAttributes mvarAttributes = FileAttributes.None;
|
||||
public FileAttributes Attributes { get { return mvarAttributes; } set { mvarAttributes = value; } }
|
||||
|
||||
private string mvarName = String.Empty;
|
||||
/// <summary>
|
||||
/// The name of this file.
|
||||
|
||||
@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace UniversalEditor.ObjectModels.FileSystem
|
||||
{
|
||||
[Flags()]
|
||||
public enum FileAttributes
|
||||
{
|
||||
None = 0,
|
||||
ReadOnly = 1,
|
||||
Hidden = 2,
|
||||
System = 4,
|
||||
Archive = 8,
|
||||
Compressed = 16,
|
||||
Encrypted = 32,
|
||||
Deleted = 64,
|
||||
Indexed = 128
|
||||
}
|
||||
}
|
||||
@ -92,6 +92,7 @@
|
||||
<Compile Include="ObjectModels\FileSystem\CompressedFile.cs" />
|
||||
<Compile Include="ObjectModels\FileSystem\DataRequestEvent.cs" />
|
||||
<Compile Include="ObjectModels\FileSystem\File.cs" />
|
||||
<Compile Include="ObjectModels\FileSystem\FileAttributes.cs" />
|
||||
<Compile Include="ObjectModels\FileSystem\FileSystemObjectModel.cs" />
|
||||
<Compile Include="ObjectModels\FileSystem\Folder.cs" />
|
||||
<Compile Include="ObjectModels\FileSystem\IFileSystemContainer.cs" />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user