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