Skip to content

Commit

Permalink
removed unsused references
Browse files Browse the repository at this point in the history
  • Loading branch information
smasherprog committed Nov 12, 2024
1 parent 2ed50e0 commit 67a8ff8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 18 deletions.
9 changes: 3 additions & 6 deletions EQTool/Services/Handlers/SpawnTimerHandler.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using EQTool.Models;
using EQTool.ViewModels;
using System.Diagnostics;
using System.Security.Policy;
using static EQTool.ViewModels.SpawnTimerDialogViewModel;
using System.Windows;

namespace EQTool.Services.Handlers
{
Expand All @@ -17,14 +14,14 @@ public class SpawnTimerHandler : BaseHandler
{
// Model class to hold the results of the Spawn Timer Dialog
// make this static, so it only initializes once
static private readonly SpawnTimerDialogViewModel _model = new SpawnTimerDialogViewModel();
private static readonly SpawnTimerDialogViewModel _model = new SpawnTimerDialogViewModel();

//
// ctor
//
// register this service as a listener for the Events it cares about
//
public SpawnTimerHandler(LogEvents logEvents, ActivePlayer activePlayer, EQToolSettings eQToolSettings, ITextToSpeach textToSpeach)
public SpawnTimerHandler(LogEvents logEvents, ActivePlayer activePlayer, EQToolSettings eQToolSettings, ITextToSpeach textToSpeach)
: base(logEvents, activePlayer, eQToolSettings, textToSpeach)
{
this.logEvents.ExpGainedEvent += LogEvents_ExpGainedEvent;
Expand All @@ -33,7 +30,7 @@ public SpawnTimerHandler(LogEvents logEvents, ActivePlayer activePlayer, EQToolS
}

// getter for the spawn timer Model
public SpawnTimerDialogViewModel Model { get { return _model; } }
public SpawnTimerDialogViewModel Model => _model;

//
// function that gets called for a ExpGainedEvent
Expand Down
3 changes: 1 addition & 2 deletions EQTool/UI/SettingsComponents/SettingsPlayer.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using EQTool.ViewModels;
using EQTool.ViewModels.SettingsComponents;
using EQTool.ViewModels.SettingsComponents;
using System.Windows.Controls;

namespace EQTool.UI.SettingsComponents
Expand Down
3 changes: 1 addition & 2 deletions EQTool/UI/SettingsComponents/SettingsServer.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using EQTool.ViewModels;
using EQTool.ViewModels.SettingsComponents;
using EQTool.ViewModels.SettingsComponents;
using System.Windows.Controls;

namespace EQTool.UI.SettingsComponents
Expand Down
1 change: 0 additions & 1 deletion EQTool/UI/SpawnTimerDialog.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using EQTool.Services.Handlers;
using EQTool.ViewModels;
using EQTool.UI;
using System.Windows;

namespace EQTool.UI
Expand Down
7 changes: 0 additions & 7 deletions EQTool/ViewModels/SpawnTimerDialogViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
using EQTool.UI;
using EQTool.Models;
using EQTool.Services.Handlers;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Windows;
using System.Windows.Data;
using System.Windows.Input;
using System.Windows.Media;
using Xceed.Wpf.Toolkit;
using System;
using System.Globalization;

Expand Down

0 comments on commit 67a8ff8

Please sign in to comment.