mirror of
https://github.com/Stremio/stremio-shell-ng.git
synced 2026-03-11 17:15:49 +00:00
Use constant from winapi crate
This commit is contained in:
parent
b6c957a42c
commit
4622458f6f
1 changed files with 1 additions and 3 deletions
|
|
@ -4,7 +4,7 @@ use std::{
|
||||||
};
|
};
|
||||||
use winapi::um::{
|
use winapi::um::{
|
||||||
processthreadsapi::GetCurrentProcess,
|
processthreadsapi::GetCurrentProcess,
|
||||||
winbase::CreateJobObjectA,
|
winbase::{CreateJobObjectA, CREATE_NO_WINDOW},
|
||||||
winnt::{
|
winnt::{
|
||||||
JobObjectExtendedLimitInformation, JOBOBJECT_BASIC_LIMIT_INFORMATION,
|
JobObjectExtendedLimitInformation, JOBOBJECT_BASIC_LIMIT_INFORMATION,
|
||||||
JOBOBJECT_EXTENDED_LIMIT_INFORMATION, JOB_OBJECT_LIMIT_BREAKAWAY_OK,
|
JOBOBJECT_EXTENDED_LIMIT_INFORMATION, JOB_OBJECT_LIMIT_BREAKAWAY_OK,
|
||||||
|
|
@ -12,8 +12,6 @@ use winapi::um::{
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const CREATE_NO_WINDOW: u32 = 0x08000000;
|
|
||||||
|
|
||||||
pub struct StremioServer {}
|
pub struct StremioServer {}
|
||||||
|
|
||||||
impl StremioServer {
|
impl StremioServer {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue