Skip to content

Commit ef737cd

Browse files
committed
rename
1 parent d311e00 commit ef737cd

File tree

14 files changed

+18
-14
lines changed

14 files changed

+18
-14
lines changed

src/ComputerLock/Components/Setting.razor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.Diagnostics;
22
using System.IO;
3+
using ComputerLock.Interfaces;
34
using ComputerLock.Update;
45

56
namespace ComputerLock.Components;

src/ComputerLock/Components/TitleBar.razor.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
namespace ComputerLock.Components;
1+
using ComputerLock.Interfaces;
2+
3+
namespace ComputerLock.Components;
24
public partial class TitleBar
35
{
46
[Parameter]

src/ComputerLock/GlobalUsings.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
global using ComputerLock.Components;
22
global using ComputerLock.Configuration;
33
global using ComputerLock.Enums;
4-
global using ComputerLock.Hooks;
54
global using ComputerLock.Models;
65
global using ComputerLock.Platforms;
76
global using ComputerLock.Resources;

src/ComputerLock/Interfaces/IWindowMoving.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace ComputerLock.Platforms;
1+
namespace ComputerLock.Interfaces;
22
public interface IWindowMoving
33
{
44
void MouseDown();

src/ComputerLock/Interfaces/IWindowTitleBar.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
namespace ComputerLock.Platforms;
2-
//TODO rename
1+
namespace ComputerLock.Interfaces;
32
public interface IWindowTitleBar
43
{
54
public bool IsMaximized { get; }

src/ComputerLock/Platforms/AutostartHook.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Win32;
22

3-
namespace ComputerLock.Hooks;
3+
namespace ComputerLock.Platforms;
44
internal class AutostartHook
55
{
66
private const string RegKey = @"Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Run";

src/ComputerLock/Platforms/HotKeyHook.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Runtime.InteropServices;
22

3-
namespace ComputerLock.Hooks;
3+
namespace ComputerLock.Platforms;
44

55
/// <summary>
66
/// 快捷键钩子

src/ComputerLock/Platforms/MouseHook.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Runtime.InteropServices;
22

3-
namespace ComputerLock.Hooks;
3+
namespace ComputerLock.Platforms;
44
internal class MouseHook
55
{
66
[DllImport("user32.dll")]

src/ComputerLock/Platforms/SystemKeyHook.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
using System;
2-
using System.Diagnostics;
1+
using System.Diagnostics;
32
using System.Runtime.InteropServices;
43

5-
namespace ComputerLock.Hooks;
4+
namespace ComputerLock.Platforms;
65
internal class SystemKeyHook : IDisposable
76
{
87
// ReSharper disable InconsistentNaming

src/ComputerLock/Platforms/TaskManagerHook.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Win32;
22

3-
namespace ComputerLock.Hooks;
3+
namespace ComputerLock.Platforms;
44
internal class TaskManagerHook
55
{
66
private const string RegKey = @"Software\Microsoft\Windows\CurrentVersion\Policies\System";

0 commit comments

Comments
 (0)