Skip to content

Commit

Permalink
removed redundant import
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Sep 10, 2024
1 parent a054420 commit 37a859f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/services/power_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ use windows::{
SYSTEM_POWER_CONDITION,
},
Services::{
RegisterServiceCtrlHandlerExW, SetServiceStatus, SERVICE_ACCEPT_POWEREVENT,
SERVICE_ACCEPT_STOP, SERVICE_CONTROL_POWEREVENT, SERVICE_CONTROL_STOP,
SERVICE_RUNNING, SERVICE_START_PENDING, SERVICE_STATUS,
SERVICE_STATUS_CURRENT_STATE, SERVICE_STATUS_HANDLE, SERVICE_STOPPED,
SERVICE_STOP_PENDING, SERVICE_WIN32_OWN_PROCESS,
RegisterServiceCtrlHandlerExW, SetServiceStatus, SERVICE_ACCEPT_STOP,
SERVICE_CONTROL_POWEREVENT, SERVICE_CONTROL_STOP, SERVICE_RUNNING,
SERVICE_START_PENDING, SERVICE_STATUS, SERVICE_STATUS_CURRENT_STATE,
SERVICE_STATUS_HANDLE, SERVICE_STOPPED, SERVICE_STOP_PENDING,
SERVICE_WIN32_OWN_PROCESS,
},
SystemServices::GUID_ACDC_POWER_SOURCE,
Threading::{CreateEventW, SetEvent, WaitForSingleObject, INFINITE},
Expand Down

0 comments on commit 37a859f

Please sign in to comment.