implement first dialog-, notification-, tray- and menu-api functions

This commit is contained in:
Gregor Biswanger
2017-10-15 17:03:07 +02:00
parent 8f9a84cb0f
commit 08b88e3adf
32 changed files with 511 additions and 45 deletions

View File

@@ -280,12 +280,6 @@ namespace ElectronNET.API
ContractResolver = new CamelCasePropertyNamesContractResolver()
};
// TODO: Auslagern in eigenes Notification-API
public void CreateNotification(NotificationOptions notificationOptions)
{
BridgeConnector.Socket.Emit("createNotification", JObject.FromObject(notificationOptions, _jsonSerializer));
}
/// <summary>
/// Try to close all windows. The before-quit event will be emitted first. If all
/// windows are successfully closed, the will-quit event will be emitted and by