diff options
| -rw-r--r-- | ShiftOS.Objects/Job.cs | 4 | ||||
| -rw-r--r-- | ShiftOS.WinForms/ShiftOS.WinForms.csproj | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ShiftOS.Objects/Job.cs b/ShiftOS.Objects/Job.cs index 25d58b5..00ac50d 100644 --- a/ShiftOS.Objects/Job.cs +++ b/ShiftOS.Objects/Job.cs @@ -15,12 +15,12 @@ namespace ShiftOS.Objects public string Author { get; set; } } - public class JobTask + public abstract class JobTask { public string Name { get; set; } public string Description { get; set; } public int Reward { get; set; } - public bool Completed { get; set; } + public abstract bool IsComplete { get; } } } diff --git a/ShiftOS.WinForms/ShiftOS.WinForms.csproj b/ShiftOS.WinForms/ShiftOS.WinForms.csproj index c58c7bf..739719b 100644 --- a/ShiftOS.WinForms/ShiftOS.WinForms.csproj +++ b/ShiftOS.WinForms/ShiftOS.WinForms.csproj @@ -191,6 +191,7 @@ <Compile Include="FakeSetupScreen.Designer.cs"> <DependentUpon>FakeSetupScreen.cs</DependentUpon> </Compile> + <Compile Include="JobTasks.cs" /> <Compile Include="Oobe.cs"> <SubType>Form</SubType> </Compile> |
