1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-01-23 18:46:02 +01:00

Move updater event args to a separate namespace

This commit is contained in:
chylex 2017-01-26 04:09:04 +01:00
parent a7ab67925c
commit cf7d903932
6 changed files with 8 additions and 5 deletions

View File

@ -17,6 +17,7 @@
using TweetDck.Core.Bridge;
using TweetDck.Core.Notification;
using TweetDck.Core.Notification.Screenshot;
using TweetDck.Updates.Events;
namespace TweetDck.Core{
sealed partial class FormBrowser : Form{

View File

@ -1,6 +1,7 @@
using System;
using System.Windows.Forms;
using TweetDck.Updates;
using TweetDck.Updates.Events;
namespace TweetDck.Core.Other.Settings{
partial class TabSettingsUpdates : BaseTabSettings{

View File

@ -238,8 +238,8 @@
<Compile Include="Core\Utils\BrowserUtils.cs" />
<Compile Include="Core\Utils\HardwareAcceleration.cs" />
<Compile Include="Core\Utils\NativeMethods.cs" />
<Compile Include="Updates\UpdateAcceptedEventArgs.cs" />
<Compile Include="Updates\UpdateCheckEventArgs.cs" />
<Compile Include="Updates\Events\UpdateAcceptedEventArgs.cs" />
<Compile Include="Updates\Events\UpdateCheckEventArgs.cs" />
<Compile Include="Updates\UpdateHandler.cs" />
<Compile Include="Updates\UpdateInfo.cs" />
<Compile Include="Program.cs" />

View File

@ -1,6 +1,6 @@
using System;
namespace TweetDck.Updates{
namespace TweetDck.Updates.Events{
class UpdateAcceptedEventArgs : EventArgs{
public readonly UpdateInfo UpdateInfo;

View File

@ -1,6 +1,6 @@
using System;
namespace TweetDck.Updates{
namespace TweetDck.Updates.Events{
class UpdateCheckEventArgs : EventArgs{
public int EventId { get; private set; }
public bool UpdateAvailable { get; private set; }
@ -12,4 +12,4 @@ public UpdateCheckEventArgs(int eventId, bool updateAvailable, string latestVers
LatestVersion = latestVersion;
}
}
}
}

View File

@ -5,6 +5,7 @@
using TweetDck.Core.Controls;
using TweetDck.Core.Utils;
using TweetDck.Resources;
using TweetDck.Updates.Events;
namespace TweetDck.Updates{
class UpdateHandler{