[RTL]
[reactos.git] / reactos / tools / sysgen / RosFramework / RBuildSetupFile.cs
1 using System;
2 using System.IO;
3 using System.Collections.Generic;
4 using System.Text;
5
6 namespace SysGen.RBuild.Framework
7 {
8 public enum SetupType
9 {
10 Device,
11 Component
12 }
13
14 public class RBuildSetupFile : RBuildPlatformFile
15 {
16 private SetupType m_SetupType = SetupType.Component;
17 private bool m_InstallAlways = true;
18 private string m_InstallSection = "DefaultInstall";
19
20 public SetupType SetupType
21 {
22 get { return m_SetupType; }
23 set { m_SetupType = value; }
24 }
25
26 public string InstallSection
27 {
28 get { return m_InstallSection; }
29 set { m_InstallSection = value; }
30 }
31
32 public string DefaultInstallSection
33 {
34 get
35 {
36 switch (SetupType)
37 {
38 case SetupType.Device:
39 return "DefaultInstall";
40 default:
41 return "DefaultInstall";
42 }
43 }
44 }
45
46 public bool InstallAlways
47 {
48 get { return m_InstallAlways; }
49 set { m_InstallAlways = value; }
50 }
51 }
52 }