Files
Libation/Source/LibationFileManager/NullInteropFunctions.cs
2026-06-08 14:03:59 -04:00

22 lines
957 B
C#

using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace LibationFileManager;
public class NullInteropFunctions : IInteropFunctions
{
public NullInteropFunctions() { }
public NullInteropFunctions(params object[] values) { }
public void SetFolderIcon(string image, string directory) => throw new PlatformNotSupportedException();
public void SetFolderIcon(byte[] imageJpegBytes, string directory) => throw new PlatformNotSupportedException();
public void DeleteFolderIcon(string directory) => throw new PlatformNotSupportedException();
public bool CanUpgrade => throw new PlatformNotSupportedException();
public string ReleaseIdString => throw new PlatformNotSupportedException();
public Process RunAsRoot(string exe, string args) => throw new PlatformNotSupportedException();
public Task InstallUpgradeAsync(string updateBundle) => throw new PlatformNotSupportedException();
public void TrySyncInstallMetadata() { }
}