Improve namespace and assmebly names.

This commit is contained in:
2025-08-17 05:35:47 +02:00
parent d7d3738801
commit f4aa8e7075
5 changed files with 13 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
using System;
using System.Runtime.InteropServices;
namespace NativeFileDialogSharp.Native
namespace NativeFileDialog.Native
{
public struct nfdpathset_t
{

View File

@@ -3,9 +3,9 @@ using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Text;
using NativeFileDialogSharp.Native;
using NativeFileDialog.Native;
namespace NativeFileDialogSharp
namespace NativeFileDialog
{
public static class Dialog
{
@@ -18,7 +18,7 @@ namespace NativeFileDialogSharp
try
{
// we call a function that does nothing just to test if we can load it properly
NativeFileDialogSharp.Native.NativeFunctions.NFD_Dummy();
NativeFileDialog.Native.NativeFunctions.NFD_Dummy();
return false;
}
catch
@@ -26,7 +26,7 @@ namespace NativeFileDialogSharp
// a call to a default library failed, let's attempt the other one
try
{
NativeFileDialogSharp.Native.NativeFunctions32.NFD_Dummy();
NativeFileDialog.Native.NativeFunctions32.NFD_Dummy();
return true;
}
catch

View File

@@ -1,6 +1,6 @@
{
"name": "NativeFileDialogSharp",
"rootNamespace": "NativeFileDialogSharp",
"name": "Shazbot.NativeFileDialog",
"rootNamespace": "NativeFileDialog",
"references": [],
"includePlatforms": [
"Editor",

View File

@@ -1,6 +1,6 @@
{
"name": "ru.shazbot.nativefiledialog",
"version": "1.0.0",
"version": "1.0.1",
"displayName": "Native File Dialog",
"description": "Based on https://github.com/milleniumbug/NativeFileDialogSharp",
"licensesUrl": "https://git.well-placed.de/InnoLab/NativeFileDialogPackage/src/LICENSE.md",