From 454bc8f07faf23744c3854cd3e6b32f169652514 Mon Sep 17 00:00:00 2001 From: Yoshi Askharoun Date: Wed, 26 May 2021 11:26:08 -0500 Subject: [PATCH] Move Win32 helpers to ZuneModCore.Win32 --- ZuneModCore/Mods/FeaturesOverrideMod.cs | 1 + ZuneModCore/{ => Win32}/FileUtil.cs | 2 +- ZuneModCore/{ => Win32}/RegEdit.cs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) rename ZuneModCore/{ => Win32}/FileUtil.cs (99%) rename ZuneModCore/{ => Win32}/RegEdit.cs (98%) diff --git a/ZuneModCore/Mods/FeaturesOverrideMod.cs b/ZuneModCore/Mods/FeaturesOverrideMod.cs index 0fbdfe5..db3ba34 100644 --- a/ZuneModCore/Mods/FeaturesOverrideMod.cs +++ b/ZuneModCore/Mods/FeaturesOverrideMod.cs @@ -2,6 +2,7 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; +using ZuneModCore.Win32; namespace ZuneModCore.Mods { diff --git a/ZuneModCore/FileUtil.cs b/ZuneModCore/Win32/FileUtil.cs similarity index 99% rename from ZuneModCore/FileUtil.cs rename to ZuneModCore/Win32/FileUtil.cs index f07c01f..b224c4e 100644 --- a/ZuneModCore/FileUtil.cs +++ b/ZuneModCore/Win32/FileUtil.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace ZuneModCore +namespace ZuneModCore.Win32 { using System.Runtime.InteropServices; using System.Diagnostics; diff --git a/ZuneModCore/RegEdit.cs b/ZuneModCore/Win32/RegEdit.cs similarity index 98% rename from ZuneModCore/RegEdit.cs rename to ZuneModCore/Win32/RegEdit.cs index 8337124..5549c42 100644 --- a/ZuneModCore/RegEdit.cs +++ b/ZuneModCore/Win32/RegEdit.cs @@ -1,6 +1,6 @@ using Microsoft.Win32; -namespace ZuneModCore +namespace ZuneModCore.Win32 { #pragma warning disable CA1416 // Validate platform compatibility