]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Networking/PushNotifications/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Networking / PushNotifications / mod.rs
CommitLineData
5e7ed085
FG
1pub type PushNotificationChannel = *mut ::core::ffi::c_void;
2pub type PushNotificationChannelManagerForUser = *mut ::core::ffi::c_void;
3pub type PushNotificationChannelsRevokedEventArgs = *mut ::core::ffi::c_void;
4pub type PushNotificationReceivedEventArgs = *mut ::core::ffi::c_void;
04454e1e 5#[doc = "*Required features: `\"Networking_PushNotifications\"`*"]
5e7ed085
FG
6#[repr(transparent)]
7pub struct PushNotificationType(pub i32);
8impl PushNotificationType {
9 pub const Toast: Self = Self(0i32);
10 pub const Tile: Self = Self(1i32);
11 pub const Badge: Self = Self(2i32);
12 pub const Raw: Self = Self(3i32);
13 pub const TileFlyout: Self = Self(4i32);
14}
15impl ::core::marker::Copy for PushNotificationType {}
16impl ::core::clone::Clone for PushNotificationType {
17 fn clone(&self) -> Self {
18 *self
19 }
20}
21pub type RawNotification = *mut ::core::ffi::c_void;