implement notification bridge

This commit is contained in:
Gregor Biswanger
2017-10-03 04:40:37 +02:00
parent a0a3e6fc15
commit b16e0b0bf9
8 changed files with 96 additions and 5 deletions

View File

@@ -31,6 +31,7 @@ namespace ElectronNET.API
};
socket.Emit("createBrowserWindow", JObject.FromObject(browserWindowOptions, _jsonSerializer));
socket.Emit("createNotification");
});
}
}

View File

@@ -0,0 +1,8 @@
namespace ElectronNET.API.Entities
{
public class NotificationOptions
{
public string Title { get; set; }
public string Body { get; set; }
}
}