* Feature #307 : New windows setting to use cover art as folder's icon. Incomplete. Need to add to avalonia settings
* Interop refactor
This commit is contained in:
parent
aea8c11dc4
commit
1524d558a4
33 changed files with 1867 additions and 1794 deletions
|
|
@ -1,4 +1,4 @@
|
|||
using AppScaffolding.OSInterop;
|
||||
using LibationFileManager;
|
||||
|
||||
namespace MacOSConfigApp
|
||||
{
|
||||
|
|
@ -7,22 +7,7 @@ namespace MacOSConfigApp
|
|||
public MacOSInterop() { }
|
||||
public MacOSInterop(params object[] values) { }
|
||||
|
||||
|
||||
// examples until the real interface is filled out
|
||||
private string InitValue1 { get; }
|
||||
private int InitValue2 { get; }
|
||||
|
||||
public MacOSInterop(string initValue1, int initValue2)
|
||||
{
|
||||
InitValue1 = initValue1;
|
||||
InitValue2 = initValue2;
|
||||
}
|
||||
|
||||
public string TransformInit1() => InitValue1.ToLower();
|
||||
|
||||
public int TransformInit2() => InitValue2 + InitValue2;
|
||||
|
||||
public void CopyTextToClipboard(string text) => throw new PlatformNotSupportedException();
|
||||
public void ShowForm() => throw new PlatformNotSupportedException();
|
||||
public void SetFolderIcon(string image, string directory) => throw new PlatformNotSupportedException();
|
||||
public void DeleteFolderIcon(string directory) => throw new PlatformNotSupportedException();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using AppScaffolding.OSInterop;
|
||||
using AppScaffolding;
|
||||
|
||||
namespace MacOSConfigApp
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue