[RTL]
[reactos.git] / reactos / tools / sysgen / SysGen.BuildEngine / Tasks / RBuild / Base / FileBaseTask.cs
1 using System;
2 using System.IO;
3
4 using SysGen.BuildEngine.Attributes;
5 using SysGen.RBuild.Framework;
6
7 namespace SysGen.BuildEngine.Tasks
8 {
9 public abstract class FileBaseTask : FileSystemInfoBaseTask
10 {
11 public FileBaseTask()
12 {
13 }
14
15 /// <summary>
16 /// The define value.
17 /// </summary>
18 [TaskValue]
19 public virtual string FileName { get { return m_FileSystemInfo.Name; } set { m_FileSystemInfo.Name = value; } }
20
21 ///// <summary>
22 ///// Get the underlying <see cref="RBuildFile"/>.
23 ///// </summary>
24 //public RBuildPlatformFile PlatformFile
25 //{
26 // get { return m_FileSystemInfo as RBuildPlatformFile; }
27 //}
28
29 //public override string BasePath
30 //{
31 // get
32 // {
33 // IElement task = this;
34 // while (task != SysGen.ProjectTask)
35 // {
36 // if (task is IDirectory)
37 // return ((IDirectory)task).BasePath;
38
39 // task = task.Parent;
40 // }
41
42 // //Is in the root
43 // return string.Empty;
44 // }
45 //}
46 }
47 }