Server/MainForm.Hid.cs
changeset 160 de942d321cfb
parent 159 e7c8c2b500bd
child 161 7b19bea5d73a
     1.1 --- a/Server/MainForm.Hid.cs	Thu Sep 24 21:39:05 2015 +0200
     1.2 +++ b/Server/MainForm.Hid.cs	Thu Sep 24 22:45:32 2015 +0200
     1.3 @@ -32,7 +32,7 @@
     1.4          private Hid.Handler iHidHandler;
     1.5  
     1.6          ///
     1.7 -        private PowerManager.PowerSettingNotifier iPowerSettingNotifier;
     1.8 +        private PowerManager.SettingNotifier iPowerSettingNotifier;
     1.9  
    1.10          /// <summary>
    1.11          /// Register HID devices so that we receive corresponding WM_INPUT messages.
    1.12 @@ -96,7 +96,7 @@
    1.13              iHidHandler.OnHidEvent += HandleHidEventThreadSafe;
    1.14  
    1.15              //TODO: Move this some place else
    1.16 -            iPowerSettingNotifier = new PowerManager.PowerSettingNotifier(Handle);
    1.17 +            iPowerSettingNotifier = new PowerManager.SettingNotifier(Handle);
    1.18              iPowerSettingNotifier.OnMonitorPowerOn += MonitorPowerOn;
    1.19              iPowerSettingNotifier.OnMonitorPowerOff += MonitorPowerOff;
    1.20          }