Browse Source

Rename Windows -> WindowsNT

Ruben 1 year ago
parent
commit
859d868961

+ 5 - 5
src/PicView.Avalonia.Win32/App.axaml.cs

@@ -12,11 +12,11 @@ using PicView.Core.Config;
 using PicView.Core.FileHandling;
 using PicView.Core.Localization;
 using PicView.Core.ProcessHandling;
-using PicView.Windows;
-using PicView.Windows.FileHandling;
-using PicView.Windows.Lockscreen;
-using PicView.Windows.Taskbar;
-using PicView.Windows.Wallpaper;
+using PicView.WindowsNT;
+using PicView.WindowsNT.FileHandling;
+using PicView.WindowsNT.Lockscreen;
+using PicView.WindowsNT.Taskbar;
+using PicView.WindowsNT.Wallpaper;
 using Dispatcher = Avalonia.Threading.Dispatcher;
 
 namespace PicView.Avalonia.Win32;

+ 1 - 1
src/PicView.Avalonia.Win32/PicView.Avalonia.Win32.csproj

@@ -43,7 +43,7 @@
   <ItemGroup>
     <ProjectReference Include="..\PicView.Avalonia\PicView.Avalonia.csproj" />
     <ProjectReference Include="..\PicView.Core\PicView.Core.csproj" />
-    <ProjectReference Include="..\PicView.Windows\PicView.Windows.csproj" />
+    <ProjectReference Include="..\PicView.WindowsNT\PicView.WindowsNT.csproj" />
   </ItemGroup>
 
   <ItemGroup>

+ 1 - 1
src/PicView.Windows/FileHandling/ArchiveExtractionHelper.cs → src/PicView.WindowsNT/FileHandling/ArchiveExtractionHelper.cs

@@ -2,7 +2,7 @@
 using Microsoft.Win32;
 using PicView.Core.FileHandling;
 
-namespace PicView.Windows.FileHandling;
+namespace PicView.WindowsNT.FileHandling;
 
 public static class ArchiveExtractionHelper
 {

+ 1 - 1
src/PicView.Windows/FileHandling/ClipboardHelper.cs → src/PicView.WindowsNT/FileHandling/ClipboardHelper.cs

@@ -1,6 +1,6 @@
 using System.Runtime.InteropServices;
 
-namespace PicView.Windows.FileHandling;
+namespace PicView.WindowsNT.FileHandling;
 
 public static partial class ClipboardHelper
 {

+ 1 - 1
src/PicView.Windows/FileHandling/FileExplorer.cs → src/PicView.WindowsNT/FileHandling/FileExplorer.cs

@@ -1,6 +1,6 @@
 using System.Runtime.InteropServices;
 
-namespace PicView.Windows.FileHandling;
+namespace PicView.WindowsNT.FileHandling;
 public static class Shell32Wrapper
 {
     [DllImport("shell32.dll", SetLastError = true)]

+ 3 - 3
src/PicView.Windows/Lockscreen/LockscreenHelper.cs → src/PicView.WindowsNT/Lockscreen/LockscreenHelper.cs

@@ -1,7 +1,7 @@
-using Microsoft.Win32;
-using System.Runtime.InteropServices;
+using System.Runtime.InteropServices;
+using Microsoft.Win32;
 
-namespace PicView.Windows.Lockscreen;
+namespace PicView.WindowsNT.Lockscreen;
 
 public static class LockscreenHelper
 {

+ 1 - 1
src/PicView.Windows/NativeMethods.cs → src/PicView.WindowsNT/NativeMethods.cs

@@ -1,6 +1,6 @@
 using System.Runtime.InteropServices;
 
-namespace PicView.Windows;
+namespace PicView.WindowsNT;
 
 public static partial class NativeMethods
 {

+ 0 - 0
src/PicView.Windows/PicView.Windows.csproj → src/PicView.WindowsNT/PicView.WindowsNT.csproj


+ 1 - 1
src/PicView.Windows/Taskbar/ITaskbarList3.cs → src/PicView.WindowsNT/Taskbar/ITaskbarList3.cs

@@ -1,7 +1,7 @@
 using System.Runtime.InteropServices;
 using System.Runtime.InteropServices.Marshalling;
 
-namespace PicView.Windows.Taskbar;
+namespace PicView.WindowsNT.Taskbar;
 
 // ITaskbarList3 interface using P/Invoke
 [GeneratedComInterface]

+ 1 - 1
src/PicView.Windows/Taskbar/TaskbarProgress.cs → src/PicView.WindowsNT/Taskbar/TaskbarProgress.cs

@@ -1,6 +1,6 @@
 using System.Runtime.InteropServices;
 
-namespace PicView.Windows.Taskbar;
+namespace PicView.WindowsNT.Taskbar;
 public partial class TaskbarProgress
 {
     /// <summary>

+ 1 - 1
src/PicView.Windows/Taskbar/TaskbarStates.cs → src/PicView.WindowsNT/Taskbar/TaskbarStates.cs

@@ -1,4 +1,4 @@
-namespace PicView.Windows.Taskbar;
+namespace PicView.WindowsNT.Taskbar;
 
 public enum TaskbarStates
 {

+ 1 - 1
src/PicView.Windows/Wallpaper/WallpaperHelper.cs → src/PicView.WindowsNT/Wallpaper/WallpaperHelper.cs

@@ -2,7 +2,7 @@
 using System.Runtime.InteropServices;
 using Microsoft.Win32;
 
-namespace PicView.Windows.Wallpaper;
+namespace PicView.WindowsNT.Wallpaper;
 
 public static class WallpaperHelper
 {

+ 1 - 1
src/PicView.sln

@@ -15,7 +15,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PicView.Avalonia.Win32", "P
 EndProject
 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PicView.Avalonia.MacOS", "PicView.Avalonia.MacOS\PicView.Avalonia.MacOS.csproj", "{79402A1F-0EDE-49C8-970A-E7AC0065FFB4}"
 EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PicView.Windows", "PicView.Windows\PicView.Windows.csproj", "{D63E2F56-02CC-4E23-AF78-F5218E83B2E6}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PicView.WindowsNT", "PicView.WindowsNT\PicView.WindowsNT.csproj", "{D63E2F56-02CC-4E23-AF78-F5218E83B2E6}"
 EndProject
 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PicView.MacOS", "PicView.MacOS\PicView.MacOS.csproj", "{FEAC727E-1102-4F11-A747-5A5789FBBF81}"
 EndProject