blob: e3b339f82b73214fbd0ec32fcb920ba0b58c4cd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
pub type DialApp = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Media_DialProtocol\"`*"]
#[repr(transparent)]
pub struct DialAppLaunchResult(pub i32);
impl DialAppLaunchResult {
pub const Launched: Self = Self(0i32);
pub const FailedToLaunch: Self = Self(1i32);
pub const NotFound: Self = Self(2i32);
pub const NetworkFailure: Self = Self(3i32);
}
impl ::core::marker::Copy for DialAppLaunchResult {}
impl ::core::clone::Clone for DialAppLaunchResult {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Media_DialProtocol\"`*"]
#[repr(transparent)]
pub struct DialAppState(pub i32);
impl DialAppState {
pub const Unknown: Self = Self(0i32);
pub const Stopped: Self = Self(1i32);
pub const Running: Self = Self(2i32);
pub const NetworkFailure: Self = Self(3i32);
}
impl ::core::marker::Copy for DialAppState {}
impl ::core::clone::Clone for DialAppState {
fn clone(&self) -> Self {
*self
}
}
pub type DialAppStateDetails = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Media_DialProtocol\"`*"]
#[repr(transparent)]
pub struct DialAppStopResult(pub i32);
impl DialAppStopResult {
pub const Stopped: Self = Self(0i32);
pub const StopFailed: Self = Self(1i32);
pub const OperationNotSupported: Self = Self(2i32);
pub const NetworkFailure: Self = Self(3i32);
}
impl ::core::marker::Copy for DialAppStopResult {}
impl ::core::clone::Clone for DialAppStopResult {
fn clone(&self) -> Self {
*self
}
}
pub type DialDevice = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Media_DialProtocol\"`*"]
#[repr(transparent)]
pub struct DialDeviceDisplayStatus(pub i32);
impl DialDeviceDisplayStatus {
pub const None: Self = Self(0i32);
pub const Connecting: Self = Self(1i32);
pub const Connected: Self = Self(2i32);
pub const Disconnecting: Self = Self(3i32);
pub const Disconnected: Self = Self(4i32);
pub const Error: Self = Self(5i32);
}
impl ::core::marker::Copy for DialDeviceDisplayStatus {}
impl ::core::clone::Clone for DialDeviceDisplayStatus {
fn clone(&self) -> Self {
*self
}
}
pub type DialDevicePicker = *mut ::core::ffi::c_void;
pub type DialDevicePickerFilter = *mut ::core::ffi::c_void;
pub type DialDeviceSelectedEventArgs = *mut ::core::ffi::c_void;
pub type DialDisconnectButtonClickedEventArgs = *mut ::core::ffi::c_void;
pub type DialReceiverApp = *mut ::core::ffi::c_void;
|