]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | #[cfg(feature = "ApplicationModel_Store_LicenseManagement")] |
2 | pub mod LicenseManagement; | |
3 | #[cfg(feature = "ApplicationModel_Store_Preview")] | |
4 | pub mod Preview; | |
04454e1e | 5 | #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] |
5e7ed085 FG |
6 | #[repr(transparent)] |
7 | pub struct FulfillmentResult(pub i32); | |
8 | impl FulfillmentResult { | |
9 | pub const Succeeded: Self = Self(0i32); | |
10 | pub const NothingToFulfill: Self = Self(1i32); | |
11 | pub const PurchasePending: Self = Self(2i32); | |
12 | pub const PurchaseReverted: Self = Self(3i32); | |
13 | pub const ServerError: Self = Self(4i32); | |
14 | } | |
15 | impl ::core::marker::Copy for FulfillmentResult {} | |
16 | impl ::core::clone::Clone for FulfillmentResult { | |
17 | fn clone(&self) -> Self { | |
18 | *self | |
19 | } | |
20 | } | |
21 | pub type LicenseChangedEventHandler = *mut ::core::ffi::c_void; | |
22 | pub type LicenseInformation = *mut ::core::ffi::c_void; | |
23 | pub type ListingInformation = *mut ::core::ffi::c_void; | |
24 | pub type ProductLicense = *mut ::core::ffi::c_void; | |
25 | pub type ProductListing = *mut ::core::ffi::c_void; | |
26 | pub type ProductPurchaseDisplayProperties = *mut ::core::ffi::c_void; | |
04454e1e | 27 | #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] |
5e7ed085 FG |
28 | #[repr(transparent)] |
29 | pub struct ProductPurchaseStatus(pub i32); | |
30 | impl ProductPurchaseStatus { | |
31 | pub const Succeeded: Self = Self(0i32); | |
32 | pub const AlreadyPurchased: Self = Self(1i32); | |
33 | pub const NotFulfilled: Self = Self(2i32); | |
34 | pub const NotPurchased: Self = Self(3i32); | |
35 | } | |
36 | impl ::core::marker::Copy for ProductPurchaseStatus {} | |
37 | impl ::core::clone::Clone for ProductPurchaseStatus { | |
38 | fn clone(&self) -> Self { | |
39 | *self | |
40 | } | |
41 | } | |
04454e1e | 42 | #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] |
5e7ed085 FG |
43 | #[repr(transparent)] |
44 | pub struct ProductType(pub i32); | |
45 | impl ProductType { | |
46 | pub const Unknown: Self = Self(0i32); | |
47 | pub const Durable: Self = Self(1i32); | |
48 | pub const Consumable: Self = Self(2i32); | |
49 | } | |
50 | impl ::core::marker::Copy for ProductType {} | |
51 | impl ::core::clone::Clone for ProductType { | |
52 | fn clone(&self) -> Self { | |
53 | *self | |
54 | } | |
55 | } | |
56 | pub type PurchaseResults = *mut ::core::ffi::c_void; | |
57 | pub type UnfulfilledConsumable = *mut ::core::ffi::c_void; |