[RTL]
[reactos.git] / reactos / tools / sysgen / SysGen.BuildEngine / Tasks / RBuild / WallPaperTask.cs
1 using System;
2
3 using SysGen.BuildEngine.Attributes;
4 using SysGen.RBuild.Framework;
5
6 namespace SysGen.BuildEngine.Tasks
7 {
8 [TaskName("wallpaper")]
9 public class WallPaperTask : PlatformFileBaseTask
10 {
11 protected override void CreateFileSystemObject()
12 {
13 m_FileSystemInfo = new RBuildWallpaperFile();
14 }
15
16 protected override void ExecuteTask()
17 {
18 if (Module != null)
19 {
20 base.ExecuteTask();
21 }
22 else
23 throw new BuildException("<wallpaper> is only applicable for modules", Location);
24 }
25 }
26 }