This reduces the native code in favor of another library so there is less to maintain.

This commit is contained in:
Robin Krom 2021-01-10 10:33:53 +01:00
commit 24c9b8fb36
20 changed files with 42 additions and 1108 deletions

View file

@ -21,6 +21,7 @@
using System.Runtime.InteropServices;
using log4net;
using Microsoft.Toolkit.Uwp.Notifications;
namespace GreenshotWin10Plugin.Native
{
@ -28,7 +29,7 @@ namespace GreenshotWin10Plugin.Native
/// This implements the NotificationActivator
/// </summary>
[ClassInterface(ClassInterfaceType.None)]
[ComSourceInterfaces(typeof(INotificationActivationCallback))]
[ComSourceInterfaces(typeof(NotificationActivator.INotificationActivationCallback))]
[Guid("F48E86D3-E34C-4DB7-8F8F-9A0EA55F0D08"), ComVisible(true)]
public class GreenshotNotificationActivator : NotificationActivator
{