mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-14 13:44:47 +00:00
add new powerMonitor API js file - fix formating
This commit is contained in:
@@ -1,11 +1,4 @@
|
||||
using ElectronNET.API.Entities;
|
||||
using ElectronNET.API.Extensions;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Newtonsoft.Json.Serialization;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using System;
|
||||
|
||||
namespace ElectronNET.API
|
||||
{
|
||||
@@ -14,9 +7,6 @@ namespace ElectronNET.API
|
||||
/// </summary>
|
||||
public sealed class PowerMonitor
|
||||
{
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Emitted when the system is about to lock the screen.
|
||||
/// </summary>
|
||||
@@ -74,9 +64,6 @@ namespace ElectronNET.API
|
||||
}
|
||||
|
||||
private event Action _unlockScreen;
|
||||
|
||||
|
||||
|
||||
private static PowerMonitor _powerMonitor;
|
||||
private static object _syncRoot = new object();
|
||||
|
||||
@@ -100,8 +87,5 @@ namespace ElectronNET.API
|
||||
return _powerMonitor;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user