diff --git a/header-translator/src/stmt.rs b/header-translator/src/stmt.rs index 9672b11cf..4242a3472 100644 --- a/header-translator/src/stmt.rs +++ b/header-translator/src/stmt.rs @@ -760,7 +760,7 @@ impl fmt::Display for Stmt { value: None, } => { writeln!(f, r#"extern "C" {{"#)?; - writeln!(f, " static {name}: {ty};")?; + writeln!(f, " pub static {name}: {ty};")?; writeln!(f, "}}")?; } Self::VarDecl { @@ -768,14 +768,14 @@ impl fmt::Display for Stmt { ty, value: Some(None), } => { - writeln!(f, "static {name}: {ty} = todo;")?; + writeln!(f, "pub static {name}: {ty} = todo;")?; } Self::VarDecl { name, ty, value: Some(Some(expr)), } => { - writeln!(f, "static {name}: {ty} = {expr};")?; + writeln!(f, "pub static {name}: {ty} = {expr};")?; } Self::FnDecl { name: _, diff --git a/icrate/src/AppKit/generated/NSAccessibility.rs b/icrate/src/AppKit/generated/NSAccessibility.rs index 6ed5d2349..2905a50cd 100644 --- a/icrate/src/AppKit/generated/NSAccessibility.rs +++ b/icrate/src/AppKit/generated/NSAccessibility.rs @@ -120,7 +120,8 @@ extern_methods!( ); extern "C" { - static NSWorkspaceAccessibilityDisplayOptionsDidChangeNotification: &'static NSNotificationName; + pub static NSWorkspaceAccessibilityDisplayOptionsDidChangeNotification: + &'static NSNotificationName; } extern_methods!( diff --git a/icrate/src/AppKit/generated/NSAccessibilityConstants.rs b/icrate/src/AppKit/generated/NSAccessibilityConstants.rs index 057d5d0de..d19a88de9 100644 --- a/icrate/src/AppKit/generated/NSAccessibilityConstants.rs +++ b/icrate/src/AppKit/generated/NSAccessibilityConstants.rs @@ -5,399 +5,401 @@ use crate::AppKit::*; use crate::Foundation::*; extern "C" { - static NSAccessibilityErrorCodeExceptionInfo: &'static NSString; + pub static NSAccessibilityErrorCodeExceptionInfo: &'static NSString; } pub type NSAccessibilityAttributeName = NSString; extern "C" { - static NSAccessibilityRoleAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityRoleAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityRoleDescriptionAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityRoleDescriptionAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilitySubroleAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilitySubroleAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityHelpAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityHelpAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityValueAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityValueAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityMinValueAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityMinValueAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityMaxValueAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityMaxValueAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityEnabledAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityEnabledAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityFocusedAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityFocusedAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityParentAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityParentAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityChildrenAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityChildrenAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityWindowAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityWindowAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityTopLevelUIElementAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityTopLevelUIElementAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilitySelectedChildrenAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilitySelectedChildrenAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityVisibleChildrenAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityVisibleChildrenAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityPositionAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityPositionAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilitySizeAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilitySizeAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityContentsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityContentsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityTitleAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityTitleAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityDescriptionAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityDescriptionAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityShownMenuAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityShownMenuAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityValueDescriptionAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityValueDescriptionAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilitySharedFocusElementsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilitySharedFocusElementsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityPreviousContentsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityPreviousContentsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityNextContentsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityNextContentsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityHeaderAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityHeaderAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityEditedAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityEditedAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityTabsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityTabsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityHorizontalScrollBarAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityHorizontalScrollBarAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityVerticalScrollBarAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityVerticalScrollBarAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityOverflowButtonAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityOverflowButtonAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityIncrementButtonAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityIncrementButtonAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityDecrementButtonAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityDecrementButtonAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityFilenameAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityFilenameAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityExpandedAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityExpandedAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilitySelectedAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilitySelectedAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilitySplittersAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilitySplittersAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityDocumentAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityDocumentAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityActivationPointAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityActivationPointAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityURLAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityURLAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityIndexAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityIndexAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityRowCountAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityRowCountAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityColumnCountAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityColumnCountAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityOrderedByRowAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityOrderedByRowAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityWarningValueAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityWarningValueAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityCriticalValueAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityCriticalValueAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityPlaceholderValueAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityPlaceholderValueAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityContainsProtectedContentAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityContainsProtectedContentAttribute: + &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityAlternateUIVisibleAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityAlternateUIVisibleAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityRequiredAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityRequiredAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityTitleUIElementAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityTitleUIElementAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityServesAsTitleForUIElementsAttribute: + pub static NSAccessibilityServesAsTitleForUIElementsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityLinkedUIElementsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityLinkedUIElementsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilitySelectedTextAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilitySelectedTextAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilitySelectedTextRangeAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilitySelectedTextRangeAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityNumberOfCharactersAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityNumberOfCharactersAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityVisibleCharacterRangeAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityVisibleCharacterRangeAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilitySharedTextUIElementsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilitySharedTextUIElementsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilitySharedCharacterRangeAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilitySharedCharacterRangeAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityInsertionPointLineNumberAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityInsertionPointLineNumberAttribute: + &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilitySelectedTextRangesAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilitySelectedTextRangesAttribute: &'static NSAccessibilityAttributeName; } pub type NSAccessibilityParameterizedAttributeName = NSString; extern "C" { - static NSAccessibilityLineForIndexParameterizedAttribute: + pub static NSAccessibilityLineForIndexParameterizedAttribute: &'static NSAccessibilityParameterizedAttributeName; } extern "C" { - static NSAccessibilityRangeForLineParameterizedAttribute: + pub static NSAccessibilityRangeForLineParameterizedAttribute: &'static NSAccessibilityParameterizedAttributeName; } extern "C" { - static NSAccessibilityStringForRangeParameterizedAttribute: + pub static NSAccessibilityStringForRangeParameterizedAttribute: &'static NSAccessibilityParameterizedAttributeName; } extern "C" { - static NSAccessibilityRangeForPositionParameterizedAttribute: + pub static NSAccessibilityRangeForPositionParameterizedAttribute: &'static NSAccessibilityParameterizedAttributeName; } extern "C" { - static NSAccessibilityRangeForIndexParameterizedAttribute: + pub static NSAccessibilityRangeForIndexParameterizedAttribute: &'static NSAccessibilityParameterizedAttributeName; } extern "C" { - static NSAccessibilityBoundsForRangeParameterizedAttribute: + pub static NSAccessibilityBoundsForRangeParameterizedAttribute: &'static NSAccessibilityParameterizedAttributeName; } extern "C" { - static NSAccessibilityRTFForRangeParameterizedAttribute: + pub static NSAccessibilityRTFForRangeParameterizedAttribute: &'static NSAccessibilityParameterizedAttributeName; } extern "C" { - static NSAccessibilityStyleRangeForIndexParameterizedAttribute: + pub static NSAccessibilityStyleRangeForIndexParameterizedAttribute: &'static NSAccessibilityParameterizedAttributeName; } extern "C" { - static NSAccessibilityAttributedStringForRangeParameterizedAttribute: + pub static NSAccessibilityAttributedStringForRangeParameterizedAttribute: &'static NSAccessibilityParameterizedAttributeName; } extern "C" { - static NSAccessibilityFontTextAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilityFontTextAttribute: &'static NSAttributedStringKey; } extern "C" { - static NSAccessibilityForegroundColorTextAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilityForegroundColorTextAttribute: &'static NSAttributedStringKey; } extern "C" { - static NSAccessibilityBackgroundColorTextAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilityBackgroundColorTextAttribute: &'static NSAttributedStringKey; } extern "C" { - static NSAccessibilityUnderlineColorTextAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilityUnderlineColorTextAttribute: &'static NSAttributedStringKey; } extern "C" { - static NSAccessibilityStrikethroughColorTextAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilityStrikethroughColorTextAttribute: &'static NSAttributedStringKey; } extern "C" { - static NSAccessibilityUnderlineTextAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilityUnderlineTextAttribute: &'static NSAttributedStringKey; } extern "C" { - static NSAccessibilitySuperscriptTextAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilitySuperscriptTextAttribute: &'static NSAttributedStringKey; } extern "C" { - static NSAccessibilityStrikethroughTextAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilityStrikethroughTextAttribute: &'static NSAttributedStringKey; } extern "C" { - static NSAccessibilityShadowTextAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilityShadowTextAttribute: &'static NSAttributedStringKey; } extern "C" { - static NSAccessibilityAttachmentTextAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilityAttachmentTextAttribute: &'static NSAttributedStringKey; } extern "C" { - static NSAccessibilityLinkTextAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilityLinkTextAttribute: &'static NSAttributedStringKey; } extern "C" { - static NSAccessibilityAutocorrectedTextAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilityAutocorrectedTextAttribute: &'static NSAttributedStringKey; } extern "C" { - static NSAccessibilityTextAlignmentAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilityTextAlignmentAttribute: &'static NSAttributedStringKey; } extern "C" { - static NSAccessibilityListItemPrefixTextAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilityListItemPrefixTextAttribute: &'static NSAttributedStringKey; } extern "C" { - static NSAccessibilityListItemIndexTextAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilityListItemIndexTextAttribute: &'static NSAttributedStringKey; } extern "C" { - static NSAccessibilityListItemLevelTextAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilityListItemLevelTextAttribute: &'static NSAttributedStringKey; } extern "C" { - static NSAccessibilityMisspelledTextAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilityMisspelledTextAttribute: &'static NSAttributedStringKey; } extern "C" { - static NSAccessibilityMarkedMisspelledTextAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilityMarkedMisspelledTextAttribute: &'static NSAttributedStringKey; } extern "C" { - static NSAccessibilityLanguageTextAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilityLanguageTextAttribute: &'static NSAttributedStringKey; } extern "C" { - static NSAccessibilityCustomTextAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilityCustomTextAttribute: &'static NSAttributedStringKey; } extern "C" { - static NSAccessibilityAnnotationTextAttribute: &'static NSAttributedStringKey; + pub static NSAccessibilityAnnotationTextAttribute: &'static NSAttributedStringKey; } pub type NSAccessibilityAnnotationAttributeKey = NSString; extern "C" { - static NSAccessibilityAnnotationLabel: &'static NSAccessibilityAnnotationAttributeKey; + pub static NSAccessibilityAnnotationLabel: &'static NSAccessibilityAnnotationAttributeKey; } extern "C" { - static NSAccessibilityAnnotationElement: &'static NSAccessibilityAnnotationAttributeKey; + pub static NSAccessibilityAnnotationElement: &'static NSAccessibilityAnnotationAttributeKey; } extern "C" { - static NSAccessibilityAnnotationLocation: &'static NSAccessibilityAnnotationAttributeKey; + pub static NSAccessibilityAnnotationLocation: &'static NSAccessibilityAnnotationAttributeKey; } pub type NSAccessibilityAnnotationPosition = NSInteger; @@ -408,99 +410,99 @@ pub const NSAccessibilityAnnotationPositionEnd: NSAccessibilityAnnotationPositio pub type NSAccessibilityFontAttributeKey = NSString; extern "C" { - static NSAccessibilityFontNameKey: &'static NSAccessibilityFontAttributeKey; + pub static NSAccessibilityFontNameKey: &'static NSAccessibilityFontAttributeKey; } extern "C" { - static NSAccessibilityFontFamilyKey: &'static NSAccessibilityFontAttributeKey; + pub static NSAccessibilityFontFamilyKey: &'static NSAccessibilityFontAttributeKey; } extern "C" { - static NSAccessibilityVisibleNameKey: &'static NSAccessibilityFontAttributeKey; + pub static NSAccessibilityVisibleNameKey: &'static NSAccessibilityFontAttributeKey; } extern "C" { - static NSAccessibilityFontSizeKey: &'static NSAccessibilityFontAttributeKey; + pub static NSAccessibilityFontSizeKey: &'static NSAccessibilityFontAttributeKey; } extern "C" { - static NSAccessibilityMainAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityMainAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityMinimizedAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityMinimizedAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityCloseButtonAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityCloseButtonAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityZoomButtonAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityZoomButtonAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityMinimizeButtonAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityMinimizeButtonAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityToolbarButtonAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityToolbarButtonAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityProxyAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityProxyAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityGrowAreaAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityGrowAreaAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityModalAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityModalAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityDefaultButtonAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityDefaultButtonAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityCancelButtonAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityCancelButtonAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityFullScreenButtonAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityFullScreenButtonAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityMenuBarAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityMenuBarAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityWindowsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityWindowsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityFrontmostAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityFrontmostAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityHiddenAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityHiddenAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityMainWindowAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityMainWindowAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityFocusedWindowAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityFocusedWindowAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityFocusedUIElementAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityFocusedUIElementAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityExtrasMenuBarAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityExtrasMenuBarAttribute: &'static NSAccessibilityAttributeName; } pub type NSAccessibilityOrientation = NSInteger; @@ -509,148 +511,153 @@ pub const NSAccessibilityOrientationVertical: NSAccessibilityOrientation = 1; pub const NSAccessibilityOrientationHorizontal: NSAccessibilityOrientation = 2; extern "C" { - static NSAccessibilityOrientationAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityOrientationAttribute: &'static NSAccessibilityAttributeName; } pub type NSAccessibilityOrientationValue = NSString; extern "C" { - static NSAccessibilityVerticalOrientationValue: &'static NSAccessibilityOrientationValue; + pub static NSAccessibilityVerticalOrientationValue: &'static NSAccessibilityOrientationValue; } extern "C" { - static NSAccessibilityHorizontalOrientationValue: &'static NSAccessibilityOrientationValue; + pub static NSAccessibilityHorizontalOrientationValue: &'static NSAccessibilityOrientationValue; } extern "C" { - static NSAccessibilityUnknownOrientationValue: &'static NSAccessibilityOrientationValue; + pub static NSAccessibilityUnknownOrientationValue: &'static NSAccessibilityOrientationValue; } extern "C" { - static NSAccessibilityColumnTitlesAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityColumnTitlesAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilitySearchButtonAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilitySearchButtonAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilitySearchMenuAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilitySearchMenuAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityClearButtonAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityClearButtonAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityRowsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityRowsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityVisibleRowsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityVisibleRowsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilitySelectedRowsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilitySelectedRowsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityColumnsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityColumnsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityVisibleColumnsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityVisibleColumnsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilitySelectedColumnsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilitySelectedColumnsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilitySortDirectionAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilitySortDirectionAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilitySelectedCellsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilitySelectedCellsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityVisibleCellsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityVisibleCellsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityRowHeaderUIElementsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityRowHeaderUIElementsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityColumnHeaderUIElementsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityColumnHeaderUIElementsAttribute: + &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityCellForColumnAndRowParameterizedAttribute: + pub static NSAccessibilityCellForColumnAndRowParameterizedAttribute: &'static NSAccessibilityParameterizedAttributeName; } extern "C" { - static NSAccessibilityRowIndexRangeAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityRowIndexRangeAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityColumnIndexRangeAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityColumnIndexRangeAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityHorizontalUnitsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityHorizontalUnitsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityVerticalUnitsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityVerticalUnitsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityHorizontalUnitDescriptionAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityHorizontalUnitDescriptionAttribute: + &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityVerticalUnitDescriptionAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityVerticalUnitDescriptionAttribute: + &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityLayoutPointForScreenPointParameterizedAttribute: + pub static NSAccessibilityLayoutPointForScreenPointParameterizedAttribute: &'static NSAccessibilityParameterizedAttributeName; } extern "C" { - static NSAccessibilityLayoutSizeForScreenSizeParameterizedAttribute: + pub static NSAccessibilityLayoutSizeForScreenSizeParameterizedAttribute: &'static NSAccessibilityParameterizedAttributeName; } extern "C" { - static NSAccessibilityScreenPointForLayoutPointParameterizedAttribute: + pub static NSAccessibilityScreenPointForLayoutPointParameterizedAttribute: &'static NSAccessibilityParameterizedAttributeName; } extern "C" { - static NSAccessibilityScreenSizeForLayoutSizeParameterizedAttribute: + pub static NSAccessibilityScreenSizeForLayoutSizeParameterizedAttribute: &'static NSAccessibilityParameterizedAttributeName; } extern "C" { - static NSAccessibilityHandlesAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityHandlesAttribute: &'static NSAccessibilityAttributeName; } pub type NSAccessibilitySortDirectionValue = NSString; extern "C" { - static NSAccessibilityAscendingSortDirectionValue: &'static NSAccessibilitySortDirectionValue; + pub static NSAccessibilityAscendingSortDirectionValue: + &'static NSAccessibilitySortDirectionValue; } extern "C" { - static NSAccessibilityDescendingSortDirectionValue: &'static NSAccessibilitySortDirectionValue; + pub static NSAccessibilityDescendingSortDirectionValue: + &'static NSAccessibilitySortDirectionValue; } extern "C" { - static NSAccessibilityUnknownSortDirectionValue: &'static NSAccessibilitySortDirectionValue; + pub static NSAccessibilityUnknownSortDirectionValue: &'static NSAccessibilitySortDirectionValue; } pub type NSAccessibilitySortDirection = NSInteger; @@ -659,108 +666,112 @@ pub const NSAccessibilitySortDirectionAscending: NSAccessibilitySortDirection = pub const NSAccessibilitySortDirectionDescending: NSAccessibilitySortDirection = 2; extern "C" { - static NSAccessibilityDisclosingAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityDisclosingAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityDisclosedRowsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityDisclosedRowsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityDisclosedByRowAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityDisclosedByRowAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityDisclosureLevelAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityDisclosureLevelAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityAllowedValuesAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityAllowedValuesAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityLabelUIElementsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityLabelUIElementsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityLabelValueAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityLabelValueAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityMatteHoleAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityMatteHoleAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityMatteContentUIElementAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityMatteContentUIElementAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityMarkerUIElementsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityMarkerUIElementsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityMarkerValuesAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityMarkerValuesAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityMarkerGroupUIElementAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityMarkerGroupUIElementAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityUnitsAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityUnitsAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityUnitDescriptionAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityUnitDescriptionAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityMarkerTypeAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityMarkerTypeAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityMarkerTypeDescriptionAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityMarkerTypeDescriptionAttribute: &'static NSAccessibilityAttributeName; } extern "C" { - static NSAccessibilityIdentifierAttribute: &'static NSAccessibilityAttributeName; + pub static NSAccessibilityIdentifierAttribute: &'static NSAccessibilityAttributeName; } pub type NSAccessibilityRulerMarkerTypeValue = NSString; extern "C" { - static NSAccessibilityLeftTabStopMarkerTypeValue: &'static NSAccessibilityRulerMarkerTypeValue; + pub static NSAccessibilityLeftTabStopMarkerTypeValue: + &'static NSAccessibilityRulerMarkerTypeValue; } extern "C" { - static NSAccessibilityRightTabStopMarkerTypeValue: &'static NSAccessibilityRulerMarkerTypeValue; + pub static NSAccessibilityRightTabStopMarkerTypeValue: + &'static NSAccessibilityRulerMarkerTypeValue; } extern "C" { - static NSAccessibilityCenterTabStopMarkerTypeValue: + pub static NSAccessibilityCenterTabStopMarkerTypeValue: &'static NSAccessibilityRulerMarkerTypeValue; } extern "C" { - static NSAccessibilityDecimalTabStopMarkerTypeValue: + pub static NSAccessibilityDecimalTabStopMarkerTypeValue: &'static NSAccessibilityRulerMarkerTypeValue; } extern "C" { - static NSAccessibilityHeadIndentMarkerTypeValue: &'static NSAccessibilityRulerMarkerTypeValue; + pub static NSAccessibilityHeadIndentMarkerTypeValue: + &'static NSAccessibilityRulerMarkerTypeValue; } extern "C" { - static NSAccessibilityTailIndentMarkerTypeValue: &'static NSAccessibilityRulerMarkerTypeValue; + pub static NSAccessibilityTailIndentMarkerTypeValue: + &'static NSAccessibilityRulerMarkerTypeValue; } extern "C" { - static NSAccessibilityFirstLineIndentMarkerTypeValue: + pub static NSAccessibilityFirstLineIndentMarkerTypeValue: &'static NSAccessibilityRulerMarkerTypeValue; } extern "C" { - static NSAccessibilityUnknownMarkerTypeValue: &'static NSAccessibilityRulerMarkerTypeValue; + pub static NSAccessibilityUnknownMarkerTypeValue: &'static NSAccessibilityRulerMarkerTypeValue; } pub type NSAccessibilityRulerMarkerType = NSInteger; @@ -776,23 +787,23 @@ pub const NSAccessibilityRulerMarkerTypeIndentFirstLine: NSAccessibilityRulerMar pub type NSAccessibilityRulerUnitValue = NSString; extern "C" { - static NSAccessibilityInchesUnitValue: &'static NSAccessibilityRulerUnitValue; + pub static NSAccessibilityInchesUnitValue: &'static NSAccessibilityRulerUnitValue; } extern "C" { - static NSAccessibilityCentimetersUnitValue: &'static NSAccessibilityRulerUnitValue; + pub static NSAccessibilityCentimetersUnitValue: &'static NSAccessibilityRulerUnitValue; } extern "C" { - static NSAccessibilityPointsUnitValue: &'static NSAccessibilityRulerUnitValue; + pub static NSAccessibilityPointsUnitValue: &'static NSAccessibilityRulerUnitValue; } extern "C" { - static NSAccessibilityPicasUnitValue: &'static NSAccessibilityRulerUnitValue; + pub static NSAccessibilityPicasUnitValue: &'static NSAccessibilityRulerUnitValue; } extern "C" { - static NSAccessibilityUnknownUnitValue: &'static NSAccessibilityRulerUnitValue; + pub static NSAccessibilityUnknownUnitValue: &'static NSAccessibilityRulerUnitValue; } pub type NSAccessibilityUnits = NSInteger; @@ -805,561 +816,568 @@ pub const NSAccessibilityUnitsPicas: NSAccessibilityUnits = 4; pub type NSAccessibilityActionName = NSString; extern "C" { - static NSAccessibilityPressAction: &'static NSAccessibilityActionName; + pub static NSAccessibilityPressAction: &'static NSAccessibilityActionName; } extern "C" { - static NSAccessibilityIncrementAction: &'static NSAccessibilityActionName; + pub static NSAccessibilityIncrementAction: &'static NSAccessibilityActionName; } extern "C" { - static NSAccessibilityDecrementAction: &'static NSAccessibilityActionName; + pub static NSAccessibilityDecrementAction: &'static NSAccessibilityActionName; } extern "C" { - static NSAccessibilityConfirmAction: &'static NSAccessibilityActionName; + pub static NSAccessibilityConfirmAction: &'static NSAccessibilityActionName; } extern "C" { - static NSAccessibilityPickAction: &'static NSAccessibilityActionName; + pub static NSAccessibilityPickAction: &'static NSAccessibilityActionName; } extern "C" { - static NSAccessibilityCancelAction: &'static NSAccessibilityActionName; + pub static NSAccessibilityCancelAction: &'static NSAccessibilityActionName; } extern "C" { - static NSAccessibilityRaiseAction: &'static NSAccessibilityActionName; + pub static NSAccessibilityRaiseAction: &'static NSAccessibilityActionName; } extern "C" { - static NSAccessibilityShowMenuAction: &'static NSAccessibilityActionName; + pub static NSAccessibilityShowMenuAction: &'static NSAccessibilityActionName; } extern "C" { - static NSAccessibilityDeleteAction: &'static NSAccessibilityActionName; + pub static NSAccessibilityDeleteAction: &'static NSAccessibilityActionName; } extern "C" { - static NSAccessibilityShowAlternateUIAction: &'static NSAccessibilityActionName; + pub static NSAccessibilityShowAlternateUIAction: &'static NSAccessibilityActionName; } extern "C" { - static NSAccessibilityShowDefaultUIAction: &'static NSAccessibilityActionName; + pub static NSAccessibilityShowDefaultUIAction: &'static NSAccessibilityActionName; } pub type NSAccessibilityNotificationName = NSString; extern "C" { - static NSAccessibilityMainWindowChangedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilityMainWindowChangedNotification: + &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityFocusedWindowChangedNotification: + pub static NSAccessibilityFocusedWindowChangedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityFocusedUIElementChangedNotification: + pub static NSAccessibilityFocusedUIElementChangedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityApplicationActivatedNotification: + pub static NSAccessibilityApplicationActivatedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityApplicationDeactivatedNotification: + pub static NSAccessibilityApplicationDeactivatedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityApplicationHiddenNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilityApplicationHiddenNotification: + &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityApplicationShownNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilityApplicationShownNotification: + &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityWindowCreatedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilityWindowCreatedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityWindowMovedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilityWindowMovedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityWindowResizedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilityWindowResizedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityWindowMiniaturizedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilityWindowMiniaturizedNotification: + &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityWindowDeminiaturizedNotification: + pub static NSAccessibilityWindowDeminiaturizedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityDrawerCreatedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilityDrawerCreatedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilitySheetCreatedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilitySheetCreatedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityUIElementDestroyedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilityUIElementDestroyedNotification: + &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityValueChangedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilityValueChangedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityTitleChangedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilityTitleChangedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityResizedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilityResizedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityMovedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilityMovedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityCreatedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilityCreatedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityLayoutChangedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilityLayoutChangedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityHelpTagCreatedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilityHelpTagCreatedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilitySelectedTextChangedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilitySelectedTextChangedNotification: + &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityRowCountChangedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilityRowCountChangedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilitySelectedChildrenChangedNotification: + pub static NSAccessibilitySelectedChildrenChangedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilitySelectedRowsChangedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilitySelectedRowsChangedNotification: + &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilitySelectedColumnsChangedNotification: + pub static NSAccessibilitySelectedColumnsChangedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityRowExpandedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilityRowExpandedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityRowCollapsedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilityRowCollapsedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilitySelectedCellsChangedNotification: + pub static NSAccessibilitySelectedCellsChangedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityUnitsChangedNotification: &'static NSAccessibilityNotificationName; + pub static NSAccessibilityUnitsChangedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilitySelectedChildrenMovedNotification: + pub static NSAccessibilitySelectedChildrenMovedNotification: &'static NSAccessibilityNotificationName; } extern "C" { - static NSAccessibilityAnnouncementRequestedNotification: + pub static NSAccessibilityAnnouncementRequestedNotification: &'static NSAccessibilityNotificationName; } pub type NSAccessibilityRole = NSString; extern "C" { - static NSAccessibilityUnknownRole: &'static NSAccessibilityRole; + pub static NSAccessibilityUnknownRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityButtonRole: &'static NSAccessibilityRole; + pub static NSAccessibilityButtonRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityRadioButtonRole: &'static NSAccessibilityRole; + pub static NSAccessibilityRadioButtonRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityCheckBoxRole: &'static NSAccessibilityRole; + pub static NSAccessibilityCheckBoxRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilitySliderRole: &'static NSAccessibilityRole; + pub static NSAccessibilitySliderRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityTabGroupRole: &'static NSAccessibilityRole; + pub static NSAccessibilityTabGroupRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityTextFieldRole: &'static NSAccessibilityRole; + pub static NSAccessibilityTextFieldRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityStaticTextRole: &'static NSAccessibilityRole; + pub static NSAccessibilityStaticTextRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityTextAreaRole: &'static NSAccessibilityRole; + pub static NSAccessibilityTextAreaRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityScrollAreaRole: &'static NSAccessibilityRole; + pub static NSAccessibilityScrollAreaRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityPopUpButtonRole: &'static NSAccessibilityRole; + pub static NSAccessibilityPopUpButtonRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityMenuButtonRole: &'static NSAccessibilityRole; + pub static NSAccessibilityMenuButtonRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityTableRole: &'static NSAccessibilityRole; + pub static NSAccessibilityTableRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityApplicationRole: &'static NSAccessibilityRole; + pub static NSAccessibilityApplicationRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityGroupRole: &'static NSAccessibilityRole; + pub static NSAccessibilityGroupRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityRadioGroupRole: &'static NSAccessibilityRole; + pub static NSAccessibilityRadioGroupRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityListRole: &'static NSAccessibilityRole; + pub static NSAccessibilityListRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityScrollBarRole: &'static NSAccessibilityRole; + pub static NSAccessibilityScrollBarRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityValueIndicatorRole: &'static NSAccessibilityRole; + pub static NSAccessibilityValueIndicatorRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityImageRole: &'static NSAccessibilityRole; + pub static NSAccessibilityImageRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityMenuBarRole: &'static NSAccessibilityRole; + pub static NSAccessibilityMenuBarRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityMenuBarItemRole: &'static NSAccessibilityRole; + pub static NSAccessibilityMenuBarItemRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityMenuRole: &'static NSAccessibilityRole; + pub static NSAccessibilityMenuRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityMenuItemRole: &'static NSAccessibilityRole; + pub static NSAccessibilityMenuItemRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityColumnRole: &'static NSAccessibilityRole; + pub static NSAccessibilityColumnRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityRowRole: &'static NSAccessibilityRole; + pub static NSAccessibilityRowRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityToolbarRole: &'static NSAccessibilityRole; + pub static NSAccessibilityToolbarRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityBusyIndicatorRole: &'static NSAccessibilityRole; + pub static NSAccessibilityBusyIndicatorRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityProgressIndicatorRole: &'static NSAccessibilityRole; + pub static NSAccessibilityProgressIndicatorRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityWindowRole: &'static NSAccessibilityRole; + pub static NSAccessibilityWindowRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityDrawerRole: &'static NSAccessibilityRole; + pub static NSAccessibilityDrawerRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilitySystemWideRole: &'static NSAccessibilityRole; + pub static NSAccessibilitySystemWideRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityOutlineRole: &'static NSAccessibilityRole; + pub static NSAccessibilityOutlineRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityIncrementorRole: &'static NSAccessibilityRole; + pub static NSAccessibilityIncrementorRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityBrowserRole: &'static NSAccessibilityRole; + pub static NSAccessibilityBrowserRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityComboBoxRole: &'static NSAccessibilityRole; + pub static NSAccessibilityComboBoxRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilitySplitGroupRole: &'static NSAccessibilityRole; + pub static NSAccessibilitySplitGroupRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilitySplitterRole: &'static NSAccessibilityRole; + pub static NSAccessibilitySplitterRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityColorWellRole: &'static NSAccessibilityRole; + pub static NSAccessibilityColorWellRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityGrowAreaRole: &'static NSAccessibilityRole; + pub static NSAccessibilityGrowAreaRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilitySheetRole: &'static NSAccessibilityRole; + pub static NSAccessibilitySheetRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityHelpTagRole: &'static NSAccessibilityRole; + pub static NSAccessibilityHelpTagRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityMatteRole: &'static NSAccessibilityRole; + pub static NSAccessibilityMatteRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityRulerRole: &'static NSAccessibilityRole; + pub static NSAccessibilityRulerRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityRulerMarkerRole: &'static NSAccessibilityRole; + pub static NSAccessibilityRulerMarkerRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityLinkRole: &'static NSAccessibilityRole; + pub static NSAccessibilityLinkRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityDisclosureTriangleRole: &'static NSAccessibilityRole; + pub static NSAccessibilityDisclosureTriangleRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityGridRole: &'static NSAccessibilityRole; + pub static NSAccessibilityGridRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityRelevanceIndicatorRole: &'static NSAccessibilityRole; + pub static NSAccessibilityRelevanceIndicatorRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityLevelIndicatorRole: &'static NSAccessibilityRole; + pub static NSAccessibilityLevelIndicatorRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityCellRole: &'static NSAccessibilityRole; + pub static NSAccessibilityCellRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityPopoverRole: &'static NSAccessibilityRole; + pub static NSAccessibilityPopoverRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityPageRole: &'static NSAccessibilityRole; + pub static NSAccessibilityPageRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityLayoutAreaRole: &'static NSAccessibilityRole; + pub static NSAccessibilityLayoutAreaRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityLayoutItemRole: &'static NSAccessibilityRole; + pub static NSAccessibilityLayoutItemRole: &'static NSAccessibilityRole; } extern "C" { - static NSAccessibilityHandleRole: &'static NSAccessibilityRole; + pub static NSAccessibilityHandleRole: &'static NSAccessibilityRole; } pub type NSAccessibilitySubrole = NSString; extern "C" { - static NSAccessibilityUnknownSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityUnknownSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityCloseButtonSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityCloseButtonSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityZoomButtonSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityZoomButtonSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityMinimizeButtonSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityMinimizeButtonSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityToolbarButtonSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityToolbarButtonSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityTableRowSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityTableRowSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityOutlineRowSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityOutlineRowSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilitySecureTextFieldSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilitySecureTextFieldSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityStandardWindowSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityStandardWindowSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityDialogSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityDialogSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilitySystemDialogSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilitySystemDialogSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityFloatingWindowSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityFloatingWindowSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilitySystemFloatingWindowSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilitySystemFloatingWindowSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityIncrementArrowSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityIncrementArrowSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityDecrementArrowSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityDecrementArrowSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityIncrementPageSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityIncrementPageSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityDecrementPageSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityDecrementPageSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilitySearchFieldSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilitySearchFieldSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityTextAttachmentSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityTextAttachmentSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityTextLinkSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityTextLinkSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityTimelineSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityTimelineSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilitySortButtonSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilitySortButtonSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityRatingIndicatorSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityRatingIndicatorSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityContentListSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityContentListSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityDefinitionListSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityDefinitionListSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityFullScreenButtonSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityFullScreenButtonSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityToggleSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityToggleSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilitySwitchSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilitySwitchSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityDescriptionListSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityDescriptionListSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityTabButtonSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityTabButtonSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilityCollectionListSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilityCollectionListSubrole: &'static NSAccessibilitySubrole; } extern "C" { - static NSAccessibilitySectionListSubrole: &'static NSAccessibilitySubrole; + pub static NSAccessibilitySectionListSubrole: &'static NSAccessibilitySubrole; } pub type NSAccessibilityNotificationUserInfoKey = NSString; extern "C" { - static NSAccessibilityUIElementsKey: &'static NSAccessibilityNotificationUserInfoKey; + pub static NSAccessibilityUIElementsKey: &'static NSAccessibilityNotificationUserInfoKey; } extern "C" { - static NSAccessibilityPriorityKey: &'static NSAccessibilityNotificationUserInfoKey; + pub static NSAccessibilityPriorityKey: &'static NSAccessibilityNotificationUserInfoKey; } extern "C" { - static NSAccessibilityAnnouncementKey: &'static NSAccessibilityNotificationUserInfoKey; + pub static NSAccessibilityAnnouncementKey: &'static NSAccessibilityNotificationUserInfoKey; } pub type NSAccessibilityPriorityLevel = NSInteger; @@ -1370,5 +1388,5 @@ pub const NSAccessibilityPriorityHigh: NSAccessibilityPriorityLevel = 90; pub type NSAccessibilityLoadingToken = TodoProtocols; extern "C" { - static NSAccessibilitySortButtonRole: &'static NSAccessibilityRole; + pub static NSAccessibilitySortButtonRole: &'static NSAccessibilityRole; } diff --git a/icrate/src/AppKit/generated/NSAlert.rs b/icrate/src/AppKit/generated/NSAlert.rs index 2fb566ae4..f267a1cba 100644 --- a/icrate/src/AppKit/generated/NSAlert.rs +++ b/icrate/src/AppKit/generated/NSAlert.rs @@ -9,11 +9,11 @@ pub const NSAlertStyleWarning: NSAlertStyle = 0; pub const NSAlertStyleInformational: NSAlertStyle = 1; pub const NSAlertStyleCritical: NSAlertStyle = 2; -static NSAlertFirstButtonReturn: NSModalResponse = 1000; +pub static NSAlertFirstButtonReturn: NSModalResponse = 1000; -static NSAlertSecondButtonReturn: NSModalResponse = 1001; +pub static NSAlertSecondButtonReturn: NSModalResponse = 1001; -static NSAlertThirdButtonReturn: NSModalResponse = 1002; +pub static NSAlertThirdButtonReturn: NSModalResponse = 1002; extern_class!( #[derive(Debug)] @@ -126,8 +126,8 @@ extern_methods!( } ); -static NSWarningAlertStyle: NSAlertStyle = NSAlertStyleWarning; +pub static NSWarningAlertStyle: NSAlertStyle = NSAlertStyleWarning; -static NSInformationalAlertStyle: NSAlertStyle = NSAlertStyleInformational; +pub static NSInformationalAlertStyle: NSAlertStyle = NSAlertStyleInformational; -static NSCriticalAlertStyle: NSAlertStyle = NSAlertStyleCritical; +pub static NSCriticalAlertStyle: NSAlertStyle = NSAlertStyleCritical; diff --git a/icrate/src/AppKit/generated/NSAnimation.rs b/icrate/src/AppKit/generated/NSAnimation.rs index 2d1ed3758..ae1925306 100644 --- a/icrate/src/AppKit/generated/NSAnimation.rs +++ b/icrate/src/AppKit/generated/NSAnimation.rs @@ -16,11 +16,11 @@ pub const NSAnimationNonblocking: NSAnimationBlockingMode = 1; pub const NSAnimationNonblockingThreaded: NSAnimationBlockingMode = 2; extern "C" { - static NSAnimationProgressMarkNotification: &'static NSNotificationName; + pub static NSAnimationProgressMarkNotification: &'static NSNotificationName; } extern "C" { - static NSAnimationProgressMark: &'static NSString; + pub static NSAnimationProgressMark: &'static NSString; } extern_class!( @@ -138,29 +138,29 @@ pub type NSAnimationDelegate = NSObject; pub type NSViewAnimationKey = NSString; extern "C" { - static NSViewAnimationTargetKey: &'static NSViewAnimationKey; + pub static NSViewAnimationTargetKey: &'static NSViewAnimationKey; } extern "C" { - static NSViewAnimationStartFrameKey: &'static NSViewAnimationKey; + pub static NSViewAnimationStartFrameKey: &'static NSViewAnimationKey; } extern "C" { - static NSViewAnimationEndFrameKey: &'static NSViewAnimationKey; + pub static NSViewAnimationEndFrameKey: &'static NSViewAnimationKey; } extern "C" { - static NSViewAnimationEffectKey: &'static NSViewAnimationKey; + pub static NSViewAnimationEffectKey: &'static NSViewAnimationKey; } pub type NSViewAnimationEffectName = NSString; extern "C" { - static NSViewAnimationFadeInEffect: &'static NSViewAnimationEffectName; + pub static NSViewAnimationFadeInEffect: &'static NSViewAnimationEffectName; } extern "C" { - static NSViewAnimationFadeOutEffect: &'static NSViewAnimationEffectName; + pub static NSViewAnimationFadeOutEffect: &'static NSViewAnimationEffectName; } extern_class!( @@ -198,9 +198,9 @@ pub type NSAnimatablePropertyKey = NSString; pub type NSAnimatablePropertyContainer = NSObject; extern "C" { - static NSAnimationTriggerOrderIn: &'static NSAnimatablePropertyKey; + pub static NSAnimationTriggerOrderIn: &'static NSAnimatablePropertyKey; } extern "C" { - static NSAnimationTriggerOrderOut: &'static NSAnimatablePropertyKey; + pub static NSAnimationTriggerOrderOut: &'static NSAnimatablePropertyKey; } diff --git a/icrate/src/AppKit/generated/NSAppearance.rs b/icrate/src/AppKit/generated/NSAppearance.rs index ff79a7a17..e57887513 100644 --- a/icrate/src/AppKit/generated/NSAppearance.rs +++ b/icrate/src/AppKit/generated/NSAppearance.rs @@ -57,39 +57,39 @@ extern_methods!( ); extern "C" { - static NSAppearanceNameAqua: &'static NSAppearanceName; + pub static NSAppearanceNameAqua: &'static NSAppearanceName; } extern "C" { - static NSAppearanceNameDarkAqua: &'static NSAppearanceName; + pub static NSAppearanceNameDarkAqua: &'static NSAppearanceName; } extern "C" { - static NSAppearanceNameLightContent: &'static NSAppearanceName; + pub static NSAppearanceNameLightContent: &'static NSAppearanceName; } extern "C" { - static NSAppearanceNameVibrantDark: &'static NSAppearanceName; + pub static NSAppearanceNameVibrantDark: &'static NSAppearanceName; } extern "C" { - static NSAppearanceNameVibrantLight: &'static NSAppearanceName; + pub static NSAppearanceNameVibrantLight: &'static NSAppearanceName; } extern "C" { - static NSAppearanceNameAccessibilityHighContrastAqua: &'static NSAppearanceName; + pub static NSAppearanceNameAccessibilityHighContrastAqua: &'static NSAppearanceName; } extern "C" { - static NSAppearanceNameAccessibilityHighContrastDarkAqua: &'static NSAppearanceName; + pub static NSAppearanceNameAccessibilityHighContrastDarkAqua: &'static NSAppearanceName; } extern "C" { - static NSAppearanceNameAccessibilityHighContrastVibrantLight: &'static NSAppearanceName; + pub static NSAppearanceNameAccessibilityHighContrastVibrantLight: &'static NSAppearanceName; } extern "C" { - static NSAppearanceNameAccessibilityHighContrastVibrantDark: &'static NSAppearanceName; + pub static NSAppearanceNameAccessibilityHighContrastVibrantDark: &'static NSAppearanceName; } pub type NSAppearanceCustomization = NSObject; diff --git a/icrate/src/AppKit/generated/NSApplication.rs b/icrate/src/AppKit/generated/NSApplication.rs index 5bd08d062..78981e8e5 100644 --- a/icrate/src/AppKit/generated/NSApplication.rs +++ b/icrate/src/AppKit/generated/NSApplication.rs @@ -5,144 +5,144 @@ use crate::AppKit::*; use crate::Foundation::*; extern "C" { - static NSAppKitVersionNumber: NSAppKitVersion; + pub static NSAppKitVersionNumber: NSAppKitVersion; } -static NSAppKitVersionNumber10_0: NSAppKitVersion = 577; +pub static NSAppKitVersionNumber10_0: NSAppKitVersion = 577; -static NSAppKitVersionNumber10_1: NSAppKitVersion = 620; +pub static NSAppKitVersionNumber10_1: NSAppKitVersion = 620; -static NSAppKitVersionNumber10_2: NSAppKitVersion = 663; +pub static NSAppKitVersionNumber10_2: NSAppKitVersion = 663; -static NSAppKitVersionNumber10_2_3: NSAppKitVersion = 663.6; +pub static NSAppKitVersionNumber10_2_3: NSAppKitVersion = 663.6; -static NSAppKitVersionNumber10_3: NSAppKitVersion = 743; +pub static NSAppKitVersionNumber10_3: NSAppKitVersion = 743; -static NSAppKitVersionNumber10_3_2: NSAppKitVersion = 743.14; +pub static NSAppKitVersionNumber10_3_2: NSAppKitVersion = 743.14; -static NSAppKitVersionNumber10_3_3: NSAppKitVersion = 743.2; +pub static NSAppKitVersionNumber10_3_3: NSAppKitVersion = 743.2; -static NSAppKitVersionNumber10_3_5: NSAppKitVersion = 743.24; +pub static NSAppKitVersionNumber10_3_5: NSAppKitVersion = 743.24; -static NSAppKitVersionNumber10_3_7: NSAppKitVersion = 743.33; +pub static NSAppKitVersionNumber10_3_7: NSAppKitVersion = 743.33; -static NSAppKitVersionNumber10_3_9: NSAppKitVersion = 743.36; +pub static NSAppKitVersionNumber10_3_9: NSAppKitVersion = 743.36; -static NSAppKitVersionNumber10_4: NSAppKitVersion = 824; +pub static NSAppKitVersionNumber10_4: NSAppKitVersion = 824; -static NSAppKitVersionNumber10_4_1: NSAppKitVersion = 824.1; +pub static NSAppKitVersionNumber10_4_1: NSAppKitVersion = 824.1; -static NSAppKitVersionNumber10_4_3: NSAppKitVersion = 824.23; +pub static NSAppKitVersionNumber10_4_3: NSAppKitVersion = 824.23; -static NSAppKitVersionNumber10_4_4: NSAppKitVersion = 824.33; +pub static NSAppKitVersionNumber10_4_4: NSAppKitVersion = 824.33; -static NSAppKitVersionNumber10_4_7: NSAppKitVersion = 824.41; +pub static NSAppKitVersionNumber10_4_7: NSAppKitVersion = 824.41; -static NSAppKitVersionNumber10_5: NSAppKitVersion = 949; +pub static NSAppKitVersionNumber10_5: NSAppKitVersion = 949; -static NSAppKitVersionNumber10_5_2: NSAppKitVersion = 949.27; +pub static NSAppKitVersionNumber10_5_2: NSAppKitVersion = 949.27; -static NSAppKitVersionNumber10_5_3: NSAppKitVersion = 949.33; +pub static NSAppKitVersionNumber10_5_3: NSAppKitVersion = 949.33; -static NSAppKitVersionNumber10_6: NSAppKitVersion = 1038; +pub static NSAppKitVersionNumber10_6: NSAppKitVersion = 1038; -static NSAppKitVersionNumber10_7: NSAppKitVersion = 1138; +pub static NSAppKitVersionNumber10_7: NSAppKitVersion = 1138; -static NSAppKitVersionNumber10_7_2: NSAppKitVersion = 1138.23; +pub static NSAppKitVersionNumber10_7_2: NSAppKitVersion = 1138.23; -static NSAppKitVersionNumber10_7_3: NSAppKitVersion = 1138.32; +pub static NSAppKitVersionNumber10_7_3: NSAppKitVersion = 1138.32; -static NSAppKitVersionNumber10_7_4: NSAppKitVersion = 1138.47; +pub static NSAppKitVersionNumber10_7_4: NSAppKitVersion = 1138.47; -static NSAppKitVersionNumber10_8: NSAppKitVersion = 1187; +pub static NSAppKitVersionNumber10_8: NSAppKitVersion = 1187; -static NSAppKitVersionNumber10_9: NSAppKitVersion = 1265; +pub static NSAppKitVersionNumber10_9: NSAppKitVersion = 1265; -static NSAppKitVersionNumber10_10: NSAppKitVersion = 1343; +pub static NSAppKitVersionNumber10_10: NSAppKitVersion = 1343; -static NSAppKitVersionNumber10_10_2: NSAppKitVersion = 1344; +pub static NSAppKitVersionNumber10_10_2: NSAppKitVersion = 1344; -static NSAppKitVersionNumber10_10_3: NSAppKitVersion = 1347; +pub static NSAppKitVersionNumber10_10_3: NSAppKitVersion = 1347; -static NSAppKitVersionNumber10_10_4: NSAppKitVersion = 1348; +pub static NSAppKitVersionNumber10_10_4: NSAppKitVersion = 1348; -static NSAppKitVersionNumber10_10_5: NSAppKitVersion = 1348; +pub static NSAppKitVersionNumber10_10_5: NSAppKitVersion = 1348; -static NSAppKitVersionNumber10_10_Max: NSAppKitVersion = 1349; +pub static NSAppKitVersionNumber10_10_Max: NSAppKitVersion = 1349; -static NSAppKitVersionNumber10_11: NSAppKitVersion = 1404; +pub static NSAppKitVersionNumber10_11: NSAppKitVersion = 1404; -static NSAppKitVersionNumber10_11_1: NSAppKitVersion = 1404.13; +pub static NSAppKitVersionNumber10_11_1: NSAppKitVersion = 1404.13; -static NSAppKitVersionNumber10_11_2: NSAppKitVersion = 1404.34; +pub static NSAppKitVersionNumber10_11_2: NSAppKitVersion = 1404.34; -static NSAppKitVersionNumber10_11_3: NSAppKitVersion = 1404.34; +pub static NSAppKitVersionNumber10_11_3: NSAppKitVersion = 1404.34; -static NSAppKitVersionNumber10_12: NSAppKitVersion = 1504; +pub static NSAppKitVersionNumber10_12: NSAppKitVersion = 1504; -static NSAppKitVersionNumber10_12_1: NSAppKitVersion = 1504.60; +pub static NSAppKitVersionNumber10_12_1: NSAppKitVersion = 1504.60; -static NSAppKitVersionNumber10_12_2: NSAppKitVersion = 1504.76; +pub static NSAppKitVersionNumber10_12_2: NSAppKitVersion = 1504.76; -static NSAppKitVersionNumber10_13: NSAppKitVersion = 1561; +pub static NSAppKitVersionNumber10_13: NSAppKitVersion = 1561; -static NSAppKitVersionNumber10_13_1: NSAppKitVersion = 1561.1; +pub static NSAppKitVersionNumber10_13_1: NSAppKitVersion = 1561.1; -static NSAppKitVersionNumber10_13_2: NSAppKitVersion = 1561.2; +pub static NSAppKitVersionNumber10_13_2: NSAppKitVersion = 1561.2; -static NSAppKitVersionNumber10_13_4: NSAppKitVersion = 1561.4; +pub static NSAppKitVersionNumber10_13_4: NSAppKitVersion = 1561.4; -static NSAppKitVersionNumber10_14: NSAppKitVersion = 1671; +pub static NSAppKitVersionNumber10_14: NSAppKitVersion = 1671; -static NSAppKitVersionNumber10_14_1: NSAppKitVersion = 1671.1; +pub static NSAppKitVersionNumber10_14_1: NSAppKitVersion = 1671.1; -static NSAppKitVersionNumber10_14_2: NSAppKitVersion = 1671.2; +pub static NSAppKitVersionNumber10_14_2: NSAppKitVersion = 1671.2; -static NSAppKitVersionNumber10_14_3: NSAppKitVersion = 1671.3; +pub static NSAppKitVersionNumber10_14_3: NSAppKitVersion = 1671.3; -static NSAppKitVersionNumber10_14_4: NSAppKitVersion = 1671.4; +pub static NSAppKitVersionNumber10_14_4: NSAppKitVersion = 1671.4; -static NSAppKitVersionNumber10_14_5: NSAppKitVersion = 1671.5; +pub static NSAppKitVersionNumber10_14_5: NSAppKitVersion = 1671.5; -static NSAppKitVersionNumber10_15: NSAppKitVersion = 1894; +pub static NSAppKitVersionNumber10_15: NSAppKitVersion = 1894; -static NSAppKitVersionNumber10_15_1: NSAppKitVersion = 1894.1; +pub static NSAppKitVersionNumber10_15_1: NSAppKitVersion = 1894.1; -static NSAppKitVersionNumber10_15_2: NSAppKitVersion = 1894.2; +pub static NSAppKitVersionNumber10_15_2: NSAppKitVersion = 1894.2; -static NSAppKitVersionNumber10_15_3: NSAppKitVersion = 1894.3; +pub static NSAppKitVersionNumber10_15_3: NSAppKitVersion = 1894.3; -static NSAppKitVersionNumber10_15_4: NSAppKitVersion = 1894.4; +pub static NSAppKitVersionNumber10_15_4: NSAppKitVersion = 1894.4; -static NSAppKitVersionNumber10_15_5: NSAppKitVersion = 1894.5; +pub static NSAppKitVersionNumber10_15_5: NSAppKitVersion = 1894.5; -static NSAppKitVersionNumber10_15_6: NSAppKitVersion = 1894.6; +pub static NSAppKitVersionNumber10_15_6: NSAppKitVersion = 1894.6; -static NSAppKitVersionNumber11_0: NSAppKitVersion = 2022; +pub static NSAppKitVersionNumber11_0: NSAppKitVersion = 2022; -static NSAppKitVersionNumber11_1: NSAppKitVersion = 2022.2; +pub static NSAppKitVersionNumber11_1: NSAppKitVersion = 2022.2; -static NSAppKitVersionNumber11_2: NSAppKitVersion = 2022.3; +pub static NSAppKitVersionNumber11_2: NSAppKitVersion = 2022.3; -static NSAppKitVersionNumber11_3: NSAppKitVersion = 2022.4; +pub static NSAppKitVersionNumber11_3: NSAppKitVersion = 2022.4; -static NSAppKitVersionNumber11_4: NSAppKitVersion = 2022.5; +pub static NSAppKitVersionNumber11_4: NSAppKitVersion = 2022.5; extern "C" { - static NSModalPanelRunLoopMode: &'static NSRunLoopMode; + pub static NSModalPanelRunLoopMode: &'static NSRunLoopMode; } extern "C" { - static NSEventTrackingRunLoopMode: &'static NSRunLoopMode; + pub static NSEventTrackingRunLoopMode: &'static NSRunLoopMode; } pub type NSModalResponse = NSInteger; -static NSModalResponseStop: NSModalResponse = -1000; +pub static NSModalResponseStop: NSModalResponse = -1000; -static NSModalResponseAbort: NSModalResponse = -1001; +pub static NSModalResponseAbort: NSModalResponse = -1001; -static NSModalResponseContinue: NSModalResponse = -1002; +pub static NSModalResponseContinue: NSModalResponse = -1002; pub const NSUpdateWindowsRunLoopOrdering: i32 = 500000; @@ -174,7 +174,7 @@ pub type NSWindowListOptions = NSInteger; pub const NSWindowListOrderedFrontToBack: NSWindowListOptions = 1 << 0; extern "C" { - static NSApp: Option<&'static NSApplication>; + pub static NSApp: Option<&'static NSApplication>; } pub type NSRequestUserAttentionType = NSUInteger; @@ -553,23 +553,23 @@ extern_methods!( pub type NSAboutPanelOptionKey = NSString; extern "C" { - static NSAboutPanelOptionCredits: &'static NSAboutPanelOptionKey; + pub static NSAboutPanelOptionCredits: &'static NSAboutPanelOptionKey; } extern "C" { - static NSAboutPanelOptionApplicationName: &'static NSAboutPanelOptionKey; + pub static NSAboutPanelOptionApplicationName: &'static NSAboutPanelOptionKey; } extern "C" { - static NSAboutPanelOptionApplicationIcon: &'static NSAboutPanelOptionKey; + pub static NSAboutPanelOptionApplicationIcon: &'static NSAboutPanelOptionKey; } extern "C" { - static NSAboutPanelOptionVersion: &'static NSAboutPanelOptionKey; + pub static NSAboutPanelOptionVersion: &'static NSAboutPanelOptionKey; } extern "C" { - static NSAboutPanelOptionApplicationVersion: &'static NSAboutPanelOptionKey; + pub static NSAboutPanelOptionApplicationVersion: &'static NSAboutPanelOptionKey; } extern_methods!( @@ -634,83 +634,85 @@ extern_methods!( pub type NSServiceProviderName = NSString; extern "C" { - static NSApplicationDidBecomeActiveNotification: &'static NSNotificationName; + pub static NSApplicationDidBecomeActiveNotification: &'static NSNotificationName; } extern "C" { - static NSApplicationDidHideNotification: &'static NSNotificationName; + pub static NSApplicationDidHideNotification: &'static NSNotificationName; } extern "C" { - static NSApplicationDidFinishLaunchingNotification: &'static NSNotificationName; + pub static NSApplicationDidFinishLaunchingNotification: &'static NSNotificationName; } extern "C" { - static NSApplicationDidResignActiveNotification: &'static NSNotificationName; + pub static NSApplicationDidResignActiveNotification: &'static NSNotificationName; } extern "C" { - static NSApplicationDidUnhideNotification: &'static NSNotificationName; + pub static NSApplicationDidUnhideNotification: &'static NSNotificationName; } extern "C" { - static NSApplicationDidUpdateNotification: &'static NSNotificationName; + pub static NSApplicationDidUpdateNotification: &'static NSNotificationName; } extern "C" { - static NSApplicationWillBecomeActiveNotification: &'static NSNotificationName; + pub static NSApplicationWillBecomeActiveNotification: &'static NSNotificationName; } extern "C" { - static NSApplicationWillHideNotification: &'static NSNotificationName; + pub static NSApplicationWillHideNotification: &'static NSNotificationName; } extern "C" { - static NSApplicationWillFinishLaunchingNotification: &'static NSNotificationName; + pub static NSApplicationWillFinishLaunchingNotification: &'static NSNotificationName; } extern "C" { - static NSApplicationWillResignActiveNotification: &'static NSNotificationName; + pub static NSApplicationWillResignActiveNotification: &'static NSNotificationName; } extern "C" { - static NSApplicationWillUnhideNotification: &'static NSNotificationName; + pub static NSApplicationWillUnhideNotification: &'static NSNotificationName; } extern "C" { - static NSApplicationWillUpdateNotification: &'static NSNotificationName; + pub static NSApplicationWillUpdateNotification: &'static NSNotificationName; } extern "C" { - static NSApplicationWillTerminateNotification: &'static NSNotificationName; + pub static NSApplicationWillTerminateNotification: &'static NSNotificationName; } extern "C" { - static NSApplicationDidChangeScreenParametersNotification: &'static NSNotificationName; + pub static NSApplicationDidChangeScreenParametersNotification: &'static NSNotificationName; } extern "C" { - static NSApplicationProtectedDataWillBecomeUnavailableNotification: &'static NSNotificationName; + pub static NSApplicationProtectedDataWillBecomeUnavailableNotification: + &'static NSNotificationName; } extern "C" { - static NSApplicationProtectedDataDidBecomeAvailableNotification: &'static NSNotificationName; + pub static NSApplicationProtectedDataDidBecomeAvailableNotification: + &'static NSNotificationName; } extern "C" { - static NSApplicationLaunchIsDefaultLaunchKey: &'static NSString; + pub static NSApplicationLaunchIsDefaultLaunchKey: &'static NSString; } extern "C" { - static NSApplicationLaunchUserNotificationKey: &'static NSString; + pub static NSApplicationLaunchUserNotificationKey: &'static NSString; } extern "C" { - static NSApplicationLaunchRemoteNotificationKey: &'static NSString; + pub static NSApplicationLaunchRemoteNotificationKey: &'static NSString; } extern "C" { - static NSApplicationDidChangeOcclusionStateNotification: &'static NSNotificationName; + pub static NSApplicationDidChangeOcclusionStateNotification: &'static NSNotificationName; } pub const NSRunStoppedResponse: i32 = -1000; diff --git a/icrate/src/AppKit/generated/NSAttributedString.rs b/icrate/src/AppKit/generated/NSAttributedString.rs index d3637792e..09525290c 100644 --- a/icrate/src/AppKit/generated/NSAttributedString.rs +++ b/icrate/src/AppKit/generated/NSAttributedString.rs @@ -5,119 +5,119 @@ use crate::AppKit::*; use crate::Foundation::*; extern "C" { - static NSFontAttributeName: &'static NSAttributedStringKey; + pub static NSFontAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSParagraphStyleAttributeName: &'static NSAttributedStringKey; + pub static NSParagraphStyleAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSForegroundColorAttributeName: &'static NSAttributedStringKey; + pub static NSForegroundColorAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSBackgroundColorAttributeName: &'static NSAttributedStringKey; + pub static NSBackgroundColorAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSLigatureAttributeName: &'static NSAttributedStringKey; + pub static NSLigatureAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSKernAttributeName: &'static NSAttributedStringKey; + pub static NSKernAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSTrackingAttributeName: &'static NSAttributedStringKey; + pub static NSTrackingAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSStrikethroughStyleAttributeName: &'static NSAttributedStringKey; + pub static NSStrikethroughStyleAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSUnderlineStyleAttributeName: &'static NSAttributedStringKey; + pub static NSUnderlineStyleAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSStrokeColorAttributeName: &'static NSAttributedStringKey; + pub static NSStrokeColorAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSStrokeWidthAttributeName: &'static NSAttributedStringKey; + pub static NSStrokeWidthAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSShadowAttributeName: &'static NSAttributedStringKey; + pub static NSShadowAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSTextEffectAttributeName: &'static NSAttributedStringKey; + pub static NSTextEffectAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSAttachmentAttributeName: &'static NSAttributedStringKey; + pub static NSAttachmentAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSLinkAttributeName: &'static NSAttributedStringKey; + pub static NSLinkAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSBaselineOffsetAttributeName: &'static NSAttributedStringKey; + pub static NSBaselineOffsetAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSUnderlineColorAttributeName: &'static NSAttributedStringKey; + pub static NSUnderlineColorAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSStrikethroughColorAttributeName: &'static NSAttributedStringKey; + pub static NSStrikethroughColorAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSObliquenessAttributeName: &'static NSAttributedStringKey; + pub static NSObliquenessAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSExpansionAttributeName: &'static NSAttributedStringKey; + pub static NSExpansionAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSWritingDirectionAttributeName: &'static NSAttributedStringKey; + pub static NSWritingDirectionAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSVerticalGlyphFormAttributeName: &'static NSAttributedStringKey; + pub static NSVerticalGlyphFormAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSCursorAttributeName: &'static NSAttributedStringKey; + pub static NSCursorAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSToolTipAttributeName: &'static NSAttributedStringKey; + pub static NSToolTipAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSMarkedClauseSegmentAttributeName: &'static NSAttributedStringKey; + pub static NSMarkedClauseSegmentAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSTextAlternativesAttributeName: &'static NSAttributedStringKey; + pub static NSTextAlternativesAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSSpellingStateAttributeName: &'static NSAttributedStringKey; + pub static NSSpellingStateAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSSuperscriptAttributeName: &'static NSAttributedStringKey; + pub static NSSuperscriptAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSGlyphInfoAttributeName: &'static NSAttributedStringKey; + pub static NSGlyphInfoAttributeName: &'static NSAttributedStringKey; } pub type NSUnderlineStyle = NSInteger; @@ -139,7 +139,7 @@ pub const NSWritingDirectionOverride: NSWritingDirectionFormatType = 1 << 1; pub type NSTextEffectStyle = NSString; extern "C" { - static NSTextEffectLetterpressStyle: &'static NSTextEffectStyle; + pub static NSTextEffectLetterpressStyle: &'static NSTextEffectStyle; } pub type NSSpellingState = NSInteger; @@ -166,53 +166,53 @@ extern_methods!( pub type NSAttributedStringDocumentType = NSString; extern "C" { - static NSPlainTextDocumentType: &'static NSAttributedStringDocumentType; + pub static NSPlainTextDocumentType: &'static NSAttributedStringDocumentType; } extern "C" { - static NSRTFTextDocumentType: &'static NSAttributedStringDocumentType; + pub static NSRTFTextDocumentType: &'static NSAttributedStringDocumentType; } extern "C" { - static NSRTFDTextDocumentType: &'static NSAttributedStringDocumentType; + pub static NSRTFDTextDocumentType: &'static NSAttributedStringDocumentType; } extern "C" { - static NSHTMLTextDocumentType: &'static NSAttributedStringDocumentType; + pub static NSHTMLTextDocumentType: &'static NSAttributedStringDocumentType; } extern "C" { - static NSMacSimpleTextDocumentType: &'static NSAttributedStringDocumentType; + pub static NSMacSimpleTextDocumentType: &'static NSAttributedStringDocumentType; } extern "C" { - static NSDocFormatTextDocumentType: &'static NSAttributedStringDocumentType; + pub static NSDocFormatTextDocumentType: &'static NSAttributedStringDocumentType; } extern "C" { - static NSWordMLTextDocumentType: &'static NSAttributedStringDocumentType; + pub static NSWordMLTextDocumentType: &'static NSAttributedStringDocumentType; } extern "C" { - static NSWebArchiveTextDocumentType: &'static NSAttributedStringDocumentType; + pub static NSWebArchiveTextDocumentType: &'static NSAttributedStringDocumentType; } extern "C" { - static NSOfficeOpenXMLTextDocumentType: &'static NSAttributedStringDocumentType; + pub static NSOfficeOpenXMLTextDocumentType: &'static NSAttributedStringDocumentType; } extern "C" { - static NSOpenDocumentTextDocumentType: &'static NSAttributedStringDocumentType; + pub static NSOpenDocumentTextDocumentType: &'static NSAttributedStringDocumentType; } pub type NSTextLayoutSectionKey = NSString; extern "C" { - static NSTextLayoutSectionOrientation: &'static NSTextLayoutSectionKey; + pub static NSTextLayoutSectionOrientation: &'static NSTextLayoutSectionKey; } extern "C" { - static NSTextLayoutSectionRange: &'static NSTextLayoutSectionKey; + pub static NSTextLayoutSectionRange: &'static NSTextLayoutSectionKey; } pub type NSTextScalingType = NSInteger; @@ -222,202 +222,213 @@ pub const NSTextScalingiOS: NSTextScalingType = 1; pub type NSAttributedStringDocumentAttributeKey = NSString; extern "C" { - static NSDocumentTypeDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSDocumentTypeDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSConvertedDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSConvertedDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSCocoaVersionDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSCocoaVersionDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSFileTypeDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSFileTypeDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSTitleDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSTitleDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSCompanyDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSCompanyDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSCopyrightDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSCopyrightDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSSubjectDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSSubjectDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSAuthorDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSAuthorDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSKeywordsDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSKeywordsDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSCommentDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSCommentDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSEditorDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSEditorDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSCreationTimeDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSCreationTimeDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSModificationTimeDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSModificationTimeDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSManagerDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSManagerDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSCategoryDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSCategoryDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSAppearanceDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSAppearanceDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSCharacterEncodingDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSCharacterEncodingDocumentAttribute: + &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSDefaultAttributesDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSDefaultAttributesDocumentAttribute: + &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSPaperSizeDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSPaperSizeDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSLeftMarginDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSLeftMarginDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSRightMarginDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSRightMarginDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSTopMarginDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSTopMarginDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSBottomMarginDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSBottomMarginDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSViewSizeDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSViewSizeDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSViewZoomDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSViewZoomDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSViewModeDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSViewModeDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSReadOnlyDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSReadOnlyDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSBackgroundColorDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSBackgroundColorDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSHyphenationFactorDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSHyphenationFactorDocumentAttribute: + &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSDefaultTabIntervalDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSDefaultTabIntervalDocumentAttribute: + &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSTextLayoutSectionsAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSTextLayoutSectionsAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSExcludedElementsDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSExcludedElementsDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSTextEncodingNameDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSTextEncodingNameDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSPrefixSpacesDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSPrefixSpacesDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSTextScalingDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSTextScalingDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; } extern "C" { - static NSSourceTextScalingDocumentAttribute: &'static NSAttributedStringDocumentAttributeKey; + pub static NSSourceTextScalingDocumentAttribute: + &'static NSAttributedStringDocumentAttributeKey; } pub type NSAttributedStringDocumentReadingOptionKey = NSString; extern "C" { - static NSDocumentTypeDocumentOption: &'static NSAttributedStringDocumentReadingOptionKey; + pub static NSDocumentTypeDocumentOption: &'static NSAttributedStringDocumentReadingOptionKey; } extern "C" { - static NSDefaultAttributesDocumentOption: &'static NSAttributedStringDocumentReadingOptionKey; + pub static NSDefaultAttributesDocumentOption: + &'static NSAttributedStringDocumentReadingOptionKey; } extern "C" { - static NSCharacterEncodingDocumentOption: &'static NSAttributedStringDocumentReadingOptionKey; + pub static NSCharacterEncodingDocumentOption: + &'static NSAttributedStringDocumentReadingOptionKey; } extern "C" { - static NSTextEncodingNameDocumentOption: &'static NSAttributedStringDocumentReadingOptionKey; + pub static NSTextEncodingNameDocumentOption: + &'static NSAttributedStringDocumentReadingOptionKey; } extern "C" { - static NSBaseURLDocumentOption: &'static NSAttributedStringDocumentReadingOptionKey; + pub static NSBaseURLDocumentOption: &'static NSAttributedStringDocumentReadingOptionKey; } extern "C" { - static NSTimeoutDocumentOption: &'static NSAttributedStringDocumentReadingOptionKey; + pub static NSTimeoutDocumentOption: &'static NSAttributedStringDocumentReadingOptionKey; } extern "C" { - static NSWebPreferencesDocumentOption: &'static NSAttributedStringDocumentReadingOptionKey; + pub static NSWebPreferencesDocumentOption: &'static NSAttributedStringDocumentReadingOptionKey; } extern "C" { - static NSWebResourceLoadDelegateDocumentOption: + pub static NSWebResourceLoadDelegateDocumentOption: &'static NSAttributedStringDocumentReadingOptionKey; } extern "C" { - static NSTextSizeMultiplierDocumentOption: &'static NSAttributedStringDocumentReadingOptionKey; + pub static NSTextSizeMultiplierDocumentOption: + &'static NSAttributedStringDocumentReadingOptionKey; } extern "C" { - static NSFileTypeDocumentOption: &'static NSAttributedStringDocumentReadingOptionKey; + pub static NSFileTypeDocumentOption: &'static NSAttributedStringDocumentReadingOptionKey; } extern "C" { - static NSTargetTextScalingDocumentOption: &'static NSAttributedStringDocumentReadingOptionKey; + pub static NSTargetTextScalingDocumentOption: + &'static NSAttributedStringDocumentReadingOptionKey; } extern "C" { - static NSSourceTextScalingDocumentOption: &'static NSAttributedStringDocumentReadingOptionKey; + pub static NSSourceTextScalingDocumentOption: + &'static NSAttributedStringDocumentReadingOptionKey; } extern_methods!( @@ -709,35 +720,35 @@ extern_methods!( } ); -static NSUnderlinePatternSolid: NSUnderlineStyle = NSUnderlineStylePatternSolid; +pub static NSUnderlinePatternSolid: NSUnderlineStyle = NSUnderlineStylePatternSolid; -static NSUnderlinePatternDot: NSUnderlineStyle = NSUnderlineStylePatternDot; +pub static NSUnderlinePatternDot: NSUnderlineStyle = NSUnderlineStylePatternDot; -static NSUnderlinePatternDash: NSUnderlineStyle = NSUnderlineStylePatternDash; +pub static NSUnderlinePatternDash: NSUnderlineStyle = NSUnderlineStylePatternDash; -static NSUnderlinePatternDashDot: NSUnderlineStyle = NSUnderlineStylePatternDashDot; +pub static NSUnderlinePatternDashDot: NSUnderlineStyle = NSUnderlineStylePatternDashDot; -static NSUnderlinePatternDashDotDot: NSUnderlineStyle = NSUnderlineStylePatternDashDotDot; +pub static NSUnderlinePatternDashDotDot: NSUnderlineStyle = NSUnderlineStylePatternDashDotDot; -static NSUnderlineByWord: NSUnderlineStyle = NSUnderlineStyleByWord; +pub static NSUnderlineByWord: NSUnderlineStyle = NSUnderlineStyleByWord; extern "C" { - static NSCharacterShapeAttributeName: &'static NSAttributedStringKey; + pub static NSCharacterShapeAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSUsesScreenFontsDocumentAttribute: &'static NSAttributedStringKey; + pub static NSUsesScreenFontsDocumentAttribute: &'static NSAttributedStringKey; } pub const NSNoUnderlineStyle: i32 = 0; pub const NSSingleUnderlineStyle: i32 = 1; extern "C" { - static NSUnderlineStrikethroughMask: NSUInteger; + pub static NSUnderlineStrikethroughMask: NSUInteger; } extern "C" { - static NSUnderlineByWordMask: NSUInteger; + pub static NSUnderlineByWordMask: NSUInteger; } extern_methods!( diff --git a/icrate/src/AppKit/generated/NSBezierPath.rs b/icrate/src/AppKit/generated/NSBezierPath.rs index 868652853..28c4c93b6 100644 --- a/icrate/src/AppKit/generated/NSBezierPath.rs +++ b/icrate/src/AppKit/generated/NSBezierPath.rs @@ -329,26 +329,26 @@ extern_methods!( } ); -static NSButtLineCapStyle: NSLineCapStyle = NSLineCapStyleButt; +pub static NSButtLineCapStyle: NSLineCapStyle = NSLineCapStyleButt; -static NSRoundLineCapStyle: NSLineCapStyle = NSLineCapStyleRound; +pub static NSRoundLineCapStyle: NSLineCapStyle = NSLineCapStyleRound; -static NSSquareLineCapStyle: NSLineCapStyle = NSLineCapStyleSquare; +pub static NSSquareLineCapStyle: NSLineCapStyle = NSLineCapStyleSquare; -static NSMiterLineJoinStyle: NSLineJoinStyle = NSLineJoinStyleMiter; +pub static NSMiterLineJoinStyle: NSLineJoinStyle = NSLineJoinStyleMiter; -static NSRoundLineJoinStyle: NSLineJoinStyle = NSLineJoinStyleRound; +pub static NSRoundLineJoinStyle: NSLineJoinStyle = NSLineJoinStyleRound; -static NSBevelLineJoinStyle: NSLineJoinStyle = NSLineJoinStyleBevel; +pub static NSBevelLineJoinStyle: NSLineJoinStyle = NSLineJoinStyleBevel; -static NSNonZeroWindingRule: NSWindingRule = NSWindingRuleNonZero; +pub static NSNonZeroWindingRule: NSWindingRule = NSWindingRuleNonZero; -static NSEvenOddWindingRule: NSWindingRule = NSWindingRuleEvenOdd; +pub static NSEvenOddWindingRule: NSWindingRule = NSWindingRuleEvenOdd; -static NSMoveToBezierPathElement: NSBezierPathElement = NSBezierPathElementMoveTo; +pub static NSMoveToBezierPathElement: NSBezierPathElement = NSBezierPathElementMoveTo; -static NSLineToBezierPathElement: NSBezierPathElement = NSBezierPathElementLineTo; +pub static NSLineToBezierPathElement: NSBezierPathElement = NSBezierPathElementLineTo; -static NSCurveToBezierPathElement: NSBezierPathElement = NSBezierPathElementCurveTo; +pub static NSCurveToBezierPathElement: NSBezierPathElement = NSBezierPathElementCurveTo; -static NSClosePathBezierPathElement: NSBezierPathElement = NSBezierPathElementClosePath; +pub static NSClosePathBezierPathElement: NSBezierPathElement = NSBezierPathElementClosePath; diff --git a/icrate/src/AppKit/generated/NSBitmapImageRep.rs b/icrate/src/AppKit/generated/NSBitmapImageRep.rs index 83297410d..eaf3b74e6 100644 --- a/icrate/src/AppKit/generated/NSBitmapImageRep.rs +++ b/icrate/src/AppKit/generated/NSBitmapImageRep.rs @@ -42,63 +42,63 @@ pub const NSBitmapFormatThirtyTwoBitBigEndian: NSBitmapFormat = 1 << 11; pub type NSBitmapImageRepPropertyKey = NSString; extern "C" { - static NSImageCompressionMethod: &'static NSBitmapImageRepPropertyKey; + pub static NSImageCompressionMethod: &'static NSBitmapImageRepPropertyKey; } extern "C" { - static NSImageCompressionFactor: &'static NSBitmapImageRepPropertyKey; + pub static NSImageCompressionFactor: &'static NSBitmapImageRepPropertyKey; } extern "C" { - static NSImageDitherTransparency: &'static NSBitmapImageRepPropertyKey; + pub static NSImageDitherTransparency: &'static NSBitmapImageRepPropertyKey; } extern "C" { - static NSImageRGBColorTable: &'static NSBitmapImageRepPropertyKey; + pub static NSImageRGBColorTable: &'static NSBitmapImageRepPropertyKey; } extern "C" { - static NSImageInterlaced: &'static NSBitmapImageRepPropertyKey; + pub static NSImageInterlaced: &'static NSBitmapImageRepPropertyKey; } extern "C" { - static NSImageColorSyncProfileData: &'static NSBitmapImageRepPropertyKey; + pub static NSImageColorSyncProfileData: &'static NSBitmapImageRepPropertyKey; } extern "C" { - static NSImageFrameCount: &'static NSBitmapImageRepPropertyKey; + pub static NSImageFrameCount: &'static NSBitmapImageRepPropertyKey; } extern "C" { - static NSImageCurrentFrame: &'static NSBitmapImageRepPropertyKey; + pub static NSImageCurrentFrame: &'static NSBitmapImageRepPropertyKey; } extern "C" { - static NSImageCurrentFrameDuration: &'static NSBitmapImageRepPropertyKey; + pub static NSImageCurrentFrameDuration: &'static NSBitmapImageRepPropertyKey; } extern "C" { - static NSImageLoopCount: &'static NSBitmapImageRepPropertyKey; + pub static NSImageLoopCount: &'static NSBitmapImageRepPropertyKey; } extern "C" { - static NSImageGamma: &'static NSBitmapImageRepPropertyKey; + pub static NSImageGamma: &'static NSBitmapImageRepPropertyKey; } extern "C" { - static NSImageProgressive: &'static NSBitmapImageRepPropertyKey; + pub static NSImageProgressive: &'static NSBitmapImageRepPropertyKey; } extern "C" { - static NSImageEXIFData: &'static NSBitmapImageRepPropertyKey; + pub static NSImageEXIFData: &'static NSBitmapImageRepPropertyKey; } extern "C" { - static NSImageIPTCData: &'static NSBitmapImageRepPropertyKey; + pub static NSImageIPTCData: &'static NSBitmapImageRepPropertyKey; } extern "C" { - static NSImageFallbackBackgroundColor: &'static NSBitmapImageRepPropertyKey; + pub static NSImageFallbackBackgroundColor: &'static NSBitmapImageRepPropertyKey; } extern_class!( @@ -318,28 +318,29 @@ extern_methods!( } ); -static NSTIFFFileType: NSBitmapImageFileType = NSBitmapImageFileTypeTIFF; +pub static NSTIFFFileType: NSBitmapImageFileType = NSBitmapImageFileTypeTIFF; -static NSBMPFileType: NSBitmapImageFileType = NSBitmapImageFileTypeBMP; +pub static NSBMPFileType: NSBitmapImageFileType = NSBitmapImageFileTypeBMP; -static NSGIFFileType: NSBitmapImageFileType = NSBitmapImageFileTypeGIF; +pub static NSGIFFileType: NSBitmapImageFileType = NSBitmapImageFileTypeGIF; -static NSJPEGFileType: NSBitmapImageFileType = NSBitmapImageFileTypeJPEG; +pub static NSJPEGFileType: NSBitmapImageFileType = NSBitmapImageFileTypeJPEG; -static NSPNGFileType: NSBitmapImageFileType = NSBitmapImageFileTypePNG; +pub static NSPNGFileType: NSBitmapImageFileType = NSBitmapImageFileTypePNG; -static NSJPEG2000FileType: NSBitmapImageFileType = NSBitmapImageFileTypeJPEG2000; +pub static NSJPEG2000FileType: NSBitmapImageFileType = NSBitmapImageFileTypeJPEG2000; -static NSAlphaFirstBitmapFormat: NSBitmapFormat = NSBitmapFormatAlphaFirst; +pub static NSAlphaFirstBitmapFormat: NSBitmapFormat = NSBitmapFormatAlphaFirst; -static NSAlphaNonpremultipliedBitmapFormat: NSBitmapFormat = NSBitmapFormatAlphaNonpremultiplied; +pub static NSAlphaNonpremultipliedBitmapFormat: NSBitmapFormat = + NSBitmapFormatAlphaNonpremultiplied; -static NSFloatingPointSamplesBitmapFormat: NSBitmapFormat = NSBitmapFormatFloatingPointSamples; +pub static NSFloatingPointSamplesBitmapFormat: NSBitmapFormat = NSBitmapFormatFloatingPointSamples; -static NS16BitLittleEndianBitmapFormat: NSBitmapFormat = NSBitmapFormatSixteenBitLittleEndian; +pub static NS16BitLittleEndianBitmapFormat: NSBitmapFormat = NSBitmapFormatSixteenBitLittleEndian; -static NS32BitLittleEndianBitmapFormat: NSBitmapFormat = NSBitmapFormatThirtyTwoBitLittleEndian; +pub static NS32BitLittleEndianBitmapFormat: NSBitmapFormat = NSBitmapFormatThirtyTwoBitLittleEndian; -static NS16BitBigEndianBitmapFormat: NSBitmapFormat = NSBitmapFormatSixteenBitBigEndian; +pub static NS16BitBigEndianBitmapFormat: NSBitmapFormat = NSBitmapFormatSixteenBitBigEndian; -static NS32BitBigEndianBitmapFormat: NSBitmapFormat = NSBitmapFormatThirtyTwoBitBigEndian; +pub static NS32BitBigEndianBitmapFormat: NSBitmapFormat = NSBitmapFormatThirtyTwoBitBigEndian; diff --git a/icrate/src/AppKit/generated/NSBox.rs b/icrate/src/AppKit/generated/NSBox.rs index a64458469..7dd16987e 100644 --- a/icrate/src/AppKit/generated/NSBox.rs +++ b/icrate/src/AppKit/generated/NSBox.rs @@ -126,6 +126,6 @@ extern_methods!( } ); -static NSBoxSecondary: NSBoxType = 1; +pub static NSBoxSecondary: NSBoxType = 1; -static NSBoxOldStyle: NSBoxType = 3; +pub static NSBoxOldStyle: NSBoxType = 3; diff --git a/icrate/src/AppKit/generated/NSBrowser.rs b/icrate/src/AppKit/generated/NSBrowser.rs index 654cb0df6..676189691 100644 --- a/icrate/src/AppKit/generated/NSBrowser.rs +++ b/icrate/src/AppKit/generated/NSBrowser.rs @@ -4,9 +4,9 @@ use crate::common::*; use crate::AppKit::*; use crate::Foundation::*; -static NSAppKitVersionNumberWithContinuousScrollingBrowser: NSAppKitVersion = 680.0; +pub static NSAppKitVersionNumberWithContinuousScrollingBrowser: NSAppKitVersion = 680.0; -static NSAppKitVersionNumberWithColumnResizingBrowser: NSAppKitVersion = 685.0; +pub static NSAppKitVersionNumberWithColumnResizingBrowser: NSAppKitVersion = 685.0; pub type NSBrowserColumnsAutosaveName = NSString; @@ -417,7 +417,7 @@ extern_methods!( ); extern "C" { - static NSBrowserColumnConfigurationDidChangeNotification: &'static NSNotificationName; + pub static NSBrowserColumnConfigurationDidChangeNotification: &'static NSNotificationName; } pub type NSBrowserDelegate = NSObject; diff --git a/icrate/src/AppKit/generated/NSButtonCell.rs b/icrate/src/AppKit/generated/NSButtonCell.rs index 46a5d522d..25b23676e 100644 --- a/icrate/src/AppKit/generated/NSButtonCell.rs +++ b/icrate/src/AppKit/generated/NSButtonCell.rs @@ -215,61 +215,61 @@ pub const NSGradientConcaveStrong: NSGradientType = 2; pub const NSGradientConvexWeak: NSGradientType = 3; pub const NSGradientConvexStrong: NSGradientType = 4; -static NSMomentaryLightButton: NSButtonType = NSButtonTypeMomentaryLight; +pub static NSMomentaryLightButton: NSButtonType = NSButtonTypeMomentaryLight; -static NSPushOnPushOffButton: NSButtonType = NSButtonTypePushOnPushOff; +pub static NSPushOnPushOffButton: NSButtonType = NSButtonTypePushOnPushOff; -static NSToggleButton: NSButtonType = NSButtonTypeToggle; +pub static NSToggleButton: NSButtonType = NSButtonTypeToggle; -static NSSwitchButton: NSButtonType = NSButtonTypeSwitch; +pub static NSSwitchButton: NSButtonType = NSButtonTypeSwitch; -static NSRadioButton: NSButtonType = NSButtonTypeRadio; +pub static NSRadioButton: NSButtonType = NSButtonTypeRadio; -static NSMomentaryChangeButton: NSButtonType = NSButtonTypeMomentaryChange; +pub static NSMomentaryChangeButton: NSButtonType = NSButtonTypeMomentaryChange; -static NSOnOffButton: NSButtonType = NSButtonTypeOnOff; +pub static NSOnOffButton: NSButtonType = NSButtonTypeOnOff; -static NSMomentaryPushInButton: NSButtonType = NSButtonTypeMomentaryPushIn; +pub static NSMomentaryPushInButton: NSButtonType = NSButtonTypeMomentaryPushIn; -static NSAcceleratorButton: NSButtonType = NSButtonTypeAccelerator; +pub static NSAcceleratorButton: NSButtonType = NSButtonTypeAccelerator; -static NSMultiLevelAcceleratorButton: NSButtonType = NSButtonTypeMultiLevelAccelerator; +pub static NSMultiLevelAcceleratorButton: NSButtonType = NSButtonTypeMultiLevelAccelerator; -static NSMomentaryPushButton: NSButtonType = NSButtonTypeMomentaryLight; +pub static NSMomentaryPushButton: NSButtonType = NSButtonTypeMomentaryLight; -static NSMomentaryLight: NSButtonType = NSButtonTypeMomentaryPushIn; +pub static NSMomentaryLight: NSButtonType = NSButtonTypeMomentaryPushIn; -static NSRoundedBezelStyle: NSBezelStyle = NSBezelStyleRounded; +pub static NSRoundedBezelStyle: NSBezelStyle = NSBezelStyleRounded; -static NSRegularSquareBezelStyle: NSBezelStyle = NSBezelStyleRegularSquare; +pub static NSRegularSquareBezelStyle: NSBezelStyle = NSBezelStyleRegularSquare; -static NSDisclosureBezelStyle: NSBezelStyle = NSBezelStyleDisclosure; +pub static NSDisclosureBezelStyle: NSBezelStyle = NSBezelStyleDisclosure; -static NSShadowlessSquareBezelStyle: NSBezelStyle = NSBezelStyleShadowlessSquare; +pub static NSShadowlessSquareBezelStyle: NSBezelStyle = NSBezelStyleShadowlessSquare; -static NSCircularBezelStyle: NSBezelStyle = NSBezelStyleCircular; +pub static NSCircularBezelStyle: NSBezelStyle = NSBezelStyleCircular; -static NSTexturedSquareBezelStyle: NSBezelStyle = NSBezelStyleTexturedSquare; +pub static NSTexturedSquareBezelStyle: NSBezelStyle = NSBezelStyleTexturedSquare; -static NSHelpButtonBezelStyle: NSBezelStyle = NSBezelStyleHelpButton; +pub static NSHelpButtonBezelStyle: NSBezelStyle = NSBezelStyleHelpButton; -static NSSmallSquareBezelStyle: NSBezelStyle = NSBezelStyleSmallSquare; +pub static NSSmallSquareBezelStyle: NSBezelStyle = NSBezelStyleSmallSquare; -static NSTexturedRoundedBezelStyle: NSBezelStyle = NSBezelStyleTexturedRounded; +pub static NSTexturedRoundedBezelStyle: NSBezelStyle = NSBezelStyleTexturedRounded; -static NSRoundRectBezelStyle: NSBezelStyle = NSBezelStyleRoundRect; +pub static NSRoundRectBezelStyle: NSBezelStyle = NSBezelStyleRoundRect; -static NSRecessedBezelStyle: NSBezelStyle = NSBezelStyleRecessed; +pub static NSRecessedBezelStyle: NSBezelStyle = NSBezelStyleRecessed; -static NSRoundedDisclosureBezelStyle: NSBezelStyle = NSBezelStyleRoundedDisclosure; +pub static NSRoundedDisclosureBezelStyle: NSBezelStyle = NSBezelStyleRoundedDisclosure; -static NSInlineBezelStyle: NSBezelStyle = NSBezelStyleInline; +pub static NSInlineBezelStyle: NSBezelStyle = NSBezelStyleInline; -static NSSmallIconButtonBezelStyle: NSBezelStyle = 2; +pub static NSSmallIconButtonBezelStyle: NSBezelStyle = 2; -static NSThickSquareBezelStyle: NSBezelStyle = 3; +pub static NSThickSquareBezelStyle: NSBezelStyle = 3; -static NSThickerSquareBezelStyle: NSBezelStyle = 4; +pub static NSThickerSquareBezelStyle: NSBezelStyle = 4; extern_methods!( /// NSDeprecated diff --git a/icrate/src/AppKit/generated/NSCandidateListTouchBarItem.rs b/icrate/src/AppKit/generated/NSCandidateListTouchBarItem.rs index 9697f1657..2108ad378 100644 --- a/icrate/src/AppKit/generated/NSCandidateListTouchBarItem.rs +++ b/icrate/src/AppKit/generated/NSCandidateListTouchBarItem.rs @@ -97,5 +97,5 @@ extern_methods!( ); extern "C" { - static NSTouchBarItemIdentifierCandidateList: &'static NSTouchBarItemIdentifier; + pub static NSTouchBarItemIdentifierCandidateList: &'static NSTouchBarItemIdentifier; } diff --git a/icrate/src/AppKit/generated/NSCell.rs b/icrate/src/AppKit/generated/NSCell.rs index 025066de7..f35e49310 100644 --- a/icrate/src/AppKit/generated/NSCell.rs +++ b/icrate/src/AppKit/generated/NSCell.rs @@ -50,11 +50,11 @@ pub const NSScaleNone: NSImageScaling = 2; pub type NSControlStateValue = NSInteger; -static NSControlStateValueMixed: NSControlStateValue = -1; +pub static NSControlStateValueMixed: NSControlStateValue = -1; -static NSControlStateValueOff: NSControlStateValue = 0; +pub static NSControlStateValueOff: NSControlStateValue = 0; -static NSControlStateValueOn: NSControlStateValue = 1; +pub static NSControlStateValueOn: NSControlStateValue = 1; pub type NSCellStyleMask = NSUInteger; pub const NSNoCellMask: NSCellStyleMask = 0; @@ -680,26 +680,26 @@ extern_methods!( } ); -static NSBackgroundStyleLight: NSBackgroundStyle = NSBackgroundStyleNormal; +pub static NSBackgroundStyleLight: NSBackgroundStyle = NSBackgroundStyleNormal; -static NSBackgroundStyleDark: NSBackgroundStyle = NSBackgroundStyleEmphasized; +pub static NSBackgroundStyleDark: NSBackgroundStyle = NSBackgroundStyleEmphasized; pub type NSCellStateValue = NSControlStateValue; -static NSMixedState: NSControlStateValue = NSControlStateValueMixed; +pub static NSMixedState: NSControlStateValue = NSControlStateValueMixed; -static NSOffState: NSControlStateValue = NSControlStateValueOff; +pub static NSOffState: NSControlStateValue = NSControlStateValueOff; -static NSOnState: NSControlStateValue = NSControlStateValueOn; +pub static NSOnState: NSControlStateValue = NSControlStateValueOn; -static NSRegularControlSize: NSControlSize = NSControlSizeRegular; +pub static NSRegularControlSize: NSControlSize = NSControlSizeRegular; -static NSSmallControlSize: NSControlSize = NSControlSizeSmall; +pub static NSSmallControlSize: NSControlSize = NSControlSizeSmall; -static NSMiniControlSize: NSControlSize = NSControlSizeMini; +pub static NSMiniControlSize: NSControlSize = NSControlSizeMini; extern "C" { - static NSControlTintDidChangeNotification: &'static NSNotificationName; + pub static NSControlTintDidChangeNotification: &'static NSNotificationName; } pub const NSAnyType: i32 = 0; diff --git a/icrate/src/AppKit/generated/NSCollectionViewCompositionalLayout.rs b/icrate/src/AppKit/generated/NSCollectionViewCompositionalLayout.rs index 9b1577536..639b58def 100644 --- a/icrate/src/AppKit/generated/NSCollectionViewCompositionalLayout.rs +++ b/icrate/src/AppKit/generated/NSCollectionViewCompositionalLayout.rs @@ -16,7 +16,7 @@ pub const NSDirectionalRectEdgeAll: NSDirectionalRectEdge = NSDirectionalRectEdg | NSDirectionalRectEdgeTrailing; extern "C" { - static NSDirectionalEdgeInsetsZero: NSDirectionalEdgeInsets; + pub static NSDirectionalEdgeInsetsZero: NSDirectionalEdgeInsets; } pub type NSRectAlignment = NSInteger; diff --git a/icrate/src/AppKit/generated/NSCollectionViewFlowLayout.rs b/icrate/src/AppKit/generated/NSCollectionViewFlowLayout.rs index 6bc7edef3..35cd5c065 100644 --- a/icrate/src/AppKit/generated/NSCollectionViewFlowLayout.rs +++ b/icrate/src/AppKit/generated/NSCollectionViewFlowLayout.rs @@ -9,11 +9,13 @@ pub const NSCollectionViewScrollDirectionVertical: NSCollectionViewScrollDirecti pub const NSCollectionViewScrollDirectionHorizontal: NSCollectionViewScrollDirection = 1; extern "C" { - static NSCollectionElementKindSectionHeader: &'static NSCollectionViewSupplementaryElementKind; + pub static NSCollectionElementKindSectionHeader: + &'static NSCollectionViewSupplementaryElementKind; } extern "C" { - static NSCollectionElementKindSectionFooter: &'static NSCollectionViewSupplementaryElementKind; + pub static NSCollectionElementKindSectionFooter: + &'static NSCollectionViewSupplementaryElementKind; } extern_class!( diff --git a/icrate/src/AppKit/generated/NSCollectionViewLayout.rs b/icrate/src/AppKit/generated/NSCollectionViewLayout.rs index 0d748ec26..f57517c76 100644 --- a/icrate/src/AppKit/generated/NSCollectionViewLayout.rs +++ b/icrate/src/AppKit/generated/NSCollectionViewLayout.rs @@ -13,7 +13,7 @@ pub const NSCollectionElementCategoryInterItemGap: NSCollectionElementCategory = pub type NSCollectionViewDecorationElementKind = NSString; extern "C" { - static NSCollectionElementKindInterItemGapIndicator: + pub static NSCollectionElementKindInterItemGapIndicator: &'static NSCollectionViewSupplementaryElementKind; } diff --git a/icrate/src/AppKit/generated/NSColor.rs b/icrate/src/AppKit/generated/NSColor.rs index e6ae3458b..5588df723 100644 --- a/icrate/src/AppKit/generated/NSColor.rs +++ b/icrate/src/AppKit/generated/NSColor.rs @@ -4,7 +4,7 @@ use crate::common::*; use crate::AppKit::*; use crate::Foundation::*; -static NSAppKitVersionNumberWithPatternColorLeakFix: NSAppKitVersion = 641.0; +pub static NSAppKitVersionNumberWithPatternColorLeakFix: NSAppKitVersion = 641.0; pub type NSColorType = NSInteger; pub const NSColorTypeComponentBased: NSColorType = 0; @@ -607,5 +607,5 @@ extern_methods!( ); extern "C" { - static NSSystemColorsDidChangeNotification: &'static NSNotificationName; + pub static NSSystemColorsDidChangeNotification: &'static NSNotificationName; } diff --git a/icrate/src/AppKit/generated/NSColorList.rs b/icrate/src/AppKit/generated/NSColorList.rs index b7b843380..04d18e22c 100644 --- a/icrate/src/AppKit/generated/NSColorList.rs +++ b/icrate/src/AppKit/generated/NSColorList.rs @@ -76,5 +76,5 @@ extern_methods!( ); extern "C" { - static NSColorListDidChangeNotification: &'static NSNotificationName; + pub static NSColorListDidChangeNotification: &'static NSNotificationName; } diff --git a/icrate/src/AppKit/generated/NSColorPanel.rs b/icrate/src/AppKit/generated/NSColorPanel.rs index cf5e4fa91..de2db8f7e 100644 --- a/icrate/src/AppKit/generated/NSColorPanel.rs +++ b/icrate/src/AppKit/generated/NSColorPanel.rs @@ -122,23 +122,23 @@ extern_methods!( ); extern "C" { - static NSColorPanelColorDidChangeNotification: &'static NSNotificationName; + pub static NSColorPanelColorDidChangeNotification: &'static NSNotificationName; } -static NSNoModeColorPanel: NSColorPanelMode = NSColorPanelModeNone; +pub static NSNoModeColorPanel: NSColorPanelMode = NSColorPanelModeNone; -static NSGrayModeColorPanel: NSColorPanelMode = NSColorPanelModeGray; +pub static NSGrayModeColorPanel: NSColorPanelMode = NSColorPanelModeGray; -static NSRGBModeColorPanel: NSColorPanelMode = NSColorPanelModeRGB; +pub static NSRGBModeColorPanel: NSColorPanelMode = NSColorPanelModeRGB; -static NSCMYKModeColorPanel: NSColorPanelMode = NSColorPanelModeCMYK; +pub static NSCMYKModeColorPanel: NSColorPanelMode = NSColorPanelModeCMYK; -static NSHSBModeColorPanel: NSColorPanelMode = NSColorPanelModeHSB; +pub static NSHSBModeColorPanel: NSColorPanelMode = NSColorPanelModeHSB; -static NSCustomPaletteModeColorPanel: NSColorPanelMode = NSColorPanelModeCustomPalette; +pub static NSCustomPaletteModeColorPanel: NSColorPanelMode = NSColorPanelModeCustomPalette; -static NSColorListModeColorPanel: NSColorPanelMode = NSColorPanelModeColorList; +pub static NSColorListModeColorPanel: NSColorPanelMode = NSColorPanelModeColorList; -static NSWheelModeColorPanel: NSColorPanelMode = NSColorPanelModeWheel; +pub static NSWheelModeColorPanel: NSColorPanelMode = NSColorPanelModeWheel; -static NSCrayonModeColorPanel: NSColorPanelMode = NSColorPanelModeCrayon; +pub static NSCrayonModeColorPanel: NSColorPanelMode = NSColorPanelModeCrayon; diff --git a/icrate/src/AppKit/generated/NSColorSpace.rs b/icrate/src/AppKit/generated/NSColorSpace.rs index b840e8506..d91a42aec 100644 --- a/icrate/src/AppKit/generated/NSColorSpace.rs +++ b/icrate/src/AppKit/generated/NSColorSpace.rs @@ -101,18 +101,18 @@ extern_methods!( } ); -static NSUnknownColorSpaceModel: NSColorSpaceModel = NSColorSpaceModelUnknown; +pub static NSUnknownColorSpaceModel: NSColorSpaceModel = NSColorSpaceModelUnknown; -static NSGrayColorSpaceModel: NSColorSpaceModel = NSColorSpaceModelGray; +pub static NSGrayColorSpaceModel: NSColorSpaceModel = NSColorSpaceModelGray; -static NSRGBColorSpaceModel: NSColorSpaceModel = NSColorSpaceModelRGB; +pub static NSRGBColorSpaceModel: NSColorSpaceModel = NSColorSpaceModelRGB; -static NSCMYKColorSpaceModel: NSColorSpaceModel = NSColorSpaceModelCMYK; +pub static NSCMYKColorSpaceModel: NSColorSpaceModel = NSColorSpaceModelCMYK; -static NSLABColorSpaceModel: NSColorSpaceModel = NSColorSpaceModelLAB; +pub static NSLABColorSpaceModel: NSColorSpaceModel = NSColorSpaceModelLAB; -static NSDeviceNColorSpaceModel: NSColorSpaceModel = NSColorSpaceModelDeviceN; +pub static NSDeviceNColorSpaceModel: NSColorSpaceModel = NSColorSpaceModelDeviceN; -static NSIndexedColorSpaceModel: NSColorSpaceModel = NSColorSpaceModelIndexed; +pub static NSIndexedColorSpaceModel: NSColorSpaceModel = NSColorSpaceModelIndexed; -static NSPatternColorSpaceModel: NSColorSpaceModel = NSColorSpaceModelPatterned; +pub static NSPatternColorSpaceModel: NSColorSpaceModel = NSColorSpaceModelPatterned; diff --git a/icrate/src/AppKit/generated/NSComboBox.rs b/icrate/src/AppKit/generated/NSComboBox.rs index 43b82418c..16bd2f89b 100644 --- a/icrate/src/AppKit/generated/NSComboBox.rs +++ b/icrate/src/AppKit/generated/NSComboBox.rs @@ -5,19 +5,19 @@ use crate::AppKit::*; use crate::Foundation::*; extern "C" { - static NSComboBoxWillPopUpNotification: &'static NSNotificationName; + pub static NSComboBoxWillPopUpNotification: &'static NSNotificationName; } extern "C" { - static NSComboBoxWillDismissNotification: &'static NSNotificationName; + pub static NSComboBoxWillDismissNotification: &'static NSNotificationName; } extern "C" { - static NSComboBoxSelectionDidChangeNotification: &'static NSNotificationName; + pub static NSComboBoxSelectionDidChangeNotification: &'static NSNotificationName; } extern "C" { - static NSComboBoxSelectionIsChangingNotification: &'static NSNotificationName; + pub static NSComboBoxSelectionIsChangingNotification: &'static NSNotificationName; } pub type NSComboBoxDataSource = NSObject; diff --git a/icrate/src/AppKit/generated/NSControl.rs b/icrate/src/AppKit/generated/NSControl.rs index 0c27e3c8c..1772610a9 100644 --- a/icrate/src/AppKit/generated/NSControl.rs +++ b/icrate/src/AppKit/generated/NSControl.rs @@ -242,15 +242,15 @@ extern_methods!( pub type NSControlTextEditingDelegate = NSObject; extern "C" { - static NSControlTextDidBeginEditingNotification: &'static NSNotificationName; + pub static NSControlTextDidBeginEditingNotification: &'static NSNotificationName; } extern "C" { - static NSControlTextDidEndEditingNotification: &'static NSNotificationName; + pub static NSControlTextDidEndEditingNotification: &'static NSNotificationName; } extern "C" { - static NSControlTextDidChangeNotification: &'static NSNotificationName; + pub static NSControlTextDidChangeNotification: &'static NSNotificationName; } extern_methods!( diff --git a/icrate/src/AppKit/generated/NSCursor.rs b/icrate/src/AppKit/generated/NSCursor.rs index 2ad4634ec..e39fa0c3f 100644 --- a/icrate/src/AppKit/generated/NSCursor.rs +++ b/icrate/src/AppKit/generated/NSCursor.rs @@ -114,7 +114,7 @@ extern_methods!( } ); -static NSAppKitVersionNumberWithCursorSizeSupport: NSAppKitVersion = 682.0; +pub static NSAppKitVersionNumberWithCursorSizeSupport: NSAppKitVersion = 682.0; extern_methods!( /// NSDeprecated diff --git a/icrate/src/AppKit/generated/NSDatePickerCell.rs b/icrate/src/AppKit/generated/NSDatePickerCell.rs index a7619b453..0bf1788b5 100644 --- a/icrate/src/AppKit/generated/NSDatePickerCell.rs +++ b/icrate/src/AppKit/generated/NSDatePickerCell.rs @@ -129,29 +129,30 @@ extern_methods!( pub type NSDatePickerCellDelegate = NSObject; -static NSTextFieldAndStepperDatePickerStyle: NSDatePickerStyle = +pub static NSTextFieldAndStepperDatePickerStyle: NSDatePickerStyle = NSDatePickerStyleTextFieldAndStepper; -static NSClockAndCalendarDatePickerStyle: NSDatePickerStyle = NSDatePickerStyleClockAndCalendar; +pub static NSClockAndCalendarDatePickerStyle: NSDatePickerStyle = NSDatePickerStyleClockAndCalendar; -static NSTextFieldDatePickerStyle: NSDatePickerStyle = NSDatePickerStyleTextField; +pub static NSTextFieldDatePickerStyle: NSDatePickerStyle = NSDatePickerStyleTextField; -static NSSingleDateMode: NSDatePickerMode = NSDatePickerModeSingle; +pub static NSSingleDateMode: NSDatePickerMode = NSDatePickerModeSingle; -static NSRangeDateMode: NSDatePickerMode = NSDatePickerModeRange; +pub static NSRangeDateMode: NSDatePickerMode = NSDatePickerModeRange; -static NSHourMinuteDatePickerElementFlag: NSDatePickerElementFlags = +pub static NSHourMinuteDatePickerElementFlag: NSDatePickerElementFlags = NSDatePickerElementFlagHourMinute; -static NSHourMinuteSecondDatePickerElementFlag: NSDatePickerElementFlags = +pub static NSHourMinuteSecondDatePickerElementFlag: NSDatePickerElementFlags = NSDatePickerElementFlagHourMinuteSecond; -static NSTimeZoneDatePickerElementFlag: NSDatePickerElementFlags = NSDatePickerElementFlagTimeZone; +pub static NSTimeZoneDatePickerElementFlag: NSDatePickerElementFlags = + NSDatePickerElementFlagTimeZone; -static NSYearMonthDatePickerElementFlag: NSDatePickerElementFlags = +pub static NSYearMonthDatePickerElementFlag: NSDatePickerElementFlags = NSDatePickerElementFlagYearMonth; -static NSYearMonthDayDatePickerElementFlag: NSDatePickerElementFlags = +pub static NSYearMonthDayDatePickerElementFlag: NSDatePickerElementFlags = NSDatePickerElementFlagYearMonthDay; -static NSEraDatePickerElementFlag: NSDatePickerElementFlags = NSDatePickerElementFlagEra; +pub static NSEraDatePickerElementFlag: NSDatePickerElementFlags = NSDatePickerElementFlagEra; diff --git a/icrate/src/AppKit/generated/NSDockTile.rs b/icrate/src/AppKit/generated/NSDockTile.rs index 1206e8020..8c430f5f8 100644 --- a/icrate/src/AppKit/generated/NSDockTile.rs +++ b/icrate/src/AppKit/generated/NSDockTile.rs @@ -4,7 +4,7 @@ use crate::common::*; use crate::AppKit::*; use crate::Foundation::*; -static NSAppKitVersionNumberWithDockTilePlugInSupport: NSAppKitVersion = 1001.0; +pub static NSAppKitVersionNumberWithDockTilePlugInSupport: NSAppKitVersion = 1001.0; extern_class!( #[derive(Debug)] diff --git a/icrate/src/AppKit/generated/NSDraggingItem.rs b/icrate/src/AppKit/generated/NSDraggingItem.rs index bf1743156..2efad0117 100644 --- a/icrate/src/AppKit/generated/NSDraggingItem.rs +++ b/icrate/src/AppKit/generated/NSDraggingItem.rs @@ -7,11 +7,11 @@ use crate::Foundation::*; pub type NSDraggingImageComponentKey = NSString; extern "C" { - static NSDraggingImageComponentIconKey: &'static NSDraggingImageComponentKey; + pub static NSDraggingImageComponentIconKey: &'static NSDraggingImageComponentKey; } extern "C" { - static NSDraggingImageComponentLabelKey: &'static NSDraggingImageComponentKey; + pub static NSDraggingImageComponentLabelKey: &'static NSDraggingImageComponentKey; } extern_class!( diff --git a/icrate/src/AppKit/generated/NSDrawer.rs b/icrate/src/AppKit/generated/NSDrawer.rs index 1ac6985f5..ea3c27142 100644 --- a/icrate/src/AppKit/generated/NSDrawer.rs +++ b/icrate/src/AppKit/generated/NSDrawer.rs @@ -119,17 +119,17 @@ extern_methods!( pub type NSDrawerDelegate = NSObject; extern "C" { - static NSDrawerWillOpenNotification: &'static NSNotificationName; + pub static NSDrawerWillOpenNotification: &'static NSNotificationName; } extern "C" { - static NSDrawerDidOpenNotification: &'static NSNotificationName; + pub static NSDrawerDidOpenNotification: &'static NSNotificationName; } extern "C" { - static NSDrawerWillCloseNotification: &'static NSNotificationName; + pub static NSDrawerWillCloseNotification: &'static NSNotificationName; } extern "C" { - static NSDrawerDidCloseNotification: &'static NSNotificationName; + pub static NSDrawerDidCloseNotification: &'static NSNotificationName; } diff --git a/icrate/src/AppKit/generated/NSErrors.rs b/icrate/src/AppKit/generated/NSErrors.rs index 0feab0193..96820b869 100644 --- a/icrate/src/AppKit/generated/NSErrors.rs +++ b/icrate/src/AppKit/generated/NSErrors.rs @@ -5,145 +5,145 @@ use crate::AppKit::*; use crate::Foundation::*; extern "C" { - static NSTextLineTooLongException: &'static NSExceptionName; + pub static NSTextLineTooLongException: &'static NSExceptionName; } extern "C" { - static NSTextNoSelectionException: &'static NSExceptionName; + pub static NSTextNoSelectionException: &'static NSExceptionName; } extern "C" { - static NSWordTablesWriteException: &'static NSExceptionName; + pub static NSWordTablesWriteException: &'static NSExceptionName; } extern "C" { - static NSWordTablesReadException: &'static NSExceptionName; + pub static NSWordTablesReadException: &'static NSExceptionName; } extern "C" { - static NSTextReadException: &'static NSExceptionName; + pub static NSTextReadException: &'static NSExceptionName; } extern "C" { - static NSTextWriteException: &'static NSExceptionName; + pub static NSTextWriteException: &'static NSExceptionName; } extern "C" { - static NSPasteboardCommunicationException: &'static NSExceptionName; + pub static NSPasteboardCommunicationException: &'static NSExceptionName; } extern "C" { - static NSPrintingCommunicationException: &'static NSExceptionName; + pub static NSPrintingCommunicationException: &'static NSExceptionName; } extern "C" { - static NSAbortModalException: &'static NSExceptionName; + pub static NSAbortModalException: &'static NSExceptionName; } extern "C" { - static NSAbortPrintingException: &'static NSExceptionName; + pub static NSAbortPrintingException: &'static NSExceptionName; } extern "C" { - static NSIllegalSelectorException: &'static NSExceptionName; + pub static NSIllegalSelectorException: &'static NSExceptionName; } extern "C" { - static NSAppKitVirtualMemoryException: &'static NSExceptionName; + pub static NSAppKitVirtualMemoryException: &'static NSExceptionName; } extern "C" { - static NSBadRTFDirectiveException: &'static NSExceptionName; + pub static NSBadRTFDirectiveException: &'static NSExceptionName; } extern "C" { - static NSBadRTFFontTableException: &'static NSExceptionName; + pub static NSBadRTFFontTableException: &'static NSExceptionName; } extern "C" { - static NSBadRTFStyleSheetException: &'static NSExceptionName; + pub static NSBadRTFStyleSheetException: &'static NSExceptionName; } extern "C" { - static NSTypedStreamVersionException: &'static NSExceptionName; + pub static NSTypedStreamVersionException: &'static NSExceptionName; } extern "C" { - static NSTIFFException: &'static NSExceptionName; + pub static NSTIFFException: &'static NSExceptionName; } extern "C" { - static NSPrintPackageException: &'static NSExceptionName; + pub static NSPrintPackageException: &'static NSExceptionName; } extern "C" { - static NSBadRTFColorTableException: &'static NSExceptionName; + pub static NSBadRTFColorTableException: &'static NSExceptionName; } extern "C" { - static NSDraggingException: &'static NSExceptionName; + pub static NSDraggingException: &'static NSExceptionName; } extern "C" { - static NSColorListIOException: &'static NSExceptionName; + pub static NSColorListIOException: &'static NSExceptionName; } extern "C" { - static NSColorListNotEditableException: &'static NSExceptionName; + pub static NSColorListNotEditableException: &'static NSExceptionName; } extern "C" { - static NSBadBitmapParametersException: &'static NSExceptionName; + pub static NSBadBitmapParametersException: &'static NSExceptionName; } extern "C" { - static NSWindowServerCommunicationException: &'static NSExceptionName; + pub static NSWindowServerCommunicationException: &'static NSExceptionName; } extern "C" { - static NSFontUnavailableException: &'static NSExceptionName; + pub static NSFontUnavailableException: &'static NSExceptionName; } extern "C" { - static NSPPDIncludeNotFoundException: &'static NSExceptionName; + pub static NSPPDIncludeNotFoundException: &'static NSExceptionName; } extern "C" { - static NSPPDParseException: &'static NSExceptionName; + pub static NSPPDParseException: &'static NSExceptionName; } extern "C" { - static NSPPDIncludeStackOverflowException: &'static NSExceptionName; + pub static NSPPDIncludeStackOverflowException: &'static NSExceptionName; } extern "C" { - static NSPPDIncludeStackUnderflowException: &'static NSExceptionName; + pub static NSPPDIncludeStackUnderflowException: &'static NSExceptionName; } extern "C" { - static NSRTFPropertyStackOverflowException: &'static NSExceptionName; + pub static NSRTFPropertyStackOverflowException: &'static NSExceptionName; } extern "C" { - static NSAppKitIgnoredException: &'static NSExceptionName; + pub static NSAppKitIgnoredException: &'static NSExceptionName; } extern "C" { - static NSBadComparisonException: &'static NSExceptionName; + pub static NSBadComparisonException: &'static NSExceptionName; } extern "C" { - static NSImageCacheException: &'static NSExceptionName; + pub static NSImageCacheException: &'static NSExceptionName; } extern "C" { - static NSNibLoadingException: &'static NSExceptionName; + pub static NSNibLoadingException: &'static NSExceptionName; } extern "C" { - static NSBrowserIllegalDelegateException: &'static NSExceptionName; + pub static NSBrowserIllegalDelegateException: &'static NSExceptionName; } extern "C" { - static NSAccessibilityException: &'static NSExceptionName; + pub static NSAccessibilityException: &'static NSExceptionName; } diff --git a/icrate/src/AppKit/generated/NSEvent.rs b/icrate/src/AppKit/generated/NSEvent.rs index 3a0251ff3..393b05857 100644 --- a/icrate/src/AppKit/generated/NSEvent.rs +++ b/icrate/src/AppKit/generated/NSEvent.rs @@ -40,51 +40,51 @@ pub const NSEventTypePressure: NSEventType = 34; pub const NSEventTypeDirectTouch: NSEventType = 37; pub const NSEventTypeChangeMode: NSEventType = 38; -static NSLeftMouseDown: NSEventType = NSEventTypeLeftMouseDown; +pub static NSLeftMouseDown: NSEventType = NSEventTypeLeftMouseDown; -static NSLeftMouseUp: NSEventType = NSEventTypeLeftMouseUp; +pub static NSLeftMouseUp: NSEventType = NSEventTypeLeftMouseUp; -static NSRightMouseDown: NSEventType = NSEventTypeRightMouseDown; +pub static NSRightMouseDown: NSEventType = NSEventTypeRightMouseDown; -static NSRightMouseUp: NSEventType = NSEventTypeRightMouseUp; +pub static NSRightMouseUp: NSEventType = NSEventTypeRightMouseUp; -static NSMouseMoved: NSEventType = NSEventTypeMouseMoved; +pub static NSMouseMoved: NSEventType = NSEventTypeMouseMoved; -static NSLeftMouseDragged: NSEventType = NSEventTypeLeftMouseDragged; +pub static NSLeftMouseDragged: NSEventType = NSEventTypeLeftMouseDragged; -static NSRightMouseDragged: NSEventType = NSEventTypeRightMouseDragged; +pub static NSRightMouseDragged: NSEventType = NSEventTypeRightMouseDragged; -static NSMouseEntered: NSEventType = NSEventTypeMouseEntered; +pub static NSMouseEntered: NSEventType = NSEventTypeMouseEntered; -static NSMouseExited: NSEventType = NSEventTypeMouseExited; +pub static NSMouseExited: NSEventType = NSEventTypeMouseExited; -static NSKeyDown: NSEventType = NSEventTypeKeyDown; +pub static NSKeyDown: NSEventType = NSEventTypeKeyDown; -static NSKeyUp: NSEventType = NSEventTypeKeyUp; +pub static NSKeyUp: NSEventType = NSEventTypeKeyUp; -static NSFlagsChanged: NSEventType = NSEventTypeFlagsChanged; +pub static NSFlagsChanged: NSEventType = NSEventTypeFlagsChanged; -static NSAppKitDefined: NSEventType = NSEventTypeAppKitDefined; +pub static NSAppKitDefined: NSEventType = NSEventTypeAppKitDefined; -static NSSystemDefined: NSEventType = NSEventTypeSystemDefined; +pub static NSSystemDefined: NSEventType = NSEventTypeSystemDefined; -static NSApplicationDefined: NSEventType = NSEventTypeApplicationDefined; +pub static NSApplicationDefined: NSEventType = NSEventTypeApplicationDefined; -static NSPeriodic: NSEventType = NSEventTypePeriodic; +pub static NSPeriodic: NSEventType = NSEventTypePeriodic; -static NSCursorUpdate: NSEventType = NSEventTypeCursorUpdate; +pub static NSCursorUpdate: NSEventType = NSEventTypeCursorUpdate; -static NSScrollWheel: NSEventType = NSEventTypeScrollWheel; +pub static NSScrollWheel: NSEventType = NSEventTypeScrollWheel; -static NSTabletPoint: NSEventType = NSEventTypeTabletPoint; +pub static NSTabletPoint: NSEventType = NSEventTypeTabletPoint; -static NSTabletProximity: NSEventType = NSEventTypeTabletProximity; +pub static NSTabletProximity: NSEventType = NSEventTypeTabletProximity; -static NSOtherMouseDown: NSEventType = NSEventTypeOtherMouseDown; +pub static NSOtherMouseDown: NSEventType = NSEventTypeOtherMouseDown; -static NSOtherMouseUp: NSEventType = NSEventTypeOtherMouseUp; +pub static NSOtherMouseUp: NSEventType = NSEventTypeOtherMouseUp; -static NSOtherMouseDragged: NSEventType = NSEventTypeOtherMouseDragged; +pub static NSOtherMouseDragged: NSEventType = NSEventTypeOtherMouseDragged; pub type NSEventMask = c_ulonglong; pub const NSEventMaskLeftMouseDown: NSEventMask = 1 << NSEventTypeLeftMouseDown; @@ -122,53 +122,53 @@ pub const NSEventMaskDirectTouch: NSEventMask = 1 << NSEventTypeDirectTouch; pub const NSEventMaskChangeMode: NSEventMask = 1 << NSEventTypeChangeMode; pub const NSEventMaskAny: NSEventMask = 18446744073709551615; -static NSLeftMouseDownMask: NSEventMask = NSEventMaskLeftMouseDown; +pub static NSLeftMouseDownMask: NSEventMask = NSEventMaskLeftMouseDown; -static NSLeftMouseUpMask: NSEventMask = NSEventMaskLeftMouseUp; +pub static NSLeftMouseUpMask: NSEventMask = NSEventMaskLeftMouseUp; -static NSRightMouseDownMask: NSEventMask = NSEventMaskRightMouseDown; +pub static NSRightMouseDownMask: NSEventMask = NSEventMaskRightMouseDown; -static NSRightMouseUpMask: NSEventMask = NSEventMaskRightMouseUp; +pub static NSRightMouseUpMask: NSEventMask = NSEventMaskRightMouseUp; -static NSMouseMovedMask: NSEventMask = NSEventMaskMouseMoved; +pub static NSMouseMovedMask: NSEventMask = NSEventMaskMouseMoved; -static NSLeftMouseDraggedMask: NSEventMask = NSEventMaskLeftMouseDragged; +pub static NSLeftMouseDraggedMask: NSEventMask = NSEventMaskLeftMouseDragged; -static NSRightMouseDraggedMask: NSEventMask = NSEventMaskRightMouseDragged; +pub static NSRightMouseDraggedMask: NSEventMask = NSEventMaskRightMouseDragged; -static NSMouseEnteredMask: NSEventMask = NSEventMaskMouseEntered; +pub static NSMouseEnteredMask: NSEventMask = NSEventMaskMouseEntered; -static NSMouseExitedMask: NSEventMask = NSEventMaskMouseExited; +pub static NSMouseExitedMask: NSEventMask = NSEventMaskMouseExited; -static NSKeyDownMask: NSEventMask = NSEventMaskKeyDown; +pub static NSKeyDownMask: NSEventMask = NSEventMaskKeyDown; -static NSKeyUpMask: NSEventMask = NSEventMaskKeyUp; +pub static NSKeyUpMask: NSEventMask = NSEventMaskKeyUp; -static NSFlagsChangedMask: NSEventMask = NSEventMaskFlagsChanged; +pub static NSFlagsChangedMask: NSEventMask = NSEventMaskFlagsChanged; -static NSAppKitDefinedMask: NSEventMask = NSEventMaskAppKitDefined; +pub static NSAppKitDefinedMask: NSEventMask = NSEventMaskAppKitDefined; -static NSSystemDefinedMask: NSEventMask = NSEventMaskSystemDefined; +pub static NSSystemDefinedMask: NSEventMask = NSEventMaskSystemDefined; -static NSApplicationDefinedMask: NSEventMask = NSEventMaskApplicationDefined; +pub static NSApplicationDefinedMask: NSEventMask = NSEventMaskApplicationDefined; -static NSPeriodicMask: NSEventMask = NSEventMaskPeriodic; +pub static NSPeriodicMask: NSEventMask = NSEventMaskPeriodic; -static NSCursorUpdateMask: NSEventMask = NSEventMaskCursorUpdate; +pub static NSCursorUpdateMask: NSEventMask = NSEventMaskCursorUpdate; -static NSScrollWheelMask: NSEventMask = NSEventMaskScrollWheel; +pub static NSScrollWheelMask: NSEventMask = NSEventMaskScrollWheel; -static NSTabletPointMask: NSEventMask = NSEventMaskTabletPoint; +pub static NSTabletPointMask: NSEventMask = NSEventMaskTabletPoint; -static NSTabletProximityMask: NSEventMask = NSEventMaskTabletProximity; +pub static NSTabletProximityMask: NSEventMask = NSEventMaskTabletProximity; -static NSOtherMouseDownMask: NSEventMask = NSEventMaskOtherMouseDown; +pub static NSOtherMouseDownMask: NSEventMask = NSEventMaskOtherMouseDown; -static NSOtherMouseUpMask: NSEventMask = NSEventMaskOtherMouseUp; +pub static NSOtherMouseUpMask: NSEventMask = NSEventMaskOtherMouseUp; -static NSOtherMouseDraggedMask: NSEventMask = NSEventMaskOtherMouseDragged; +pub static NSOtherMouseDraggedMask: NSEventMask = NSEventMaskOtherMouseDragged; -static NSAnyEventMask: NSEventMask = todo; +pub static NSAnyEventMask: NSEventMask = todo; pub type NSEventModifierFlags = NSUInteger; pub const NSEventModifierFlagCapsLock: NSEventModifierFlags = 1 << 16; @@ -181,23 +181,23 @@ pub const NSEventModifierFlagHelp: NSEventModifierFlags = 1 << 22; pub const NSEventModifierFlagFunction: NSEventModifierFlags = 1 << 23; pub const NSEventModifierFlagDeviceIndependentFlagsMask: NSEventModifierFlags = 0xffff0000; -static NSAlphaShiftKeyMask: NSEventModifierFlags = NSEventModifierFlagCapsLock; +pub static NSAlphaShiftKeyMask: NSEventModifierFlags = NSEventModifierFlagCapsLock; -static NSShiftKeyMask: NSEventModifierFlags = NSEventModifierFlagShift; +pub static NSShiftKeyMask: NSEventModifierFlags = NSEventModifierFlagShift; -static NSControlKeyMask: NSEventModifierFlags = NSEventModifierFlagControl; +pub static NSControlKeyMask: NSEventModifierFlags = NSEventModifierFlagControl; -static NSAlternateKeyMask: NSEventModifierFlags = NSEventModifierFlagOption; +pub static NSAlternateKeyMask: NSEventModifierFlags = NSEventModifierFlagOption; -static NSCommandKeyMask: NSEventModifierFlags = NSEventModifierFlagCommand; +pub static NSCommandKeyMask: NSEventModifierFlags = NSEventModifierFlagCommand; -static NSNumericPadKeyMask: NSEventModifierFlags = NSEventModifierFlagNumericPad; +pub static NSNumericPadKeyMask: NSEventModifierFlags = NSEventModifierFlagNumericPad; -static NSHelpKeyMask: NSEventModifierFlags = NSEventModifierFlagHelp; +pub static NSHelpKeyMask: NSEventModifierFlags = NSEventModifierFlagHelp; -static NSFunctionKeyMask: NSEventModifierFlags = NSEventModifierFlagFunction; +pub static NSFunctionKeyMask: NSEventModifierFlags = NSEventModifierFlagFunction; -static NSDeviceIndependentModifierFlagsMask: NSEventModifierFlags = +pub static NSDeviceIndependentModifierFlagsMask: NSEventModifierFlags = NSEventModifierFlagDeviceIndependentFlagsMask; pub type NSPointingDeviceType = NSUInteger; @@ -206,24 +206,24 @@ pub const NSPointingDeviceTypePen: NSPointingDeviceType = 1; pub const NSPointingDeviceTypeCursor: NSPointingDeviceType = 2; pub const NSPointingDeviceTypeEraser: NSPointingDeviceType = 3; -static NSUnknownPointingDevice: NSPointingDeviceType = NSPointingDeviceTypeUnknown; +pub static NSUnknownPointingDevice: NSPointingDeviceType = NSPointingDeviceTypeUnknown; -static NSPenPointingDevice: NSPointingDeviceType = NSPointingDeviceTypePen; +pub static NSPenPointingDevice: NSPointingDeviceType = NSPointingDeviceTypePen; -static NSCursorPointingDevice: NSPointingDeviceType = NSPointingDeviceTypeCursor; +pub static NSCursorPointingDevice: NSPointingDeviceType = NSPointingDeviceTypeCursor; -static NSEraserPointingDevice: NSPointingDeviceType = NSPointingDeviceTypeEraser; +pub static NSEraserPointingDevice: NSPointingDeviceType = NSPointingDeviceTypeEraser; pub type NSEventButtonMask = NSUInteger; pub const NSEventButtonMaskPenTip: NSEventButtonMask = 1; pub const NSEventButtonMaskPenLowerSide: NSEventButtonMask = 2; pub const NSEventButtonMaskPenUpperSide: NSEventButtonMask = 4; -static NSPenTipMask: NSEventButtonMask = NSEventButtonMaskPenTip; +pub static NSPenTipMask: NSEventButtonMask = NSEventButtonMaskPenTip; -static NSPenLowerSideMask: NSEventButtonMask = NSEventButtonMaskPenLowerSide; +pub static NSPenLowerSideMask: NSEventButtonMask = NSEventButtonMaskPenLowerSide; -static NSPenUpperSideMask: NSEventButtonMask = NSEventButtonMaskPenUpperSide; +pub static NSPenUpperSideMask: NSEventButtonMask = NSEventButtonMaskPenUpperSide; pub type NSEventPhase = NSUInteger; pub const NSEventPhaseNone: NSEventPhase = 0; @@ -255,27 +255,27 @@ pub const NSEventSubtypeTabletPoint: NSEventSubtype = 1; pub const NSEventSubtypeTabletProximity: NSEventSubtype = 2; pub const NSEventSubtypeTouch: NSEventSubtype = 3; -static NSWindowExposedEventType: NSEventSubtype = NSEventSubtypeWindowExposed; +pub static NSWindowExposedEventType: NSEventSubtype = NSEventSubtypeWindowExposed; -static NSApplicationActivatedEventType: NSEventSubtype = NSEventSubtypeApplicationActivated; +pub static NSApplicationActivatedEventType: NSEventSubtype = NSEventSubtypeApplicationActivated; -static NSApplicationDeactivatedEventType: NSEventSubtype = NSEventSubtypeApplicationDeactivated; +pub static NSApplicationDeactivatedEventType: NSEventSubtype = NSEventSubtypeApplicationDeactivated; -static NSWindowMovedEventType: NSEventSubtype = NSEventSubtypeWindowMoved; +pub static NSWindowMovedEventType: NSEventSubtype = NSEventSubtypeWindowMoved; -static NSScreenChangedEventType: NSEventSubtype = NSEventSubtypeScreenChanged; +pub static NSScreenChangedEventType: NSEventSubtype = NSEventSubtypeScreenChanged; -static NSAWTEventType: NSEventSubtype = 16; +pub static NSAWTEventType: NSEventSubtype = 16; -static NSPowerOffEventType: NSEventSubtype = NSEventSubtypePowerOff; +pub static NSPowerOffEventType: NSEventSubtype = NSEventSubtypePowerOff; -static NSMouseEventSubtype: NSEventSubtype = NSEventSubtypeMouseEvent; +pub static NSMouseEventSubtype: NSEventSubtype = NSEventSubtypeMouseEvent; -static NSTabletPointEventSubtype: NSEventSubtype = NSEventSubtypeTabletPoint; +pub static NSTabletPointEventSubtype: NSEventSubtype = NSEventSubtypeTabletPoint; -static NSTabletProximityEventSubtype: NSEventSubtype = NSEventSubtypeTabletProximity; +pub static NSTabletProximityEventSubtype: NSEventSubtype = NSEventSubtypeTabletProximity; -static NSTouchEventSubtype: NSEventSubtype = NSEventSubtypeTouch; +pub static NSTouchEventSubtype: NSEventSubtype = NSEventSubtypeTouch; pub type NSPressureBehavior = NSInteger; pub const NSPressureBehaviorUnknown: NSPressureBehavior = -1; diff --git a/icrate/src/AppKit/generated/NSFont.rs b/icrate/src/AppKit/generated/NSFont.rs index 8c4472ae4..040c1744e 100644 --- a/icrate/src/AppKit/generated/NSFont.rs +++ b/icrate/src/AppKit/generated/NSFont.rs @@ -5,7 +5,7 @@ use crate::AppKit::*; use crate::Foundation::*; extern "C" { - static NSFontIdentityMatrix: NonNull; + pub static NSFontIdentityMatrix: NonNull; } extern_class!( @@ -218,11 +218,11 @@ extern_methods!( ); extern "C" { - static NSAntialiasThresholdChangedNotification: &'static NSNotificationName; + pub static NSAntialiasThresholdChangedNotification: &'static NSNotificationName; } extern "C" { - static NSFontSetChangedNotification: &'static NSNotificationName; + pub static NSFontSetChangedNotification: &'static NSNotificationName; } pub const NSControlGlyph: i32 = 0x00FFFFFF; diff --git a/icrate/src/AppKit/generated/NSFontCollection.rs b/icrate/src/AppKit/generated/NSFontCollection.rs index 9b71ab8fc..32f93668f 100644 --- a/icrate/src/AppKit/generated/NSFontCollection.rs +++ b/icrate/src/AppKit/generated/NSFontCollection.rs @@ -12,15 +12,17 @@ pub const NSFontCollectionVisibilityComputer: NSFontCollectionVisibility = 1 << pub type NSFontCollectionMatchingOptionKey = NSString; extern "C" { - static NSFontCollectionIncludeDisabledFontsOption: &'static NSFontCollectionMatchingOptionKey; + pub static NSFontCollectionIncludeDisabledFontsOption: + &'static NSFontCollectionMatchingOptionKey; } extern "C" { - static NSFontCollectionRemoveDuplicatesOption: &'static NSFontCollectionMatchingOptionKey; + pub static NSFontCollectionRemoveDuplicatesOption: &'static NSFontCollectionMatchingOptionKey; } extern "C" { - static NSFontCollectionDisallowAutoActivationOption: &'static NSFontCollectionMatchingOptionKey; + pub static NSFontCollectionDisallowAutoActivationOption: + &'static NSFontCollectionMatchingOptionKey; } pub type NSFontCollectionName = NSString; @@ -176,53 +178,53 @@ extern_methods!( ); extern "C" { - static NSFontCollectionDidChangeNotification: &'static NSNotificationName; + pub static NSFontCollectionDidChangeNotification: &'static NSNotificationName; } pub type NSFontCollectionUserInfoKey = NSString; extern "C" { - static NSFontCollectionActionKey: &'static NSFontCollectionUserInfoKey; + pub static NSFontCollectionActionKey: &'static NSFontCollectionUserInfoKey; } extern "C" { - static NSFontCollectionNameKey: &'static NSFontCollectionUserInfoKey; + pub static NSFontCollectionNameKey: &'static NSFontCollectionUserInfoKey; } extern "C" { - static NSFontCollectionOldNameKey: &'static NSFontCollectionUserInfoKey; + pub static NSFontCollectionOldNameKey: &'static NSFontCollectionUserInfoKey; } extern "C" { - static NSFontCollectionVisibilityKey: &'static NSFontCollectionUserInfoKey; + pub static NSFontCollectionVisibilityKey: &'static NSFontCollectionUserInfoKey; } pub type NSFontCollectionActionTypeKey = NSString; extern "C" { - static NSFontCollectionWasShown: &'static NSFontCollectionActionTypeKey; + pub static NSFontCollectionWasShown: &'static NSFontCollectionActionTypeKey; } extern "C" { - static NSFontCollectionWasHidden: &'static NSFontCollectionActionTypeKey; + pub static NSFontCollectionWasHidden: &'static NSFontCollectionActionTypeKey; } extern "C" { - static NSFontCollectionWasRenamed: &'static NSFontCollectionActionTypeKey; + pub static NSFontCollectionWasRenamed: &'static NSFontCollectionActionTypeKey; } extern "C" { - static NSFontCollectionAllFonts: &'static NSFontCollectionName; + pub static NSFontCollectionAllFonts: &'static NSFontCollectionName; } extern "C" { - static NSFontCollectionUser: &'static NSFontCollectionName; + pub static NSFontCollectionUser: &'static NSFontCollectionName; } extern "C" { - static NSFontCollectionFavorites: &'static NSFontCollectionName; + pub static NSFontCollectionFavorites: &'static NSFontCollectionName; } extern "C" { - static NSFontCollectionRecentlyUsed: &'static NSFontCollectionName; + pub static NSFontCollectionRecentlyUsed: &'static NSFontCollectionName; } diff --git a/icrate/src/AppKit/generated/NSFontDescriptor.rs b/icrate/src/AppKit/generated/NSFontDescriptor.rs index 502d3b74c..054e21379 100644 --- a/icrate/src/AppKit/generated/NSFontDescriptor.rs +++ b/icrate/src/AppKit/generated/NSFontDescriptor.rs @@ -164,191 +164,191 @@ extern_methods!( ); extern "C" { - static NSFontFamilyAttribute: &'static NSFontDescriptorAttributeName; + pub static NSFontFamilyAttribute: &'static NSFontDescriptorAttributeName; } extern "C" { - static NSFontNameAttribute: &'static NSFontDescriptorAttributeName; + pub static NSFontNameAttribute: &'static NSFontDescriptorAttributeName; } extern "C" { - static NSFontFaceAttribute: &'static NSFontDescriptorAttributeName; + pub static NSFontFaceAttribute: &'static NSFontDescriptorAttributeName; } extern "C" { - static NSFontSizeAttribute: &'static NSFontDescriptorAttributeName; + pub static NSFontSizeAttribute: &'static NSFontDescriptorAttributeName; } extern "C" { - static NSFontVisibleNameAttribute: &'static NSFontDescriptorAttributeName; + pub static NSFontVisibleNameAttribute: &'static NSFontDescriptorAttributeName; } extern "C" { - static NSFontMatrixAttribute: &'static NSFontDescriptorAttributeName; + pub static NSFontMatrixAttribute: &'static NSFontDescriptorAttributeName; } extern "C" { - static NSFontVariationAttribute: &'static NSFontDescriptorAttributeName; + pub static NSFontVariationAttribute: &'static NSFontDescriptorAttributeName; } extern "C" { - static NSFontCharacterSetAttribute: &'static NSFontDescriptorAttributeName; + pub static NSFontCharacterSetAttribute: &'static NSFontDescriptorAttributeName; } extern "C" { - static NSFontCascadeListAttribute: &'static NSFontDescriptorAttributeName; + pub static NSFontCascadeListAttribute: &'static NSFontDescriptorAttributeName; } extern "C" { - static NSFontTraitsAttribute: &'static NSFontDescriptorAttributeName; + pub static NSFontTraitsAttribute: &'static NSFontDescriptorAttributeName; } extern "C" { - static NSFontFixedAdvanceAttribute: &'static NSFontDescriptorAttributeName; + pub static NSFontFixedAdvanceAttribute: &'static NSFontDescriptorAttributeName; } extern "C" { - static NSFontFeatureSettingsAttribute: &'static NSFontDescriptorAttributeName; + pub static NSFontFeatureSettingsAttribute: &'static NSFontDescriptorAttributeName; } extern "C" { - static NSFontSymbolicTrait: &'static NSFontDescriptorTraitKey; + pub static NSFontSymbolicTrait: &'static NSFontDescriptorTraitKey; } extern "C" { - static NSFontWeightTrait: &'static NSFontDescriptorTraitKey; + pub static NSFontWeightTrait: &'static NSFontDescriptorTraitKey; } extern "C" { - static NSFontWidthTrait: &'static NSFontDescriptorTraitKey; + pub static NSFontWidthTrait: &'static NSFontDescriptorTraitKey; } extern "C" { - static NSFontSlantTrait: &'static NSFontDescriptorTraitKey; + pub static NSFontSlantTrait: &'static NSFontDescriptorTraitKey; } extern "C" { - static NSFontVariationAxisIdentifierKey: &'static NSFontDescriptorVariationKey; + pub static NSFontVariationAxisIdentifierKey: &'static NSFontDescriptorVariationKey; } extern "C" { - static NSFontVariationAxisMinimumValueKey: &'static NSFontDescriptorVariationKey; + pub static NSFontVariationAxisMinimumValueKey: &'static NSFontDescriptorVariationKey; } extern "C" { - static NSFontVariationAxisMaximumValueKey: &'static NSFontDescriptorVariationKey; + pub static NSFontVariationAxisMaximumValueKey: &'static NSFontDescriptorVariationKey; } extern "C" { - static NSFontVariationAxisDefaultValueKey: &'static NSFontDescriptorVariationKey; + pub static NSFontVariationAxisDefaultValueKey: &'static NSFontDescriptorVariationKey; } extern "C" { - static NSFontVariationAxisNameKey: &'static NSFontDescriptorVariationKey; + pub static NSFontVariationAxisNameKey: &'static NSFontDescriptorVariationKey; } extern "C" { - static NSFontFeatureTypeIdentifierKey: &'static NSFontDescriptorFeatureKey; + pub static NSFontFeatureTypeIdentifierKey: &'static NSFontDescriptorFeatureKey; } extern "C" { - static NSFontFeatureSelectorIdentifierKey: &'static NSFontDescriptorFeatureKey; + pub static NSFontFeatureSelectorIdentifierKey: &'static NSFontDescriptorFeatureKey; } extern "C" { - static NSFontWeightUltraLight: NSFontWeight; + pub static NSFontWeightUltraLight: NSFontWeight; } extern "C" { - static NSFontWeightThin: NSFontWeight; + pub static NSFontWeightThin: NSFontWeight; } extern "C" { - static NSFontWeightLight: NSFontWeight; + pub static NSFontWeightLight: NSFontWeight; } extern "C" { - static NSFontWeightRegular: NSFontWeight; + pub static NSFontWeightRegular: NSFontWeight; } extern "C" { - static NSFontWeightMedium: NSFontWeight; + pub static NSFontWeightMedium: NSFontWeight; } extern "C" { - static NSFontWeightSemibold: NSFontWeight; + pub static NSFontWeightSemibold: NSFontWeight; } extern "C" { - static NSFontWeightBold: NSFontWeight; + pub static NSFontWeightBold: NSFontWeight; } extern "C" { - static NSFontWeightHeavy: NSFontWeight; + pub static NSFontWeightHeavy: NSFontWeight; } extern "C" { - static NSFontWeightBlack: NSFontWeight; + pub static NSFontWeightBlack: NSFontWeight; } extern "C" { - static NSFontDescriptorSystemDesignDefault: &'static NSFontDescriptorSystemDesign; + pub static NSFontDescriptorSystemDesignDefault: &'static NSFontDescriptorSystemDesign; } extern "C" { - static NSFontDescriptorSystemDesignSerif: &'static NSFontDescriptorSystemDesign; + pub static NSFontDescriptorSystemDesignSerif: &'static NSFontDescriptorSystemDesign; } extern "C" { - static NSFontDescriptorSystemDesignMonospaced: &'static NSFontDescriptorSystemDesign; + pub static NSFontDescriptorSystemDesignMonospaced: &'static NSFontDescriptorSystemDesign; } extern "C" { - static NSFontDescriptorSystemDesignRounded: &'static NSFontDescriptorSystemDesign; + pub static NSFontDescriptorSystemDesignRounded: &'static NSFontDescriptorSystemDesign; } extern "C" { - static NSFontTextStyleLargeTitle: &'static NSFontTextStyle; + pub static NSFontTextStyleLargeTitle: &'static NSFontTextStyle; } extern "C" { - static NSFontTextStyleTitle1: &'static NSFontTextStyle; + pub static NSFontTextStyleTitle1: &'static NSFontTextStyle; } extern "C" { - static NSFontTextStyleTitle2: &'static NSFontTextStyle; + pub static NSFontTextStyleTitle2: &'static NSFontTextStyle; } extern "C" { - static NSFontTextStyleTitle3: &'static NSFontTextStyle; + pub static NSFontTextStyleTitle3: &'static NSFontTextStyle; } extern "C" { - static NSFontTextStyleHeadline: &'static NSFontTextStyle; + pub static NSFontTextStyleHeadline: &'static NSFontTextStyle; } extern "C" { - static NSFontTextStyleSubheadline: &'static NSFontTextStyle; + pub static NSFontTextStyleSubheadline: &'static NSFontTextStyle; } extern "C" { - static NSFontTextStyleBody: &'static NSFontTextStyle; + pub static NSFontTextStyleBody: &'static NSFontTextStyle; } extern "C" { - static NSFontTextStyleCallout: &'static NSFontTextStyle; + pub static NSFontTextStyleCallout: &'static NSFontTextStyle; } extern "C" { - static NSFontTextStyleFootnote: &'static NSFontTextStyle; + pub static NSFontTextStyleFootnote: &'static NSFontTextStyle; } extern "C" { - static NSFontTextStyleCaption1: &'static NSFontTextStyle; + pub static NSFontTextStyleCaption1: &'static NSFontTextStyle; } extern "C" { - static NSFontTextStyleCaption2: &'static NSFontTextStyle; + pub static NSFontTextStyleCaption2: &'static NSFontTextStyle; } pub type NSFontFamilyClass = u32; @@ -376,7 +376,7 @@ pub const NSFontVerticalTrait: i32 = 1 << 11; pub const NSFontUIOptimizedTrait: i32 = 1 << 12; extern "C" { - static NSFontColorAttribute: &'static NSString; + pub static NSFontColorAttribute: &'static NSString; } extern_methods!( diff --git a/icrate/src/AppKit/generated/NSGraphics.rs b/icrate/src/AppKit/generated/NSGraphics.rs index 08cce65de..274cb3b4b 100644 --- a/icrate/src/AppKit/generated/NSGraphics.rs +++ b/icrate/src/AppKit/generated/NSGraphics.rs @@ -35,63 +35,65 @@ pub const NSCompositingOperationSaturation: NSCompositingOperation = 26; pub const NSCompositingOperationColor: NSCompositingOperation = 27; pub const NSCompositingOperationLuminosity: NSCompositingOperation = 28; -static NSCompositeClear: NSCompositingOperation = NSCompositingOperationClear; +pub static NSCompositeClear: NSCompositingOperation = NSCompositingOperationClear; -static NSCompositeCopy: NSCompositingOperation = NSCompositingOperationCopy; +pub static NSCompositeCopy: NSCompositingOperation = NSCompositingOperationCopy; -static NSCompositeSourceOver: NSCompositingOperation = NSCompositingOperationSourceOver; +pub static NSCompositeSourceOver: NSCompositingOperation = NSCompositingOperationSourceOver; -static NSCompositeSourceIn: NSCompositingOperation = NSCompositingOperationSourceIn; +pub static NSCompositeSourceIn: NSCompositingOperation = NSCompositingOperationSourceIn; -static NSCompositeSourceOut: NSCompositingOperation = NSCompositingOperationSourceOut; +pub static NSCompositeSourceOut: NSCompositingOperation = NSCompositingOperationSourceOut; -static NSCompositeSourceAtop: NSCompositingOperation = NSCompositingOperationSourceAtop; +pub static NSCompositeSourceAtop: NSCompositingOperation = NSCompositingOperationSourceAtop; -static NSCompositeDestinationOver: NSCompositingOperation = NSCompositingOperationDestinationOver; +pub static NSCompositeDestinationOver: NSCompositingOperation = + NSCompositingOperationDestinationOver; -static NSCompositeDestinationIn: NSCompositingOperation = NSCompositingOperationDestinationIn; +pub static NSCompositeDestinationIn: NSCompositingOperation = NSCompositingOperationDestinationIn; -static NSCompositeDestinationOut: NSCompositingOperation = NSCompositingOperationDestinationOut; +pub static NSCompositeDestinationOut: NSCompositingOperation = NSCompositingOperationDestinationOut; -static NSCompositeDestinationAtop: NSCompositingOperation = NSCompositingOperationDestinationAtop; +pub static NSCompositeDestinationAtop: NSCompositingOperation = + NSCompositingOperationDestinationAtop; -static NSCompositeXOR: NSCompositingOperation = NSCompositingOperationXOR; +pub static NSCompositeXOR: NSCompositingOperation = NSCompositingOperationXOR; -static NSCompositePlusDarker: NSCompositingOperation = NSCompositingOperationPlusDarker; +pub static NSCompositePlusDarker: NSCompositingOperation = NSCompositingOperationPlusDarker; -static NSCompositeHighlight: NSCompositingOperation = NSCompositingOperationHighlight; +pub static NSCompositeHighlight: NSCompositingOperation = NSCompositingOperationHighlight; -static NSCompositePlusLighter: NSCompositingOperation = NSCompositingOperationPlusLighter; +pub static NSCompositePlusLighter: NSCompositingOperation = NSCompositingOperationPlusLighter; -static NSCompositeMultiply: NSCompositingOperation = NSCompositingOperationMultiply; +pub static NSCompositeMultiply: NSCompositingOperation = NSCompositingOperationMultiply; -static NSCompositeScreen: NSCompositingOperation = NSCompositingOperationScreen; +pub static NSCompositeScreen: NSCompositingOperation = NSCompositingOperationScreen; -static NSCompositeOverlay: NSCompositingOperation = NSCompositingOperationOverlay; +pub static NSCompositeOverlay: NSCompositingOperation = NSCompositingOperationOverlay; -static NSCompositeDarken: NSCompositingOperation = NSCompositingOperationDarken; +pub static NSCompositeDarken: NSCompositingOperation = NSCompositingOperationDarken; -static NSCompositeLighten: NSCompositingOperation = NSCompositingOperationLighten; +pub static NSCompositeLighten: NSCompositingOperation = NSCompositingOperationLighten; -static NSCompositeColorDodge: NSCompositingOperation = NSCompositingOperationColorDodge; +pub static NSCompositeColorDodge: NSCompositingOperation = NSCompositingOperationColorDodge; -static NSCompositeColorBurn: NSCompositingOperation = NSCompositingOperationColorBurn; +pub static NSCompositeColorBurn: NSCompositingOperation = NSCompositingOperationColorBurn; -static NSCompositeSoftLight: NSCompositingOperation = NSCompositingOperationSoftLight; +pub static NSCompositeSoftLight: NSCompositingOperation = NSCompositingOperationSoftLight; -static NSCompositeHardLight: NSCompositingOperation = NSCompositingOperationHardLight; +pub static NSCompositeHardLight: NSCompositingOperation = NSCompositingOperationHardLight; -static NSCompositeDifference: NSCompositingOperation = NSCompositingOperationDifference; +pub static NSCompositeDifference: NSCompositingOperation = NSCompositingOperationDifference; -static NSCompositeExclusion: NSCompositingOperation = NSCompositingOperationExclusion; +pub static NSCompositeExclusion: NSCompositingOperation = NSCompositingOperationExclusion; -static NSCompositeHue: NSCompositingOperation = NSCompositingOperationHue; +pub static NSCompositeHue: NSCompositingOperation = NSCompositingOperationHue; -static NSCompositeSaturation: NSCompositingOperation = NSCompositingOperationSaturation; +pub static NSCompositeSaturation: NSCompositingOperation = NSCompositingOperationSaturation; -static NSCompositeColor: NSCompositingOperation = NSCompositingOperationColor; +pub static NSCompositeColor: NSCompositingOperation = NSCompositingOperationColor; -static NSCompositeLuminosity: NSCompositingOperation = NSCompositingOperationLuminosity; +pub static NSCompositeLuminosity: NSCompositingOperation = NSCompositingOperationLuminosity; pub type NSBackingStoreType = NSUInteger; pub const NSBackingStoreRetained: NSBackingStoreType = 0; @@ -123,43 +125,43 @@ pub const NSColorRenderingIntentSaturation: NSColorRenderingIntent = 4; pub type NSColorSpaceName = NSString; extern "C" { - static NSCalibratedWhiteColorSpace: &'static NSColorSpaceName; + pub static NSCalibratedWhiteColorSpace: &'static NSColorSpaceName; } extern "C" { - static NSCalibratedRGBColorSpace: &'static NSColorSpaceName; + pub static NSCalibratedRGBColorSpace: &'static NSColorSpaceName; } extern "C" { - static NSDeviceWhiteColorSpace: &'static NSColorSpaceName; + pub static NSDeviceWhiteColorSpace: &'static NSColorSpaceName; } extern "C" { - static NSDeviceRGBColorSpace: &'static NSColorSpaceName; + pub static NSDeviceRGBColorSpace: &'static NSColorSpaceName; } extern "C" { - static NSDeviceCMYKColorSpace: &'static NSColorSpaceName; + pub static NSDeviceCMYKColorSpace: &'static NSColorSpaceName; } extern "C" { - static NSNamedColorSpace: &'static NSColorSpaceName; + pub static NSNamedColorSpace: &'static NSColorSpaceName; } extern "C" { - static NSPatternColorSpace: &'static NSColorSpaceName; + pub static NSPatternColorSpace: &'static NSColorSpaceName; } extern "C" { - static NSCustomColorSpace: &'static NSColorSpaceName; + pub static NSCustomColorSpace: &'static NSColorSpaceName; } extern "C" { - static NSCalibratedBlackColorSpace: &'static NSColorSpaceName; + pub static NSCalibratedBlackColorSpace: &'static NSColorSpaceName; } extern "C" { - static NSDeviceBlackColorSpace: &'static NSColorSpaceName; + pub static NSDeviceBlackColorSpace: &'static NSColorSpaceName; } pub type NSWindowDepth = i32; @@ -168,19 +170,19 @@ pub const NSWindowDepthSixtyfourBitRGB: NSWindowDepth = 0x210; pub const NSWindowDepthOnehundredtwentyeightBitRGB: NSWindowDepth = 0x220; extern "C" { - static NSWhite: CGFloat; + pub static NSWhite: CGFloat; } extern "C" { - static NSLightGray: CGFloat; + pub static NSLightGray: CGFloat; } extern "C" { - static NSDarkGray: CGFloat; + pub static NSDarkGray: CGFloat; } extern "C" { - static NSBlack: CGFloat; + pub static NSBlack: CGFloat; } pub type NSDisplayGamut = NSInteger; @@ -190,27 +192,27 @@ pub const NSDisplayGamutP3: NSDisplayGamut = 2; pub type NSDeviceDescriptionKey = NSString; extern "C" { - static NSDeviceResolution: &'static NSDeviceDescriptionKey; + pub static NSDeviceResolution: &'static NSDeviceDescriptionKey; } extern "C" { - static NSDeviceColorSpaceName: &'static NSDeviceDescriptionKey; + pub static NSDeviceColorSpaceName: &'static NSDeviceDescriptionKey; } extern "C" { - static NSDeviceBitsPerSample: &'static NSDeviceDescriptionKey; + pub static NSDeviceBitsPerSample: &'static NSDeviceDescriptionKey; } extern "C" { - static NSDeviceIsScreen: &'static NSDeviceDescriptionKey; + pub static NSDeviceIsScreen: &'static NSDeviceDescriptionKey; } extern "C" { - static NSDeviceIsPrinter: &'static NSDeviceDescriptionKey; + pub static NSDeviceIsPrinter: &'static NSDeviceDescriptionKey; } extern "C" { - static NSDeviceSize: &'static NSDeviceDescriptionKey; + pub static NSDeviceSize: &'static NSDeviceDescriptionKey; } pub type NSAnimationEffect = NSUInteger; diff --git a/icrate/src/AppKit/generated/NSGraphicsContext.rs b/icrate/src/AppKit/generated/NSGraphicsContext.rs index 30bf6df2f..2746fbb64 100644 --- a/icrate/src/AppKit/generated/NSGraphicsContext.rs +++ b/icrate/src/AppKit/generated/NSGraphicsContext.rs @@ -7,22 +7,22 @@ use crate::Foundation::*; pub type NSGraphicsContextAttributeKey = NSString; extern "C" { - static NSGraphicsContextDestinationAttributeName: &'static NSGraphicsContextAttributeKey; + pub static NSGraphicsContextDestinationAttributeName: &'static NSGraphicsContextAttributeKey; } extern "C" { - static NSGraphicsContextRepresentationFormatAttributeName: + pub static NSGraphicsContextRepresentationFormatAttributeName: &'static NSGraphicsContextAttributeKey; } pub type NSGraphicsContextRepresentationFormatName = NSString; extern "C" { - static NSGraphicsContextPSFormat: &'static NSGraphicsContextRepresentationFormatName; + pub static NSGraphicsContextPSFormat: &'static NSGraphicsContextRepresentationFormatName; } extern "C" { - static NSGraphicsContextPDFFormat: &'static NSGraphicsContextRepresentationFormatName; + pub static NSGraphicsContextPDFFormat: &'static NSGraphicsContextRepresentationFormatName; } pub type NSImageInterpolation = NSUInteger; diff --git a/icrate/src/AppKit/generated/NSGridView.rs b/icrate/src/AppKit/generated/NSGridView.rs index 70e7e29fa..652d34bc7 100644 --- a/icrate/src/AppKit/generated/NSGridView.rs +++ b/icrate/src/AppKit/generated/NSGridView.rs @@ -21,7 +21,7 @@ pub const NSGridRowAlignmentFirstBaseline: NSGridRowAlignment = 2; pub const NSGridRowAlignmentLastBaseline: NSGridRowAlignment = 3; extern "C" { - static NSGridViewSizeForContent: CGFloat; + pub static NSGridViewSizeForContent: CGFloat; } extern_class!( diff --git a/icrate/src/AppKit/generated/NSHelpManager.rs b/icrate/src/AppKit/generated/NSHelpManager.rs index c9d4f6541..e5fb0f708 100644 --- a/icrate/src/AppKit/generated/NSHelpManager.rs +++ b/icrate/src/AppKit/generated/NSHelpManager.rs @@ -69,11 +69,11 @@ extern_methods!( ); extern "C" { - static NSContextHelpModeDidActivateNotification: &'static NSNotificationName; + pub static NSContextHelpModeDidActivateNotification: &'static NSNotificationName; } extern "C" { - static NSContextHelpModeDidDeactivateNotification: &'static NSNotificationName; + pub static NSContextHelpModeDidDeactivateNotification: &'static NSNotificationName; } extern_methods!( diff --git a/icrate/src/AppKit/generated/NSImage.rs b/icrate/src/AppKit/generated/NSImage.rs index 7ebd3b659..ddd251bec 100644 --- a/icrate/src/AppKit/generated/NSImage.rs +++ b/icrate/src/AppKit/generated/NSImage.rs @@ -7,15 +7,15 @@ use crate::Foundation::*; pub type NSImageName = NSString; extern "C" { - static NSImageHintCTM: &'static NSImageHintKey; + pub static NSImageHintCTM: &'static NSImageHintKey; } extern "C" { - static NSImageHintInterpolation: &'static NSImageHintKey; + pub static NSImageHintInterpolation: &'static NSImageHintKey; } extern "C" { - static NSImageHintUserInterfaceLayoutDirection: &'static NSImageHintKey; + pub static NSImageHintUserInterfaceLayoutDirection: &'static NSImageHintKey; } pub type NSImageLoadStatus = NSUInteger; @@ -448,559 +448,559 @@ extern_methods!( ); extern "C" { - static NSImageNameAddTemplate: &'static NSImageName; + pub static NSImageNameAddTemplate: &'static NSImageName; } extern "C" { - static NSImageNameBluetoothTemplate: &'static NSImageName; + pub static NSImageNameBluetoothTemplate: &'static NSImageName; } extern "C" { - static NSImageNameBonjour: &'static NSImageName; + pub static NSImageNameBonjour: &'static NSImageName; } extern "C" { - static NSImageNameBookmarksTemplate: &'static NSImageName; + pub static NSImageNameBookmarksTemplate: &'static NSImageName; } extern "C" { - static NSImageNameCaution: &'static NSImageName; + pub static NSImageNameCaution: &'static NSImageName; } extern "C" { - static NSImageNameComputer: &'static NSImageName; + pub static NSImageNameComputer: &'static NSImageName; } extern "C" { - static NSImageNameEnterFullScreenTemplate: &'static NSImageName; + pub static NSImageNameEnterFullScreenTemplate: &'static NSImageName; } extern "C" { - static NSImageNameExitFullScreenTemplate: &'static NSImageName; + pub static NSImageNameExitFullScreenTemplate: &'static NSImageName; } extern "C" { - static NSImageNameFolder: &'static NSImageName; + pub static NSImageNameFolder: &'static NSImageName; } extern "C" { - static NSImageNameFolderBurnable: &'static NSImageName; + pub static NSImageNameFolderBurnable: &'static NSImageName; } extern "C" { - static NSImageNameFolderSmart: &'static NSImageName; + pub static NSImageNameFolderSmart: &'static NSImageName; } extern "C" { - static NSImageNameFollowLinkFreestandingTemplate: &'static NSImageName; + pub static NSImageNameFollowLinkFreestandingTemplate: &'static NSImageName; } extern "C" { - static NSImageNameHomeTemplate: &'static NSImageName; + pub static NSImageNameHomeTemplate: &'static NSImageName; } extern "C" { - static NSImageNameIChatTheaterTemplate: &'static NSImageName; + pub static NSImageNameIChatTheaterTemplate: &'static NSImageName; } extern "C" { - static NSImageNameLockLockedTemplate: &'static NSImageName; + pub static NSImageNameLockLockedTemplate: &'static NSImageName; } extern "C" { - static NSImageNameLockUnlockedTemplate: &'static NSImageName; + pub static NSImageNameLockUnlockedTemplate: &'static NSImageName; } extern "C" { - static NSImageNameNetwork: &'static NSImageName; + pub static NSImageNameNetwork: &'static NSImageName; } extern "C" { - static NSImageNamePathTemplate: &'static NSImageName; + pub static NSImageNamePathTemplate: &'static NSImageName; } extern "C" { - static NSImageNameQuickLookTemplate: &'static NSImageName; + pub static NSImageNameQuickLookTemplate: &'static NSImageName; } extern "C" { - static NSImageNameRefreshFreestandingTemplate: &'static NSImageName; + pub static NSImageNameRefreshFreestandingTemplate: &'static NSImageName; } extern "C" { - static NSImageNameRefreshTemplate: &'static NSImageName; + pub static NSImageNameRefreshTemplate: &'static NSImageName; } extern "C" { - static NSImageNameRemoveTemplate: &'static NSImageName; + pub static NSImageNameRemoveTemplate: &'static NSImageName; } extern "C" { - static NSImageNameRevealFreestandingTemplate: &'static NSImageName; + pub static NSImageNameRevealFreestandingTemplate: &'static NSImageName; } extern "C" { - static NSImageNameShareTemplate: &'static NSImageName; + pub static NSImageNameShareTemplate: &'static NSImageName; } extern "C" { - static NSImageNameSlideshowTemplate: &'static NSImageName; + pub static NSImageNameSlideshowTemplate: &'static NSImageName; } extern "C" { - static NSImageNameStatusAvailable: &'static NSImageName; + pub static NSImageNameStatusAvailable: &'static NSImageName; } extern "C" { - static NSImageNameStatusNone: &'static NSImageName; + pub static NSImageNameStatusNone: &'static NSImageName; } extern "C" { - static NSImageNameStatusPartiallyAvailable: &'static NSImageName; + pub static NSImageNameStatusPartiallyAvailable: &'static NSImageName; } extern "C" { - static NSImageNameStatusUnavailable: &'static NSImageName; + pub static NSImageNameStatusUnavailable: &'static NSImageName; } extern "C" { - static NSImageNameStopProgressFreestandingTemplate: &'static NSImageName; + pub static NSImageNameStopProgressFreestandingTemplate: &'static NSImageName; } extern "C" { - static NSImageNameStopProgressTemplate: &'static NSImageName; + pub static NSImageNameStopProgressTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTrashEmpty: &'static NSImageName; + pub static NSImageNameTrashEmpty: &'static NSImageName; } extern "C" { - static NSImageNameTrashFull: &'static NSImageName; + pub static NSImageNameTrashFull: &'static NSImageName; } extern "C" { - static NSImageNameActionTemplate: &'static NSImageName; + pub static NSImageNameActionTemplate: &'static NSImageName; } extern "C" { - static NSImageNameSmartBadgeTemplate: &'static NSImageName; + pub static NSImageNameSmartBadgeTemplate: &'static NSImageName; } extern "C" { - static NSImageNameIconViewTemplate: &'static NSImageName; + pub static NSImageNameIconViewTemplate: &'static NSImageName; } extern "C" { - static NSImageNameListViewTemplate: &'static NSImageName; + pub static NSImageNameListViewTemplate: &'static NSImageName; } extern "C" { - static NSImageNameColumnViewTemplate: &'static NSImageName; + pub static NSImageNameColumnViewTemplate: &'static NSImageName; } extern "C" { - static NSImageNameFlowViewTemplate: &'static NSImageName; + pub static NSImageNameFlowViewTemplate: &'static NSImageName; } extern "C" { - static NSImageNameInvalidDataFreestandingTemplate: &'static NSImageName; + pub static NSImageNameInvalidDataFreestandingTemplate: &'static NSImageName; } extern "C" { - static NSImageNameGoForwardTemplate: &'static NSImageName; + pub static NSImageNameGoForwardTemplate: &'static NSImageName; } extern "C" { - static NSImageNameGoBackTemplate: &'static NSImageName; + pub static NSImageNameGoBackTemplate: &'static NSImageName; } extern "C" { - static NSImageNameGoRightTemplate: &'static NSImageName; + pub static NSImageNameGoRightTemplate: &'static NSImageName; } extern "C" { - static NSImageNameGoLeftTemplate: &'static NSImageName; + pub static NSImageNameGoLeftTemplate: &'static NSImageName; } extern "C" { - static NSImageNameRightFacingTriangleTemplate: &'static NSImageName; + pub static NSImageNameRightFacingTriangleTemplate: &'static NSImageName; } extern "C" { - static NSImageNameLeftFacingTriangleTemplate: &'static NSImageName; + pub static NSImageNameLeftFacingTriangleTemplate: &'static NSImageName; } extern "C" { - static NSImageNameDotMac: &'static NSImageName; + pub static NSImageNameDotMac: &'static NSImageName; } extern "C" { - static NSImageNameMobileMe: &'static NSImageName; + pub static NSImageNameMobileMe: &'static NSImageName; } extern "C" { - static NSImageNameMultipleDocuments: &'static NSImageName; + pub static NSImageNameMultipleDocuments: &'static NSImageName; } extern "C" { - static NSImageNameUserAccounts: &'static NSImageName; + pub static NSImageNameUserAccounts: &'static NSImageName; } extern "C" { - static NSImageNamePreferencesGeneral: &'static NSImageName; + pub static NSImageNamePreferencesGeneral: &'static NSImageName; } extern "C" { - static NSImageNameAdvanced: &'static NSImageName; + pub static NSImageNameAdvanced: &'static NSImageName; } extern "C" { - static NSImageNameInfo: &'static NSImageName; + pub static NSImageNameInfo: &'static NSImageName; } extern "C" { - static NSImageNameFontPanel: &'static NSImageName; + pub static NSImageNameFontPanel: &'static NSImageName; } extern "C" { - static NSImageNameColorPanel: &'static NSImageName; + pub static NSImageNameColorPanel: &'static NSImageName; } extern "C" { - static NSImageNameUser: &'static NSImageName; + pub static NSImageNameUser: &'static NSImageName; } extern "C" { - static NSImageNameUserGroup: &'static NSImageName; + pub static NSImageNameUserGroup: &'static NSImageName; } extern "C" { - static NSImageNameEveryone: &'static NSImageName; + pub static NSImageNameEveryone: &'static NSImageName; } extern "C" { - static NSImageNameUserGuest: &'static NSImageName; + pub static NSImageNameUserGuest: &'static NSImageName; } extern "C" { - static NSImageNameMenuOnStateTemplate: &'static NSImageName; + pub static NSImageNameMenuOnStateTemplate: &'static NSImageName; } extern "C" { - static NSImageNameMenuMixedStateTemplate: &'static NSImageName; + pub static NSImageNameMenuMixedStateTemplate: &'static NSImageName; } extern "C" { - static NSImageNameApplicationIcon: &'static NSImageName; + pub static NSImageNameApplicationIcon: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarAddDetailTemplate: &'static NSImageName; + pub static NSImageNameTouchBarAddDetailTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarAddTemplate: &'static NSImageName; + pub static NSImageNameTouchBarAddTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarAlarmTemplate: &'static NSImageName; + pub static NSImageNameTouchBarAlarmTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarAudioInputMuteTemplate: &'static NSImageName; + pub static NSImageNameTouchBarAudioInputMuteTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarAudioInputTemplate: &'static NSImageName; + pub static NSImageNameTouchBarAudioInputTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarAudioOutputMuteTemplate: &'static NSImageName; + pub static NSImageNameTouchBarAudioOutputMuteTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarAudioOutputVolumeHighTemplate: &'static NSImageName; + pub static NSImageNameTouchBarAudioOutputVolumeHighTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarAudioOutputVolumeLowTemplate: &'static NSImageName; + pub static NSImageNameTouchBarAudioOutputVolumeLowTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarAudioOutputVolumeMediumTemplate: &'static NSImageName; + pub static NSImageNameTouchBarAudioOutputVolumeMediumTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarAudioOutputVolumeOffTemplate: &'static NSImageName; + pub static NSImageNameTouchBarAudioOutputVolumeOffTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarBookmarksTemplate: &'static NSImageName; + pub static NSImageNameTouchBarBookmarksTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarColorPickerFill: &'static NSImageName; + pub static NSImageNameTouchBarColorPickerFill: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarColorPickerFont: &'static NSImageName; + pub static NSImageNameTouchBarColorPickerFont: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarColorPickerStroke: &'static NSImageName; + pub static NSImageNameTouchBarColorPickerStroke: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarCommunicationAudioTemplate: &'static NSImageName; + pub static NSImageNameTouchBarCommunicationAudioTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarCommunicationVideoTemplate: &'static NSImageName; + pub static NSImageNameTouchBarCommunicationVideoTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarComposeTemplate: &'static NSImageName; + pub static NSImageNameTouchBarComposeTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarDeleteTemplate: &'static NSImageName; + pub static NSImageNameTouchBarDeleteTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarDownloadTemplate: &'static NSImageName; + pub static NSImageNameTouchBarDownloadTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarEnterFullScreenTemplate: &'static NSImageName; + pub static NSImageNameTouchBarEnterFullScreenTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarExitFullScreenTemplate: &'static NSImageName; + pub static NSImageNameTouchBarExitFullScreenTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarFastForwardTemplate: &'static NSImageName; + pub static NSImageNameTouchBarFastForwardTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarFolderCopyToTemplate: &'static NSImageName; + pub static NSImageNameTouchBarFolderCopyToTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarFolderMoveToTemplate: &'static NSImageName; + pub static NSImageNameTouchBarFolderMoveToTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarFolderTemplate: &'static NSImageName; + pub static NSImageNameTouchBarFolderTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarGetInfoTemplate: &'static NSImageName; + pub static NSImageNameTouchBarGetInfoTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarGoBackTemplate: &'static NSImageName; + pub static NSImageNameTouchBarGoBackTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarGoDownTemplate: &'static NSImageName; + pub static NSImageNameTouchBarGoDownTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarGoForwardTemplate: &'static NSImageName; + pub static NSImageNameTouchBarGoForwardTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarGoUpTemplate: &'static NSImageName; + pub static NSImageNameTouchBarGoUpTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarHistoryTemplate: &'static NSImageName; + pub static NSImageNameTouchBarHistoryTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarIconViewTemplate: &'static NSImageName; + pub static NSImageNameTouchBarIconViewTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarListViewTemplate: &'static NSImageName; + pub static NSImageNameTouchBarListViewTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarMailTemplate: &'static NSImageName; + pub static NSImageNameTouchBarMailTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarNewFolderTemplate: &'static NSImageName; + pub static NSImageNameTouchBarNewFolderTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarNewMessageTemplate: &'static NSImageName; + pub static NSImageNameTouchBarNewMessageTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarOpenInBrowserTemplate: &'static NSImageName; + pub static NSImageNameTouchBarOpenInBrowserTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarPauseTemplate: &'static NSImageName; + pub static NSImageNameTouchBarPauseTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarPlayPauseTemplate: &'static NSImageName; + pub static NSImageNameTouchBarPlayPauseTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarPlayTemplate: &'static NSImageName; + pub static NSImageNameTouchBarPlayTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarQuickLookTemplate: &'static NSImageName; + pub static NSImageNameTouchBarQuickLookTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarRecordStartTemplate: &'static NSImageName; + pub static NSImageNameTouchBarRecordStartTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarRecordStopTemplate: &'static NSImageName; + pub static NSImageNameTouchBarRecordStopTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarRefreshTemplate: &'static NSImageName; + pub static NSImageNameTouchBarRefreshTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarRemoveTemplate: &'static NSImageName; + pub static NSImageNameTouchBarRemoveTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarRewindTemplate: &'static NSImageName; + pub static NSImageNameTouchBarRewindTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarRotateLeftTemplate: &'static NSImageName; + pub static NSImageNameTouchBarRotateLeftTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarRotateRightTemplate: &'static NSImageName; + pub static NSImageNameTouchBarRotateRightTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarSearchTemplate: &'static NSImageName; + pub static NSImageNameTouchBarSearchTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarShareTemplate: &'static NSImageName; + pub static NSImageNameTouchBarShareTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarSidebarTemplate: &'static NSImageName; + pub static NSImageNameTouchBarSidebarTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarSkipAhead15SecondsTemplate: &'static NSImageName; + pub static NSImageNameTouchBarSkipAhead15SecondsTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarSkipAhead30SecondsTemplate: &'static NSImageName; + pub static NSImageNameTouchBarSkipAhead30SecondsTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarSkipAheadTemplate: &'static NSImageName; + pub static NSImageNameTouchBarSkipAheadTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarSkipBack15SecondsTemplate: &'static NSImageName; + pub static NSImageNameTouchBarSkipBack15SecondsTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarSkipBack30SecondsTemplate: &'static NSImageName; + pub static NSImageNameTouchBarSkipBack30SecondsTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarSkipBackTemplate: &'static NSImageName; + pub static NSImageNameTouchBarSkipBackTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarSkipToEndTemplate: &'static NSImageName; + pub static NSImageNameTouchBarSkipToEndTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarSkipToStartTemplate: &'static NSImageName; + pub static NSImageNameTouchBarSkipToStartTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarSlideshowTemplate: &'static NSImageName; + pub static NSImageNameTouchBarSlideshowTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarTagIconTemplate: &'static NSImageName; + pub static NSImageNameTouchBarTagIconTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarTextBoldTemplate: &'static NSImageName; + pub static NSImageNameTouchBarTextBoldTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarTextBoxTemplate: &'static NSImageName; + pub static NSImageNameTouchBarTextBoxTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarTextCenterAlignTemplate: &'static NSImageName; + pub static NSImageNameTouchBarTextCenterAlignTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarTextItalicTemplate: &'static NSImageName; + pub static NSImageNameTouchBarTextItalicTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarTextJustifiedAlignTemplate: &'static NSImageName; + pub static NSImageNameTouchBarTextJustifiedAlignTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarTextLeftAlignTemplate: &'static NSImageName; + pub static NSImageNameTouchBarTextLeftAlignTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarTextListTemplate: &'static NSImageName; + pub static NSImageNameTouchBarTextListTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarTextRightAlignTemplate: &'static NSImageName; + pub static NSImageNameTouchBarTextRightAlignTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarTextStrikethroughTemplate: &'static NSImageName; + pub static NSImageNameTouchBarTextStrikethroughTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarTextUnderlineTemplate: &'static NSImageName; + pub static NSImageNameTouchBarTextUnderlineTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarUserAddTemplate: &'static NSImageName; + pub static NSImageNameTouchBarUserAddTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarUserGroupTemplate: &'static NSImageName; + pub static NSImageNameTouchBarUserGroupTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarUserTemplate: &'static NSImageName; + pub static NSImageNameTouchBarUserTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarVolumeDownTemplate: &'static NSImageName; + pub static NSImageNameTouchBarVolumeDownTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarVolumeUpTemplate: &'static NSImageName; + pub static NSImageNameTouchBarVolumeUpTemplate: &'static NSImageName; } extern "C" { - static NSImageNameTouchBarPlayheadTemplate: &'static NSImageName; + pub static NSImageNameTouchBarPlayheadTemplate: &'static NSImageName; } pub type NSImageSymbolScale = NSInteger; diff --git a/icrate/src/AppKit/generated/NSImageRep.rs b/icrate/src/AppKit/generated/NSImageRep.rs index c37d475b3..498e54572 100644 --- a/icrate/src/AppKit/generated/NSImageRep.rs +++ b/icrate/src/AppKit/generated/NSImageRep.rs @@ -184,5 +184,5 @@ extern_methods!( ); extern "C" { - static NSImageRepRegistryDidChangeNotification: &'static NSNotificationName; + pub static NSImageRepRegistryDidChangeNotification: &'static NSNotificationName; } diff --git a/icrate/src/AppKit/generated/NSInterfaceStyle.rs b/icrate/src/AppKit/generated/NSInterfaceStyle.rs index 8cf3530e4..c2a3e0c08 100644 --- a/icrate/src/AppKit/generated/NSInterfaceStyle.rs +++ b/icrate/src/AppKit/generated/NSInterfaceStyle.rs @@ -23,5 +23,5 @@ extern_methods!( ); extern "C" { - static NSInterfaceStyleDefault: Option<&'static NSString>; + pub static NSInterfaceStyleDefault: Option<&'static NSString>; } diff --git a/icrate/src/AppKit/generated/NSItemProvider.rs b/icrate/src/AppKit/generated/NSItemProvider.rs index cc20fde0f..95ee1584b 100644 --- a/icrate/src/AppKit/generated/NSItemProvider.rs +++ b/icrate/src/AppKit/generated/NSItemProvider.rs @@ -19,17 +19,17 @@ extern_methods!( ); extern "C" { - static NSTypeIdentifierDateText: &'static NSString; + pub static NSTypeIdentifierDateText: &'static NSString; } extern "C" { - static NSTypeIdentifierAddressText: &'static NSString; + pub static NSTypeIdentifierAddressText: &'static NSString; } extern "C" { - static NSTypeIdentifierPhoneNumberText: &'static NSString; + pub static NSTypeIdentifierPhoneNumberText: &'static NSString; } extern "C" { - static NSTypeIdentifierTransitInformationText: &'static NSString; + pub static NSTypeIdentifierTransitInformationText: &'static NSString; } diff --git a/icrate/src/AppKit/generated/NSKeyValueBinding.rs b/icrate/src/AppKit/generated/NSKeyValueBinding.rs index 4fd785a83..aab53cacd 100644 --- a/icrate/src/AppKit/generated/NSKeyValueBinding.rs +++ b/icrate/src/AppKit/generated/NSKeyValueBinding.rs @@ -49,29 +49,29 @@ extern_methods!( ); extern "C" { - static NSMultipleValuesMarker: &'static Object; + pub static NSMultipleValuesMarker: &'static Object; } extern "C" { - static NSNoSelectionMarker: &'static Object; + pub static NSNoSelectionMarker: &'static Object; } extern "C" { - static NSNotApplicableMarker: &'static Object; + pub static NSNotApplicableMarker: &'static Object; } pub type NSBindingInfoKey = NSString; extern "C" { - static NSObservedObjectKey: &'static NSBindingInfoKey; + pub static NSObservedObjectKey: &'static NSBindingInfoKey; } extern "C" { - static NSObservedKeyPathKey: &'static NSBindingInfoKey; + pub static NSObservedKeyPathKey: &'static NSBindingInfoKey; } extern "C" { - static NSOptionsKey: &'static NSBindingInfoKey; + pub static NSOptionsKey: &'static NSBindingInfoKey; } extern_methods!( @@ -171,423 +171,423 @@ extern_methods!( ); extern "C" { - static NSAlignmentBinding: &'static NSBindingName; + pub static NSAlignmentBinding: &'static NSBindingName; } extern "C" { - static NSAlternateImageBinding: &'static NSBindingName; + pub static NSAlternateImageBinding: &'static NSBindingName; } extern "C" { - static NSAlternateTitleBinding: &'static NSBindingName; + pub static NSAlternateTitleBinding: &'static NSBindingName; } extern "C" { - static NSAnimateBinding: &'static NSBindingName; + pub static NSAnimateBinding: &'static NSBindingName; } extern "C" { - static NSAnimationDelayBinding: &'static NSBindingName; + pub static NSAnimationDelayBinding: &'static NSBindingName; } extern "C" { - static NSArgumentBinding: &'static NSBindingName; + pub static NSArgumentBinding: &'static NSBindingName; } extern "C" { - static NSAttributedStringBinding: &'static NSBindingName; + pub static NSAttributedStringBinding: &'static NSBindingName; } extern "C" { - static NSContentArrayBinding: &'static NSBindingName; + pub static NSContentArrayBinding: &'static NSBindingName; } extern "C" { - static NSContentArrayForMultipleSelectionBinding: &'static NSBindingName; + pub static NSContentArrayForMultipleSelectionBinding: &'static NSBindingName; } extern "C" { - static NSContentBinding: &'static NSBindingName; + pub static NSContentBinding: &'static NSBindingName; } extern "C" { - static NSContentDictionaryBinding: &'static NSBindingName; + pub static NSContentDictionaryBinding: &'static NSBindingName; } extern "C" { - static NSContentHeightBinding: &'static NSBindingName; + pub static NSContentHeightBinding: &'static NSBindingName; } extern "C" { - static NSContentObjectBinding: &'static NSBindingName; + pub static NSContentObjectBinding: &'static NSBindingName; } extern "C" { - static NSContentObjectsBinding: &'static NSBindingName; + pub static NSContentObjectsBinding: &'static NSBindingName; } extern "C" { - static NSContentSetBinding: &'static NSBindingName; + pub static NSContentSetBinding: &'static NSBindingName; } extern "C" { - static NSContentValuesBinding: &'static NSBindingName; + pub static NSContentValuesBinding: &'static NSBindingName; } extern "C" { - static NSContentWidthBinding: &'static NSBindingName; + pub static NSContentWidthBinding: &'static NSBindingName; } extern "C" { - static NSCriticalValueBinding: &'static NSBindingName; + pub static NSCriticalValueBinding: &'static NSBindingName; } extern "C" { - static NSDataBinding: &'static NSBindingName; + pub static NSDataBinding: &'static NSBindingName; } extern "C" { - static NSDisplayPatternTitleBinding: &'static NSBindingName; + pub static NSDisplayPatternTitleBinding: &'static NSBindingName; } extern "C" { - static NSDisplayPatternValueBinding: &'static NSBindingName; + pub static NSDisplayPatternValueBinding: &'static NSBindingName; } extern "C" { - static NSDocumentEditedBinding: &'static NSBindingName; + pub static NSDocumentEditedBinding: &'static NSBindingName; } extern "C" { - static NSDoubleClickArgumentBinding: &'static NSBindingName; + pub static NSDoubleClickArgumentBinding: &'static NSBindingName; } extern "C" { - static NSDoubleClickTargetBinding: &'static NSBindingName; + pub static NSDoubleClickTargetBinding: &'static NSBindingName; } extern "C" { - static NSEditableBinding: &'static NSBindingName; + pub static NSEditableBinding: &'static NSBindingName; } extern "C" { - static NSEnabledBinding: &'static NSBindingName; + pub static NSEnabledBinding: &'static NSBindingName; } extern "C" { - static NSExcludedKeysBinding: &'static NSBindingName; + pub static NSExcludedKeysBinding: &'static NSBindingName; } extern "C" { - static NSFilterPredicateBinding: &'static NSBindingName; + pub static NSFilterPredicateBinding: &'static NSBindingName; } extern "C" { - static NSFontBinding: &'static NSBindingName; + pub static NSFontBinding: &'static NSBindingName; } extern "C" { - static NSFontBoldBinding: &'static NSBindingName; + pub static NSFontBoldBinding: &'static NSBindingName; } extern "C" { - static NSFontFamilyNameBinding: &'static NSBindingName; + pub static NSFontFamilyNameBinding: &'static NSBindingName; } extern "C" { - static NSFontItalicBinding: &'static NSBindingName; + pub static NSFontItalicBinding: &'static NSBindingName; } extern "C" { - static NSFontNameBinding: &'static NSBindingName; + pub static NSFontNameBinding: &'static NSBindingName; } extern "C" { - static NSFontSizeBinding: &'static NSBindingName; + pub static NSFontSizeBinding: &'static NSBindingName; } extern "C" { - static NSHeaderTitleBinding: &'static NSBindingName; + pub static NSHeaderTitleBinding: &'static NSBindingName; } extern "C" { - static NSHiddenBinding: &'static NSBindingName; + pub static NSHiddenBinding: &'static NSBindingName; } extern "C" { - static NSImageBinding: &'static NSBindingName; + pub static NSImageBinding: &'static NSBindingName; } extern "C" { - static NSIncludedKeysBinding: &'static NSBindingName; + pub static NSIncludedKeysBinding: &'static NSBindingName; } extern "C" { - static NSInitialKeyBinding: &'static NSBindingName; + pub static NSInitialKeyBinding: &'static NSBindingName; } extern "C" { - static NSInitialValueBinding: &'static NSBindingName; + pub static NSInitialValueBinding: &'static NSBindingName; } extern "C" { - static NSIsIndeterminateBinding: &'static NSBindingName; + pub static NSIsIndeterminateBinding: &'static NSBindingName; } extern "C" { - static NSLabelBinding: &'static NSBindingName; + pub static NSLabelBinding: &'static NSBindingName; } extern "C" { - static NSLocalizedKeyDictionaryBinding: &'static NSBindingName; + pub static NSLocalizedKeyDictionaryBinding: &'static NSBindingName; } extern "C" { - static NSManagedObjectContextBinding: &'static NSBindingName; + pub static NSManagedObjectContextBinding: &'static NSBindingName; } extern "C" { - static NSMaximumRecentsBinding: &'static NSBindingName; + pub static NSMaximumRecentsBinding: &'static NSBindingName; } extern "C" { - static NSMaxValueBinding: &'static NSBindingName; + pub static NSMaxValueBinding: &'static NSBindingName; } extern "C" { - static NSMaxWidthBinding: &'static NSBindingName; + pub static NSMaxWidthBinding: &'static NSBindingName; } extern "C" { - static NSMinValueBinding: &'static NSBindingName; + pub static NSMinValueBinding: &'static NSBindingName; } extern "C" { - static NSMinWidthBinding: &'static NSBindingName; + pub static NSMinWidthBinding: &'static NSBindingName; } extern "C" { - static NSMixedStateImageBinding: &'static NSBindingName; + pub static NSMixedStateImageBinding: &'static NSBindingName; } extern "C" { - static NSOffStateImageBinding: &'static NSBindingName; + pub static NSOffStateImageBinding: &'static NSBindingName; } extern "C" { - static NSOnStateImageBinding: &'static NSBindingName; + pub static NSOnStateImageBinding: &'static NSBindingName; } extern "C" { - static NSPositioningRectBinding: &'static NSBindingName; + pub static NSPositioningRectBinding: &'static NSBindingName; } extern "C" { - static NSPredicateBinding: &'static NSBindingName; + pub static NSPredicateBinding: &'static NSBindingName; } extern "C" { - static NSRecentSearchesBinding: &'static NSBindingName; + pub static NSRecentSearchesBinding: &'static NSBindingName; } extern "C" { - static NSRepresentedFilenameBinding: &'static NSBindingName; + pub static NSRepresentedFilenameBinding: &'static NSBindingName; } extern "C" { - static NSRowHeightBinding: &'static NSBindingName; + pub static NSRowHeightBinding: &'static NSBindingName; } extern "C" { - static NSSelectedIdentifierBinding: &'static NSBindingName; + pub static NSSelectedIdentifierBinding: &'static NSBindingName; } extern "C" { - static NSSelectedIndexBinding: &'static NSBindingName; + pub static NSSelectedIndexBinding: &'static NSBindingName; } extern "C" { - static NSSelectedLabelBinding: &'static NSBindingName; + pub static NSSelectedLabelBinding: &'static NSBindingName; } extern "C" { - static NSSelectedObjectBinding: &'static NSBindingName; + pub static NSSelectedObjectBinding: &'static NSBindingName; } extern "C" { - static NSSelectedObjectsBinding: &'static NSBindingName; + pub static NSSelectedObjectsBinding: &'static NSBindingName; } extern "C" { - static NSSelectedTagBinding: &'static NSBindingName; + pub static NSSelectedTagBinding: &'static NSBindingName; } extern "C" { - static NSSelectedValueBinding: &'static NSBindingName; + pub static NSSelectedValueBinding: &'static NSBindingName; } extern "C" { - static NSSelectedValuesBinding: &'static NSBindingName; + pub static NSSelectedValuesBinding: &'static NSBindingName; } extern "C" { - static NSSelectionIndexesBinding: &'static NSBindingName; + pub static NSSelectionIndexesBinding: &'static NSBindingName; } extern "C" { - static NSSelectionIndexPathsBinding: &'static NSBindingName; + pub static NSSelectionIndexPathsBinding: &'static NSBindingName; } extern "C" { - static NSSortDescriptorsBinding: &'static NSBindingName; + pub static NSSortDescriptorsBinding: &'static NSBindingName; } extern "C" { - static NSTargetBinding: &'static NSBindingName; + pub static NSTargetBinding: &'static NSBindingName; } extern "C" { - static NSTextColorBinding: &'static NSBindingName; + pub static NSTextColorBinding: &'static NSBindingName; } extern "C" { - static NSTitleBinding: &'static NSBindingName; + pub static NSTitleBinding: &'static NSBindingName; } extern "C" { - static NSToolTipBinding: &'static NSBindingName; + pub static NSToolTipBinding: &'static NSBindingName; } extern "C" { - static NSTransparentBinding: &'static NSBindingName; + pub static NSTransparentBinding: &'static NSBindingName; } extern "C" { - static NSValueBinding: &'static NSBindingName; + pub static NSValueBinding: &'static NSBindingName; } extern "C" { - static NSValuePathBinding: &'static NSBindingName; + pub static NSValuePathBinding: &'static NSBindingName; } extern "C" { - static NSValueURLBinding: &'static NSBindingName; + pub static NSValueURLBinding: &'static NSBindingName; } extern "C" { - static NSVisibleBinding: &'static NSBindingName; + pub static NSVisibleBinding: &'static NSBindingName; } extern "C" { - static NSWarningValueBinding: &'static NSBindingName; + pub static NSWarningValueBinding: &'static NSBindingName; } extern "C" { - static NSWidthBinding: &'static NSBindingName; + pub static NSWidthBinding: &'static NSBindingName; } extern "C" { - static NSAllowsEditingMultipleValuesSelectionBindingOption: &'static NSBindingOption; + pub static NSAllowsEditingMultipleValuesSelectionBindingOption: &'static NSBindingOption; } extern "C" { - static NSAllowsNullArgumentBindingOption: &'static NSBindingOption; + pub static NSAllowsNullArgumentBindingOption: &'static NSBindingOption; } extern "C" { - static NSAlwaysPresentsApplicationModalAlertsBindingOption: &'static NSBindingOption; + pub static NSAlwaysPresentsApplicationModalAlertsBindingOption: &'static NSBindingOption; } extern "C" { - static NSConditionallySetsEditableBindingOption: &'static NSBindingOption; + pub static NSConditionallySetsEditableBindingOption: &'static NSBindingOption; } extern "C" { - static NSConditionallySetsEnabledBindingOption: &'static NSBindingOption; + pub static NSConditionallySetsEnabledBindingOption: &'static NSBindingOption; } extern "C" { - static NSConditionallySetsHiddenBindingOption: &'static NSBindingOption; + pub static NSConditionallySetsHiddenBindingOption: &'static NSBindingOption; } extern "C" { - static NSContinuouslyUpdatesValueBindingOption: &'static NSBindingOption; + pub static NSContinuouslyUpdatesValueBindingOption: &'static NSBindingOption; } extern "C" { - static NSCreatesSortDescriptorBindingOption: &'static NSBindingOption; + pub static NSCreatesSortDescriptorBindingOption: &'static NSBindingOption; } extern "C" { - static NSDeletesObjectsOnRemoveBindingsOption: &'static NSBindingOption; + pub static NSDeletesObjectsOnRemoveBindingsOption: &'static NSBindingOption; } extern "C" { - static NSDisplayNameBindingOption: &'static NSBindingOption; + pub static NSDisplayNameBindingOption: &'static NSBindingOption; } extern "C" { - static NSDisplayPatternBindingOption: &'static NSBindingOption; + pub static NSDisplayPatternBindingOption: &'static NSBindingOption; } extern "C" { - static NSContentPlacementTagBindingOption: &'static NSBindingOption; + pub static NSContentPlacementTagBindingOption: &'static NSBindingOption; } extern "C" { - static NSHandlesContentAsCompoundValueBindingOption: &'static NSBindingOption; + pub static NSHandlesContentAsCompoundValueBindingOption: &'static NSBindingOption; } extern "C" { - static NSInsertsNullPlaceholderBindingOption: &'static NSBindingOption; + pub static NSInsertsNullPlaceholderBindingOption: &'static NSBindingOption; } extern "C" { - static NSInvokesSeparatelyWithArrayObjectsBindingOption: &'static NSBindingOption; + pub static NSInvokesSeparatelyWithArrayObjectsBindingOption: &'static NSBindingOption; } extern "C" { - static NSMultipleValuesPlaceholderBindingOption: &'static NSBindingOption; + pub static NSMultipleValuesPlaceholderBindingOption: &'static NSBindingOption; } extern "C" { - static NSNoSelectionPlaceholderBindingOption: &'static NSBindingOption; + pub static NSNoSelectionPlaceholderBindingOption: &'static NSBindingOption; } extern "C" { - static NSNotApplicablePlaceholderBindingOption: &'static NSBindingOption; + pub static NSNotApplicablePlaceholderBindingOption: &'static NSBindingOption; } extern "C" { - static NSNullPlaceholderBindingOption: &'static NSBindingOption; + pub static NSNullPlaceholderBindingOption: &'static NSBindingOption; } extern "C" { - static NSRaisesForNotApplicableKeysBindingOption: &'static NSBindingOption; + pub static NSRaisesForNotApplicableKeysBindingOption: &'static NSBindingOption; } extern "C" { - static NSPredicateFormatBindingOption: &'static NSBindingOption; + pub static NSPredicateFormatBindingOption: &'static NSBindingOption; } extern "C" { - static NSSelectorNameBindingOption: &'static NSBindingOption; + pub static NSSelectorNameBindingOption: &'static NSBindingOption; } extern "C" { - static NSSelectsAllWhenSettingContentBindingOption: &'static NSBindingOption; + pub static NSSelectsAllWhenSettingContentBindingOption: &'static NSBindingOption; } extern "C" { - static NSValidatesImmediatelyBindingOption: &'static NSBindingOption; + pub static NSValidatesImmediatelyBindingOption: &'static NSBindingOption; } extern "C" { - static NSValueTransformerNameBindingOption: &'static NSBindingOption; + pub static NSValueTransformerNameBindingOption: &'static NSBindingOption; } extern "C" { - static NSValueTransformerBindingOption: &'static NSBindingOption; + pub static NSValueTransformerBindingOption: &'static NSBindingOption; } extern_methods!( diff --git a/icrate/src/AppKit/generated/NSLayoutConstraint.rs b/icrate/src/AppKit/generated/NSLayoutConstraint.rs index 20c71307d..88b3b49ee 100644 --- a/icrate/src/AppKit/generated/NSLayoutConstraint.rs +++ b/icrate/src/AppKit/generated/NSLayoutConstraint.rs @@ -4,19 +4,19 @@ use crate::common::*; use crate::AppKit::*; use crate::Foundation::*; -static NSLayoutPriorityRequired: NSLayoutPriority = 1000; +pub static NSLayoutPriorityRequired: NSLayoutPriority = 1000; -static NSLayoutPriorityDefaultHigh: NSLayoutPriority = 750; +pub static NSLayoutPriorityDefaultHigh: NSLayoutPriority = 750; -static NSLayoutPriorityDragThatCanResizeWindow: NSLayoutPriority = 510; +pub static NSLayoutPriorityDragThatCanResizeWindow: NSLayoutPriority = 510; -static NSLayoutPriorityWindowSizeStayPut: NSLayoutPriority = 500; +pub static NSLayoutPriorityWindowSizeStayPut: NSLayoutPriority = 500; -static NSLayoutPriorityDragThatCannotResizeWindow: NSLayoutPriority = 490; +pub static NSLayoutPriorityDragThatCannotResizeWindow: NSLayoutPriority = 490; -static NSLayoutPriorityDefaultLow: NSLayoutPriority = 250; +pub static NSLayoutPriorityDefaultLow: NSLayoutPriority = 250; -static NSLayoutPriorityFittingSizeCompression: NSLayoutPriority = 50; +pub static NSLayoutPriorityFittingSizeCompression: NSLayoutPriority = 50; pub type NSLayoutConstraintOrientation = NSInteger; pub const NSLayoutConstraintOrientationHorizontal: NSLayoutConstraintOrientation = 0; @@ -267,11 +267,11 @@ extern_methods!( ); extern "C" { - static NSViewNoInstrinsicMetric: CGFloat; + pub static NSViewNoInstrinsicMetric: CGFloat; } extern "C" { - static NSViewNoIntrinsicMetric: CGFloat; + pub static NSViewNoIntrinsicMetric: CGFloat; } extern_methods!( diff --git a/icrate/src/AppKit/generated/NSLevelIndicatorCell.rs b/icrate/src/AppKit/generated/NSLevelIndicatorCell.rs index e4fc91f14..fc1b63a13 100644 --- a/icrate/src/AppKit/generated/NSLevelIndicatorCell.rs +++ b/icrate/src/AppKit/generated/NSLevelIndicatorCell.rs @@ -83,12 +83,12 @@ extern_methods!( } ); -static NSRelevancyLevelIndicatorStyle: NSLevelIndicatorStyle = NSLevelIndicatorStyleRelevancy; +pub static NSRelevancyLevelIndicatorStyle: NSLevelIndicatorStyle = NSLevelIndicatorStyleRelevancy; -static NSContinuousCapacityLevelIndicatorStyle: NSLevelIndicatorStyle = +pub static NSContinuousCapacityLevelIndicatorStyle: NSLevelIndicatorStyle = NSLevelIndicatorStyleContinuousCapacity; -static NSDiscreteCapacityLevelIndicatorStyle: NSLevelIndicatorStyle = +pub static NSDiscreteCapacityLevelIndicatorStyle: NSLevelIndicatorStyle = NSLevelIndicatorStyleDiscreteCapacity; -static NSRatingLevelIndicatorStyle: NSLevelIndicatorStyle = NSLevelIndicatorStyleRating; +pub static NSRatingLevelIndicatorStyle: NSLevelIndicatorStyle = NSLevelIndicatorStyleRating; diff --git a/icrate/src/AppKit/generated/NSMenu.rs b/icrate/src/AppKit/generated/NSMenu.rs index 21d246626..1cda57768 100644 --- a/icrate/src/AppKit/generated/NSMenu.rs +++ b/icrate/src/AppKit/generated/NSMenu.rs @@ -249,31 +249,31 @@ extern_methods!( ); extern "C" { - static NSMenuWillSendActionNotification: &'static NSNotificationName; + pub static NSMenuWillSendActionNotification: &'static NSNotificationName; } extern "C" { - static NSMenuDidSendActionNotification: &'static NSNotificationName; + pub static NSMenuDidSendActionNotification: &'static NSNotificationName; } extern "C" { - static NSMenuDidAddItemNotification: &'static NSNotificationName; + pub static NSMenuDidAddItemNotification: &'static NSNotificationName; } extern "C" { - static NSMenuDidRemoveItemNotification: &'static NSNotificationName; + pub static NSMenuDidRemoveItemNotification: &'static NSNotificationName; } extern "C" { - static NSMenuDidChangeItemNotification: &'static NSNotificationName; + pub static NSMenuDidChangeItemNotification: &'static NSNotificationName; } extern "C" { - static NSMenuDidBeginTrackingNotification: &'static NSNotificationName; + pub static NSMenuDidBeginTrackingNotification: &'static NSNotificationName; } extern "C" { - static NSMenuDidEndTrackingNotification: &'static NSNotificationName; + pub static NSMenuDidEndTrackingNotification: &'static NSNotificationName; } extern_methods!( diff --git a/icrate/src/AppKit/generated/NSMenuItem.rs b/icrate/src/AppKit/generated/NSMenuItem.rs index 1dc6c0eaf..6d1b45c15 100644 --- a/icrate/src/AppKit/generated/NSMenuItem.rs +++ b/icrate/src/AppKit/generated/NSMenuItem.rs @@ -217,7 +217,7 @@ extern_methods!( ); extern "C" { - static NSMenuItemImportFromDeviceIdentifier: &'static NSUserInterfaceItemIdentifier; + pub static NSMenuItemImportFromDeviceIdentifier: &'static NSUserInterfaceItemIdentifier; } extern_methods!( diff --git a/icrate/src/AppKit/generated/NSNib.rs b/icrate/src/AppKit/generated/NSNib.rs index 446fc3f60..2861d1e22 100644 --- a/icrate/src/AppKit/generated/NSNib.rs +++ b/icrate/src/AppKit/generated/NSNib.rs @@ -65,9 +65,9 @@ extern_methods!( ); extern "C" { - static NSNibOwner: &'static NSString; + pub static NSNibOwner: &'static NSString; } extern "C" { - static NSNibTopLevelObjects: &'static NSString; + pub static NSNibTopLevelObjects: &'static NSString; } diff --git a/icrate/src/AppKit/generated/NSOpenGL.rs b/icrate/src/AppKit/generated/NSOpenGL.rs index ac8d1db4f..eaf416b17 100644 --- a/icrate/src/AppKit/generated/NSOpenGL.rs +++ b/icrate/src/AppKit/generated/NSOpenGL.rs @@ -302,42 +302,44 @@ extern_methods!( } ); -static NSOpenGLCPSwapInterval: NSOpenGLContextParameter = NSOpenGLContextParameterSwapInterval; +pub static NSOpenGLCPSwapInterval: NSOpenGLContextParameter = NSOpenGLContextParameterSwapInterval; -static NSOpenGLCPSurfaceOrder: NSOpenGLContextParameter = NSOpenGLContextParameterSurfaceOrder; +pub static NSOpenGLCPSurfaceOrder: NSOpenGLContextParameter = NSOpenGLContextParameterSurfaceOrder; -static NSOpenGLCPSurfaceOpacity: NSOpenGLContextParameter = NSOpenGLContextParameterSurfaceOpacity; +pub static NSOpenGLCPSurfaceOpacity: NSOpenGLContextParameter = + NSOpenGLContextParameterSurfaceOpacity; -static NSOpenGLCPSurfaceBackingSize: NSOpenGLContextParameter = +pub static NSOpenGLCPSurfaceBackingSize: NSOpenGLContextParameter = NSOpenGLContextParameterSurfaceBackingSize; -static NSOpenGLCPReclaimResources: NSOpenGLContextParameter = +pub static NSOpenGLCPReclaimResources: NSOpenGLContextParameter = NSOpenGLContextParameterReclaimResources; -static NSOpenGLCPCurrentRendererID: NSOpenGLContextParameter = +pub static NSOpenGLCPCurrentRendererID: NSOpenGLContextParameter = NSOpenGLContextParameterCurrentRendererID; -static NSOpenGLCPGPUVertexProcessing: NSOpenGLContextParameter = +pub static NSOpenGLCPGPUVertexProcessing: NSOpenGLContextParameter = NSOpenGLContextParameterGPUVertexProcessing; -static NSOpenGLCPGPUFragmentProcessing: NSOpenGLContextParameter = +pub static NSOpenGLCPGPUFragmentProcessing: NSOpenGLContextParameter = NSOpenGLContextParameterGPUFragmentProcessing; -static NSOpenGLCPHasDrawable: NSOpenGLContextParameter = NSOpenGLContextParameterHasDrawable; +pub static NSOpenGLCPHasDrawable: NSOpenGLContextParameter = NSOpenGLContextParameterHasDrawable; -static NSOpenGLCPMPSwapsInFlight: NSOpenGLContextParameter = +pub static NSOpenGLCPMPSwapsInFlight: NSOpenGLContextParameter = NSOpenGLContextParameterMPSwapsInFlight; -static NSOpenGLCPSwapRectangle: NSOpenGLContextParameter = NSOpenGLContextParameterSwapRectangle; +pub static NSOpenGLCPSwapRectangle: NSOpenGLContextParameter = + NSOpenGLContextParameterSwapRectangle; -static NSOpenGLCPSwapRectangleEnable: NSOpenGLContextParameter = +pub static NSOpenGLCPSwapRectangleEnable: NSOpenGLContextParameter = NSOpenGLContextParameterSwapRectangleEnable; -static NSOpenGLCPRasterizationEnable: NSOpenGLContextParameter = +pub static NSOpenGLCPRasterizationEnable: NSOpenGLContextParameter = NSOpenGLContextParameterRasterizationEnable; -static NSOpenGLCPStateValidation: NSOpenGLContextParameter = +pub static NSOpenGLCPStateValidation: NSOpenGLContextParameter = NSOpenGLContextParameterStateValidation; -static NSOpenGLCPSurfaceSurfaceVolatile: NSOpenGLContextParameter = +pub static NSOpenGLCPSurfaceSurfaceVolatile: NSOpenGLContextParameter = NSOpenGLContextParameterSurfaceSurfaceVolatile; diff --git a/icrate/src/AppKit/generated/NSOutlineView.rs b/icrate/src/AppKit/generated/NSOutlineView.rs index b5e45eaa8..f51d870c7 100644 --- a/icrate/src/AppKit/generated/NSOutlineView.rs +++ b/icrate/src/AppKit/generated/NSOutlineView.rs @@ -188,41 +188,41 @@ pub type NSOutlineViewDataSource = NSObject; pub type NSOutlineViewDelegate = NSObject; extern "C" { - static NSOutlineViewDisclosureButtonKey: &'static NSUserInterfaceItemIdentifier; + pub static NSOutlineViewDisclosureButtonKey: &'static NSUserInterfaceItemIdentifier; } extern "C" { - static NSOutlineViewShowHideButtonKey: &'static NSUserInterfaceItemIdentifier; + pub static NSOutlineViewShowHideButtonKey: &'static NSUserInterfaceItemIdentifier; } extern "C" { - static NSOutlineViewSelectionDidChangeNotification: &'static NSNotificationName; + pub static NSOutlineViewSelectionDidChangeNotification: &'static NSNotificationName; } extern "C" { - static NSOutlineViewColumnDidMoveNotification: &'static NSNotificationName; + pub static NSOutlineViewColumnDidMoveNotification: &'static NSNotificationName; } extern "C" { - static NSOutlineViewColumnDidResizeNotification: &'static NSNotificationName; + pub static NSOutlineViewColumnDidResizeNotification: &'static NSNotificationName; } extern "C" { - static NSOutlineViewSelectionIsChangingNotification: &'static NSNotificationName; + pub static NSOutlineViewSelectionIsChangingNotification: &'static NSNotificationName; } extern "C" { - static NSOutlineViewItemWillExpandNotification: &'static NSNotificationName; + pub static NSOutlineViewItemWillExpandNotification: &'static NSNotificationName; } extern "C" { - static NSOutlineViewItemDidExpandNotification: &'static NSNotificationName; + pub static NSOutlineViewItemDidExpandNotification: &'static NSNotificationName; } extern "C" { - static NSOutlineViewItemWillCollapseNotification: &'static NSNotificationName; + pub static NSOutlineViewItemWillCollapseNotification: &'static NSNotificationName; } extern "C" { - static NSOutlineViewItemDidCollapseNotification: &'static NSNotificationName; + pub static NSOutlineViewItemDidCollapseNotification: &'static NSNotificationName; } diff --git a/icrate/src/AppKit/generated/NSParagraphStyle.rs b/icrate/src/AppKit/generated/NSParagraphStyle.rs index 1b8c6130d..bc30683ed 100644 --- a/icrate/src/AppKit/generated/NSParagraphStyle.rs +++ b/icrate/src/AppKit/generated/NSParagraphStyle.rs @@ -21,7 +21,7 @@ pub const NSLineBreakStrategyStandard: NSLineBreakStrategy = 0xFFFF; pub type NSTextTabOptionKey = NSString; extern "C" { - static NSTabColumnTerminatorsAttributeName: &'static NSTextTabOptionKey; + pub static NSTabColumnTerminatorsAttributeName: &'static NSTextTabOptionKey; } extern_class!( diff --git a/icrate/src/AppKit/generated/NSPasteboard.rs b/icrate/src/AppKit/generated/NSPasteboard.rs index 86ea0622a..6e0985e2f 100644 --- a/icrate/src/AppKit/generated/NSPasteboard.rs +++ b/icrate/src/AppKit/generated/NSPasteboard.rs @@ -7,89 +7,89 @@ use crate::Foundation::*; pub type NSPasteboardType = NSString; extern "C" { - static NSPasteboardTypeString: &'static NSPasteboardType; + pub static NSPasteboardTypeString: &'static NSPasteboardType; } extern "C" { - static NSPasteboardTypePDF: &'static NSPasteboardType; + pub static NSPasteboardTypePDF: &'static NSPasteboardType; } extern "C" { - static NSPasteboardTypeTIFF: &'static NSPasteboardType; + pub static NSPasteboardTypeTIFF: &'static NSPasteboardType; } extern "C" { - static NSPasteboardTypePNG: &'static NSPasteboardType; + pub static NSPasteboardTypePNG: &'static NSPasteboardType; } extern "C" { - static NSPasteboardTypeRTF: &'static NSPasteboardType; + pub static NSPasteboardTypeRTF: &'static NSPasteboardType; } extern "C" { - static NSPasteboardTypeRTFD: &'static NSPasteboardType; + pub static NSPasteboardTypeRTFD: &'static NSPasteboardType; } extern "C" { - static NSPasteboardTypeHTML: &'static NSPasteboardType; + pub static NSPasteboardTypeHTML: &'static NSPasteboardType; } extern "C" { - static NSPasteboardTypeTabularText: &'static NSPasteboardType; + pub static NSPasteboardTypeTabularText: &'static NSPasteboardType; } extern "C" { - static NSPasteboardTypeFont: &'static NSPasteboardType; + pub static NSPasteboardTypeFont: &'static NSPasteboardType; } extern "C" { - static NSPasteboardTypeRuler: &'static NSPasteboardType; + pub static NSPasteboardTypeRuler: &'static NSPasteboardType; } extern "C" { - static NSPasteboardTypeColor: &'static NSPasteboardType; + pub static NSPasteboardTypeColor: &'static NSPasteboardType; } extern "C" { - static NSPasteboardTypeSound: &'static NSPasteboardType; + pub static NSPasteboardTypeSound: &'static NSPasteboardType; } extern "C" { - static NSPasteboardTypeMultipleTextSelection: &'static NSPasteboardType; + pub static NSPasteboardTypeMultipleTextSelection: &'static NSPasteboardType; } extern "C" { - static NSPasteboardTypeTextFinderOptions: &'static NSPasteboardType; + pub static NSPasteboardTypeTextFinderOptions: &'static NSPasteboardType; } extern "C" { - static NSPasteboardTypeURL: &'static NSPasteboardType; + pub static NSPasteboardTypeURL: &'static NSPasteboardType; } extern "C" { - static NSPasteboardTypeFileURL: &'static NSPasteboardType; + pub static NSPasteboardTypeFileURL: &'static NSPasteboardType; } pub type NSPasteboardName = NSString; extern "C" { - static NSPasteboardNameGeneral: &'static NSPasteboardName; + pub static NSPasteboardNameGeneral: &'static NSPasteboardName; } extern "C" { - static NSPasteboardNameFont: &'static NSPasteboardName; + pub static NSPasteboardNameFont: &'static NSPasteboardName; } extern "C" { - static NSPasteboardNameRuler: &'static NSPasteboardName; + pub static NSPasteboardNameRuler: &'static NSPasteboardName; } extern "C" { - static NSPasteboardNameFind: &'static NSPasteboardName; + pub static NSPasteboardNameFind: &'static NSPasteboardName; } extern "C" { - static NSPasteboardNameDrag: &'static NSPasteboardName; + pub static NSPasteboardNameDrag: &'static NSPasteboardName; } pub type NSPasteboardContentsOptions = NSUInteger; @@ -98,11 +98,12 @@ pub const NSPasteboardContentsCurrentHostOnly: NSPasteboardContentsOptions = 1 < pub type NSPasteboardReadingOptionKey = NSString; extern "C" { - static NSPasteboardURLReadingFileURLsOnlyKey: &'static NSPasteboardReadingOptionKey; + pub static NSPasteboardURLReadingFileURLsOnlyKey: &'static NSPasteboardReadingOptionKey; } extern "C" { - static NSPasteboardURLReadingContentsConformToTypesKey: &'static NSPasteboardReadingOptionKey; + pub static NSPasteboardURLReadingContentsConformToTypesKey: + &'static NSPasteboardReadingOptionKey; } extern_class!( @@ -324,101 +325,101 @@ extern_methods!( ); extern "C" { - static NSFileContentsPboardType: &'static NSPasteboardType; + pub static NSFileContentsPboardType: &'static NSPasteboardType; } extern "C" { - static NSStringPboardType: &'static NSPasteboardType; + pub static NSStringPboardType: &'static NSPasteboardType; } extern "C" { - static NSFilenamesPboardType: &'static NSPasteboardType; + pub static NSFilenamesPboardType: &'static NSPasteboardType; } extern "C" { - static NSTIFFPboardType: &'static NSPasteboardType; + pub static NSTIFFPboardType: &'static NSPasteboardType; } extern "C" { - static NSRTFPboardType: &'static NSPasteboardType; + pub static NSRTFPboardType: &'static NSPasteboardType; } extern "C" { - static NSTabularTextPboardType: &'static NSPasteboardType; + pub static NSTabularTextPboardType: &'static NSPasteboardType; } extern "C" { - static NSFontPboardType: &'static NSPasteboardType; + pub static NSFontPboardType: &'static NSPasteboardType; } extern "C" { - static NSRulerPboardType: &'static NSPasteboardType; + pub static NSRulerPboardType: &'static NSPasteboardType; } extern "C" { - static NSColorPboardType: &'static NSPasteboardType; + pub static NSColorPboardType: &'static NSPasteboardType; } extern "C" { - static NSRTFDPboardType: &'static NSPasteboardType; + pub static NSRTFDPboardType: &'static NSPasteboardType; } extern "C" { - static NSHTMLPboardType: &'static NSPasteboardType; + pub static NSHTMLPboardType: &'static NSPasteboardType; } extern "C" { - static NSURLPboardType: &'static NSPasteboardType; + pub static NSURLPboardType: &'static NSPasteboardType; } extern "C" { - static NSPDFPboardType: &'static NSPasteboardType; + pub static NSPDFPboardType: &'static NSPasteboardType; } extern "C" { - static NSMultipleTextSelectionPboardType: &'static NSPasteboardType; + pub static NSMultipleTextSelectionPboardType: &'static NSPasteboardType; } extern "C" { - static NSPostScriptPboardType: &'static NSPasteboardType; + pub static NSPostScriptPboardType: &'static NSPasteboardType; } extern "C" { - static NSVCardPboardType: &'static NSPasteboardType; + pub static NSVCardPboardType: &'static NSPasteboardType; } extern "C" { - static NSInkTextPboardType: &'static NSPasteboardType; + pub static NSInkTextPboardType: &'static NSPasteboardType; } extern "C" { - static NSFilesPromisePboardType: &'static NSPasteboardType; + pub static NSFilesPromisePboardType: &'static NSPasteboardType; } extern "C" { - static NSPasteboardTypeFindPanelSearchOptions: &'static NSPasteboardType; + pub static NSPasteboardTypeFindPanelSearchOptions: &'static NSPasteboardType; } extern "C" { - static NSGeneralPboard: &'static NSPasteboardName; + pub static NSGeneralPboard: &'static NSPasteboardName; } extern "C" { - static NSFontPboard: &'static NSPasteboardName; + pub static NSFontPboard: &'static NSPasteboardName; } extern "C" { - static NSRulerPboard: &'static NSPasteboardName; + pub static NSRulerPboard: &'static NSPasteboardName; } extern "C" { - static NSFindPboard: &'static NSPasteboardName; + pub static NSFindPboard: &'static NSPasteboardName; } extern "C" { - static NSDragPboard: &'static NSPasteboardName; + pub static NSDragPboard: &'static NSPasteboardName; } extern "C" { - static NSPICTPboardType: &'static NSPasteboardType; + pub static NSPICTPboardType: &'static NSPasteboardType; } diff --git a/icrate/src/AppKit/generated/NSPopUpButton.rs b/icrate/src/AppKit/generated/NSPopUpButton.rs index dbb80890d..f3aab1a22 100644 --- a/icrate/src/AppKit/generated/NSPopUpButton.rs +++ b/icrate/src/AppKit/generated/NSPopUpButton.rs @@ -137,5 +137,5 @@ extern_methods!( ); extern "C" { - static NSPopUpButtonWillPopUpNotification: &'static NSNotificationName; + pub static NSPopUpButtonWillPopUpNotification: &'static NSNotificationName; } diff --git a/icrate/src/AppKit/generated/NSPopUpButtonCell.rs b/icrate/src/AppKit/generated/NSPopUpButtonCell.rs index f6f9e4307..032a92a44 100644 --- a/icrate/src/AppKit/generated/NSPopUpButtonCell.rs +++ b/icrate/src/AppKit/generated/NSPopUpButtonCell.rs @@ -169,5 +169,5 @@ extern_methods!( ); extern "C" { - static NSPopUpButtonCellWillPopUpNotification: &'static NSNotificationName; + pub static NSPopUpButtonCellWillPopUpNotification: &'static NSNotificationName; } diff --git a/icrate/src/AppKit/generated/NSPopover.rs b/icrate/src/AppKit/generated/NSPopover.rs index 2772f602e..e93170093 100644 --- a/icrate/src/AppKit/generated/NSPopover.rs +++ b/icrate/src/AppKit/generated/NSPopover.rs @@ -98,33 +98,33 @@ extern_methods!( ); extern "C" { - static NSPopoverCloseReasonKey: &'static NSString; + pub static NSPopoverCloseReasonKey: &'static NSString; } pub type NSPopoverCloseReasonValue = NSString; extern "C" { - static NSPopoverCloseReasonStandard: &'static NSPopoverCloseReasonValue; + pub static NSPopoverCloseReasonStandard: &'static NSPopoverCloseReasonValue; } extern "C" { - static NSPopoverCloseReasonDetachToWindow: &'static NSPopoverCloseReasonValue; + pub static NSPopoverCloseReasonDetachToWindow: &'static NSPopoverCloseReasonValue; } extern "C" { - static NSPopoverWillShowNotification: &'static NSNotificationName; + pub static NSPopoverWillShowNotification: &'static NSNotificationName; } extern "C" { - static NSPopoverDidShowNotification: &'static NSNotificationName; + pub static NSPopoverDidShowNotification: &'static NSNotificationName; } extern "C" { - static NSPopoverWillCloseNotification: &'static NSNotificationName; + pub static NSPopoverWillCloseNotification: &'static NSNotificationName; } extern "C" { - static NSPopoverDidCloseNotification: &'static NSNotificationName; + pub static NSPopoverDidCloseNotification: &'static NSNotificationName; } pub type NSPopoverDelegate = NSObject; diff --git a/icrate/src/AppKit/generated/NSPrintInfo.rs b/icrate/src/AppKit/generated/NSPrintInfo.rs index baa75e5d9..bd43dada3 100644 --- a/icrate/src/AppKit/generated/NSPrintInfo.rs +++ b/icrate/src/AppKit/generated/NSPrintInfo.rs @@ -16,141 +16,141 @@ pub const NSPrintingPaginationModeClip: NSPrintingPaginationMode = 2; pub type NSPrintInfoAttributeKey = NSString; extern "C" { - static NSPrintPaperName: &'static NSPrintInfoAttributeKey; + pub static NSPrintPaperName: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintPaperSize: &'static NSPrintInfoAttributeKey; + pub static NSPrintPaperSize: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintOrientation: &'static NSPrintInfoAttributeKey; + pub static NSPrintOrientation: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintScalingFactor: &'static NSPrintInfoAttributeKey; + pub static NSPrintScalingFactor: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintLeftMargin: &'static NSPrintInfoAttributeKey; + pub static NSPrintLeftMargin: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintRightMargin: &'static NSPrintInfoAttributeKey; + pub static NSPrintRightMargin: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintTopMargin: &'static NSPrintInfoAttributeKey; + pub static NSPrintTopMargin: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintBottomMargin: &'static NSPrintInfoAttributeKey; + pub static NSPrintBottomMargin: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintHorizontallyCentered: &'static NSPrintInfoAttributeKey; + pub static NSPrintHorizontallyCentered: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintVerticallyCentered: &'static NSPrintInfoAttributeKey; + pub static NSPrintVerticallyCentered: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintHorizontalPagination: &'static NSPrintInfoAttributeKey; + pub static NSPrintHorizontalPagination: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintVerticalPagination: &'static NSPrintInfoAttributeKey; + pub static NSPrintVerticalPagination: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintPrinter: &'static NSPrintInfoAttributeKey; + pub static NSPrintPrinter: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintCopies: &'static NSPrintInfoAttributeKey; + pub static NSPrintCopies: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintAllPages: &'static NSPrintInfoAttributeKey; + pub static NSPrintAllPages: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintFirstPage: &'static NSPrintInfoAttributeKey; + pub static NSPrintFirstPage: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintLastPage: &'static NSPrintInfoAttributeKey; + pub static NSPrintLastPage: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintMustCollate: &'static NSPrintInfoAttributeKey; + pub static NSPrintMustCollate: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintReversePageOrder: &'static NSPrintInfoAttributeKey; + pub static NSPrintReversePageOrder: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintJobDisposition: &'static NSPrintInfoAttributeKey; + pub static NSPrintJobDisposition: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintPagesAcross: &'static NSPrintInfoAttributeKey; + pub static NSPrintPagesAcross: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintPagesDown: &'static NSPrintInfoAttributeKey; + pub static NSPrintPagesDown: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintTime: &'static NSPrintInfoAttributeKey; + pub static NSPrintTime: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintDetailedErrorReporting: &'static NSPrintInfoAttributeKey; + pub static NSPrintDetailedErrorReporting: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintFaxNumber: &'static NSPrintInfoAttributeKey; + pub static NSPrintFaxNumber: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintPrinterName: &'static NSPrintInfoAttributeKey; + pub static NSPrintPrinterName: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintSelectionOnly: &'static NSPrintInfoAttributeKey; + pub static NSPrintSelectionOnly: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintJobSavingURL: &'static NSPrintInfoAttributeKey; + pub static NSPrintJobSavingURL: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintJobSavingFileNameExtensionHidden: &'static NSPrintInfoAttributeKey; + pub static NSPrintJobSavingFileNameExtensionHidden: &'static NSPrintInfoAttributeKey; } extern "C" { - static NSPrintHeaderAndFooter: &'static NSPrintInfoAttributeKey; + pub static NSPrintHeaderAndFooter: &'static NSPrintInfoAttributeKey; } pub type NSPrintJobDispositionValue = NSString; extern "C" { - static NSPrintSpoolJob: &'static NSPrintJobDispositionValue; + pub static NSPrintSpoolJob: &'static NSPrintJobDispositionValue; } extern "C" { - static NSPrintPreviewJob: &'static NSPrintJobDispositionValue; + pub static NSPrintPreviewJob: &'static NSPrintJobDispositionValue; } extern "C" { - static NSPrintSaveJob: &'static NSPrintJobDispositionValue; + pub static NSPrintSaveJob: &'static NSPrintJobDispositionValue; } extern "C" { - static NSPrintCancelJob: &'static NSPrintJobDispositionValue; + pub static NSPrintCancelJob: &'static NSPrintJobDispositionValue; } pub type NSPrintInfoSettingKey = NSString; @@ -331,35 +331,35 @@ extern_methods!( ); extern "C" { - static NSPrintFormName: &'static NSString; + pub static NSPrintFormName: &'static NSString; } extern "C" { - static NSPrintJobFeatures: &'static NSString; + pub static NSPrintJobFeatures: &'static NSString; } extern "C" { - static NSPrintManualFeed: &'static NSString; + pub static NSPrintManualFeed: &'static NSString; } extern "C" { - static NSPrintPagesPerSheet: &'static NSString; + pub static NSPrintPagesPerSheet: &'static NSString; } extern "C" { - static NSPrintPaperFeed: &'static NSString; + pub static NSPrintPaperFeed: &'static NSString; } extern "C" { - static NSPrintSavePath: &'static NSString; + pub static NSPrintSavePath: &'static NSString; } pub type NSPrintingOrientation = NSUInteger; pub const NSPortraitOrientation: NSPrintingOrientation = 0; pub const NSLandscapeOrientation: NSPrintingOrientation = 1; -static NSAutoPagination: NSPrintingPaginationMode = NSPrintingPaginationModeAutomatic; +pub static NSAutoPagination: NSPrintingPaginationMode = NSPrintingPaginationModeAutomatic; -static NSFitPagination: NSPrintingPaginationMode = NSPrintingPaginationModeFit; +pub static NSFitPagination: NSPrintingPaginationMode = NSPrintingPaginationModeFit; -static NSClipPagination: NSPrintingPaginationMode = NSPrintingPaginationModeClip; +pub static NSClipPagination: NSPrintingPaginationMode = NSPrintingPaginationModeClip; diff --git a/icrate/src/AppKit/generated/NSPrintOperation.rs b/icrate/src/AppKit/generated/NSPrintOperation.rs index cc3f1d6b7..672b35a91 100644 --- a/icrate/src/AppKit/generated/NSPrintOperation.rs +++ b/icrate/src/AppKit/generated/NSPrintOperation.rs @@ -15,7 +15,7 @@ pub const NSPrintRenderingQualityBest: NSPrintRenderingQuality = 0; pub const NSPrintRenderingQualityResponsive: NSPrintRenderingQuality = 1; extern "C" { - static NSPrintOperationExistsException: &'static NSExceptionName; + pub static NSPrintOperationExistsException: &'static NSExceptionName; } extern_class!( diff --git a/icrate/src/AppKit/generated/NSPrintPanel.rs b/icrate/src/AppKit/generated/NSPrintPanel.rs index 464fe713a..33a707701 100644 --- a/icrate/src/AppKit/generated/NSPrintPanel.rs +++ b/icrate/src/AppKit/generated/NSPrintPanel.rs @@ -17,25 +17,26 @@ pub const NSPrintPanelShowsPreview: NSPrintPanelOptions = 1 << 17; pub type NSPrintPanelJobStyleHint = NSString; extern "C" { - static NSPrintPhotoJobStyleHint: &'static NSPrintPanelJobStyleHint; + pub static NSPrintPhotoJobStyleHint: &'static NSPrintPanelJobStyleHint; } extern "C" { - static NSPrintAllPresetsJobStyleHint: &'static NSPrintPanelJobStyleHint; + pub static NSPrintAllPresetsJobStyleHint: &'static NSPrintPanelJobStyleHint; } extern "C" { - static NSPrintNoPresetsJobStyleHint: &'static NSPrintPanelJobStyleHint; + pub static NSPrintNoPresetsJobStyleHint: &'static NSPrintPanelJobStyleHint; } pub type NSPrintPanelAccessorySummaryKey = NSString; extern "C" { - static NSPrintPanelAccessorySummaryItemNameKey: &'static NSPrintPanelAccessorySummaryKey; + pub static NSPrintPanelAccessorySummaryItemNameKey: &'static NSPrintPanelAccessorySummaryKey; } extern "C" { - static NSPrintPanelAccessorySummaryItemDescriptionKey: &'static NSPrintPanelAccessorySummaryKey; + pub static NSPrintPanelAccessorySummaryItemDescriptionKey: + &'static NSPrintPanelAccessorySummaryKey; } pub type NSPrintPanelAccessorizing = NSObject; diff --git a/icrate/src/AppKit/generated/NSProgressIndicator.rs b/icrate/src/AppKit/generated/NSProgressIndicator.rs index 1883e4625..332f33c28 100644 --- a/icrate/src/AppKit/generated/NSProgressIndicator.rs +++ b/icrate/src/AppKit/generated/NSProgressIndicator.rs @@ -99,9 +99,9 @@ pub const NSProgressIndicatorPreferredSmallThickness: NSProgressIndicatorThickne pub const NSProgressIndicatorPreferredLargeThickness: NSProgressIndicatorThickness = 18; pub const NSProgressIndicatorPreferredAquaThickness: NSProgressIndicatorThickness = 12; -static NSProgressIndicatorBarStyle: NSProgressIndicatorStyle = NSProgressIndicatorStyleBar; +pub static NSProgressIndicatorBarStyle: NSProgressIndicatorStyle = NSProgressIndicatorStyleBar; -static NSProgressIndicatorSpinningStyle: NSProgressIndicatorStyle = +pub static NSProgressIndicatorSpinningStyle: NSProgressIndicatorStyle = NSProgressIndicatorStyleSpinning; extern_methods!( diff --git a/icrate/src/AppKit/generated/NSRuleEditor.rs b/icrate/src/AppKit/generated/NSRuleEditor.rs index 18a8d35bc..48d4c7b7c 100644 --- a/icrate/src/AppKit/generated/NSRuleEditor.rs +++ b/icrate/src/AppKit/generated/NSRuleEditor.rs @@ -7,31 +7,31 @@ use crate::Foundation::*; pub type NSRuleEditorPredicatePartKey = NSString; extern "C" { - static NSRuleEditorPredicateLeftExpression: &'static NSRuleEditorPredicatePartKey; + pub static NSRuleEditorPredicateLeftExpression: &'static NSRuleEditorPredicatePartKey; } extern "C" { - static NSRuleEditorPredicateRightExpression: &'static NSRuleEditorPredicatePartKey; + pub static NSRuleEditorPredicateRightExpression: &'static NSRuleEditorPredicatePartKey; } extern "C" { - static NSRuleEditorPredicateComparisonModifier: &'static NSRuleEditorPredicatePartKey; + pub static NSRuleEditorPredicateComparisonModifier: &'static NSRuleEditorPredicatePartKey; } extern "C" { - static NSRuleEditorPredicateOptions: &'static NSRuleEditorPredicatePartKey; + pub static NSRuleEditorPredicateOptions: &'static NSRuleEditorPredicatePartKey; } extern "C" { - static NSRuleEditorPredicateOperatorType: &'static NSRuleEditorPredicatePartKey; + pub static NSRuleEditorPredicateOperatorType: &'static NSRuleEditorPredicatePartKey; } extern "C" { - static NSRuleEditorPredicateCustomSelector: &'static NSRuleEditorPredicatePartKey; + pub static NSRuleEditorPredicateCustomSelector: &'static NSRuleEditorPredicatePartKey; } extern "C" { - static NSRuleEditorPredicateCompoundType: &'static NSRuleEditorPredicatePartKey; + pub static NSRuleEditorPredicateCompoundType: &'static NSRuleEditorPredicatePartKey; } pub type NSRuleEditorNestingMode = NSUInteger; @@ -213,5 +213,5 @@ extern_methods!( pub type NSRuleEditorDelegate = NSObject; extern "C" { - static NSRuleEditorRowsDidChangeNotification: &'static NSNotificationName; + pub static NSRuleEditorRowsDidChangeNotification: &'static NSNotificationName; } diff --git a/icrate/src/AppKit/generated/NSRulerView.rs b/icrate/src/AppKit/generated/NSRulerView.rs index b0270daac..40cf882f9 100644 --- a/icrate/src/AppKit/generated/NSRulerView.rs +++ b/icrate/src/AppKit/generated/NSRulerView.rs @@ -11,19 +11,19 @@ pub const NSVerticalRuler: NSRulerOrientation = 1; pub type NSRulerViewUnitName = NSString; extern "C" { - static NSRulerViewUnitInches: &'static NSRulerViewUnitName; + pub static NSRulerViewUnitInches: &'static NSRulerViewUnitName; } extern "C" { - static NSRulerViewUnitCentimeters: &'static NSRulerViewUnitName; + pub static NSRulerViewUnitCentimeters: &'static NSRulerViewUnitName; } extern "C" { - static NSRulerViewUnitPoints: &'static NSRulerViewUnitName; + pub static NSRulerViewUnitPoints: &'static NSRulerViewUnitName; } extern "C" { - static NSRulerViewUnitPicas: &'static NSRulerViewUnitName; + pub static NSRulerViewUnitPicas: &'static NSRulerViewUnitName; } extern_class!( diff --git a/icrate/src/AppKit/generated/NSScreen.rs b/icrate/src/AppKit/generated/NSScreen.rs index d319d4369..3326d4227 100644 --- a/icrate/src/AppKit/generated/NSScreen.rs +++ b/icrate/src/AppKit/generated/NSScreen.rs @@ -81,7 +81,7 @@ extern_methods!( ); extern "C" { - static NSScreenColorSpaceDidChangeNotification: &'static NSNotificationName; + pub static NSScreenColorSpaceDidChangeNotification: &'static NSNotificationName; } extern_methods!( diff --git a/icrate/src/AppKit/generated/NSScrollView.rs b/icrate/src/AppKit/generated/NSScrollView.rs index b3de59322..e889dc77f 100644 --- a/icrate/src/AppKit/generated/NSScrollView.rs +++ b/icrate/src/AppKit/generated/NSScrollView.rs @@ -285,23 +285,23 @@ extern_methods!( ); extern "C" { - static NSScrollViewWillStartLiveMagnifyNotification: &'static NSNotificationName; + pub static NSScrollViewWillStartLiveMagnifyNotification: &'static NSNotificationName; } extern "C" { - static NSScrollViewDidEndLiveMagnifyNotification: &'static NSNotificationName; + pub static NSScrollViewDidEndLiveMagnifyNotification: &'static NSNotificationName; } extern "C" { - static NSScrollViewWillStartLiveScrollNotification: &'static NSNotificationName; + pub static NSScrollViewWillStartLiveScrollNotification: &'static NSNotificationName; } extern "C" { - static NSScrollViewDidLiveScrollNotification: &'static NSNotificationName; + pub static NSScrollViewDidLiveScrollNotification: &'static NSNotificationName; } extern "C" { - static NSScrollViewDidEndLiveScrollNotification: &'static NSNotificationName; + pub static NSScrollViewDidEndLiveScrollNotification: &'static NSNotificationName; } extern_methods!( diff --git a/icrate/src/AppKit/generated/NSScroller.rs b/icrate/src/AppKit/generated/NSScroller.rs index a4ffc2d8b..7d024890e 100644 --- a/icrate/src/AppKit/generated/NSScroller.rs +++ b/icrate/src/AppKit/generated/NSScroller.rs @@ -101,7 +101,7 @@ extern_methods!( ); extern "C" { - static NSPreferredScrollerStyleDidChangeNotification: &'static NSNotificationName; + pub static NSPreferredScrollerStyleDidChangeNotification: &'static NSNotificationName; } pub type NSScrollArrowPosition = NSUInteger; diff --git a/icrate/src/AppKit/generated/NSSearchFieldCell.rs b/icrate/src/AppKit/generated/NSSearchFieldCell.rs index 73b817968..268cc9dcb 100644 --- a/icrate/src/AppKit/generated/NSSearchFieldCell.rs +++ b/icrate/src/AppKit/generated/NSSearchFieldCell.rs @@ -4,13 +4,13 @@ use crate::common::*; use crate::AppKit::*; use crate::Foundation::*; -static NSSearchFieldRecentsTitleMenuItemTag: NSInteger = 1000; +pub static NSSearchFieldRecentsTitleMenuItemTag: NSInteger = 1000; -static NSSearchFieldRecentsMenuItemTag: NSInteger = 1001; +pub static NSSearchFieldRecentsMenuItemTag: NSInteger = 1001; -static NSSearchFieldClearRecentsMenuItemTag: NSInteger = 1002; +pub static NSSearchFieldClearRecentsMenuItemTag: NSInteger = 1002; -static NSSearchFieldNoRecentsMenuItemTag: NSInteger = 1003; +pub static NSSearchFieldNoRecentsMenuItemTag: NSInteger = 1003; extern_class!( #[derive(Debug)] diff --git a/icrate/src/AppKit/generated/NSSharingService.rs b/icrate/src/AppKit/generated/NSSharingService.rs index d6f8517e3..9bf6bc615 100644 --- a/icrate/src/AppKit/generated/NSSharingService.rs +++ b/icrate/src/AppKit/generated/NSSharingService.rs @@ -7,83 +7,83 @@ use crate::Foundation::*; pub type NSSharingServiceName = NSString; extern "C" { - static NSSharingServiceNameComposeEmail: &'static NSSharingServiceName; + pub static NSSharingServiceNameComposeEmail: &'static NSSharingServiceName; } extern "C" { - static NSSharingServiceNameComposeMessage: &'static NSSharingServiceName; + pub static NSSharingServiceNameComposeMessage: &'static NSSharingServiceName; } extern "C" { - static NSSharingServiceNameSendViaAirDrop: &'static NSSharingServiceName; + pub static NSSharingServiceNameSendViaAirDrop: &'static NSSharingServiceName; } extern "C" { - static NSSharingServiceNameAddToSafariReadingList: &'static NSSharingServiceName; + pub static NSSharingServiceNameAddToSafariReadingList: &'static NSSharingServiceName; } extern "C" { - static NSSharingServiceNameAddToIPhoto: &'static NSSharingServiceName; + pub static NSSharingServiceNameAddToIPhoto: &'static NSSharingServiceName; } extern "C" { - static NSSharingServiceNameAddToAperture: &'static NSSharingServiceName; + pub static NSSharingServiceNameAddToAperture: &'static NSSharingServiceName; } extern "C" { - static NSSharingServiceNameUseAsDesktopPicture: &'static NSSharingServiceName; + pub static NSSharingServiceNameUseAsDesktopPicture: &'static NSSharingServiceName; } extern "C" { - static NSSharingServiceNamePostOnFacebook: &'static NSSharingServiceName; + pub static NSSharingServiceNamePostOnFacebook: &'static NSSharingServiceName; } extern "C" { - static NSSharingServiceNamePostOnTwitter: &'static NSSharingServiceName; + pub static NSSharingServiceNamePostOnTwitter: &'static NSSharingServiceName; } extern "C" { - static NSSharingServiceNamePostOnSinaWeibo: &'static NSSharingServiceName; + pub static NSSharingServiceNamePostOnSinaWeibo: &'static NSSharingServiceName; } extern "C" { - static NSSharingServiceNamePostOnTencentWeibo: &'static NSSharingServiceName; + pub static NSSharingServiceNamePostOnTencentWeibo: &'static NSSharingServiceName; } extern "C" { - static NSSharingServiceNamePostOnLinkedIn: &'static NSSharingServiceName; + pub static NSSharingServiceNamePostOnLinkedIn: &'static NSSharingServiceName; } extern "C" { - static NSSharingServiceNameUseAsTwitterProfileImage: &'static NSSharingServiceName; + pub static NSSharingServiceNameUseAsTwitterProfileImage: &'static NSSharingServiceName; } extern "C" { - static NSSharingServiceNameUseAsFacebookProfileImage: &'static NSSharingServiceName; + pub static NSSharingServiceNameUseAsFacebookProfileImage: &'static NSSharingServiceName; } extern "C" { - static NSSharingServiceNameUseAsLinkedInProfileImage: &'static NSSharingServiceName; + pub static NSSharingServiceNameUseAsLinkedInProfileImage: &'static NSSharingServiceName; } extern "C" { - static NSSharingServiceNamePostImageOnFlickr: &'static NSSharingServiceName; + pub static NSSharingServiceNamePostImageOnFlickr: &'static NSSharingServiceName; } extern "C" { - static NSSharingServiceNamePostVideoOnVimeo: &'static NSSharingServiceName; + pub static NSSharingServiceNamePostVideoOnVimeo: &'static NSSharingServiceName; } extern "C" { - static NSSharingServiceNamePostVideoOnYouku: &'static NSSharingServiceName; + pub static NSSharingServiceNamePostVideoOnYouku: &'static NSSharingServiceName; } extern "C" { - static NSSharingServiceNamePostVideoOnTudou: &'static NSSharingServiceName; + pub static NSSharingServiceNamePostVideoOnTudou: &'static NSSharingServiceName; } extern "C" { - static NSSharingServiceNameCloudSharing: &'static NSSharingServiceName; + pub static NSSharingServiceNameCloudSharing: &'static NSSharingServiceName; } extern_class!( diff --git a/icrate/src/AppKit/generated/NSSliderCell.rs b/icrate/src/AppKit/generated/NSSliderCell.rs index a1a4227e0..2cc87c320 100644 --- a/icrate/src/AppKit/generated/NSSliderCell.rs +++ b/icrate/src/AppKit/generated/NSSliderCell.rs @@ -165,14 +165,14 @@ extern_methods!( } ); -static NSTickMarkBelow: NSTickMarkPosition = NSTickMarkPositionBelow; +pub static NSTickMarkBelow: NSTickMarkPosition = NSTickMarkPositionBelow; -static NSTickMarkAbove: NSTickMarkPosition = NSTickMarkPositionAbove; +pub static NSTickMarkAbove: NSTickMarkPosition = NSTickMarkPositionAbove; -static NSTickMarkLeft: NSTickMarkPosition = NSTickMarkPositionLeading; +pub static NSTickMarkLeft: NSTickMarkPosition = NSTickMarkPositionLeading; -static NSTickMarkRight: NSTickMarkPosition = NSTickMarkPositionTrailing; +pub static NSTickMarkRight: NSTickMarkPosition = NSTickMarkPositionTrailing; -static NSLinearSlider: NSSliderType = NSSliderTypeLinear; +pub static NSLinearSlider: NSSliderType = NSSliderTypeLinear; -static NSCircularSlider: NSSliderType = NSSliderTypeCircular; +pub static NSCircularSlider: NSSliderType = NSSliderTypeCircular; diff --git a/icrate/src/AppKit/generated/NSSliderTouchBarItem.rs b/icrate/src/AppKit/generated/NSSliderTouchBarItem.rs index 95f8f57ef..8ed149b11 100644 --- a/icrate/src/AppKit/generated/NSSliderTouchBarItem.rs +++ b/icrate/src/AppKit/generated/NSSliderTouchBarItem.rs @@ -7,11 +7,11 @@ use crate::Foundation::*; pub type NSSliderAccessoryWidth = CGFloat; extern "C" { - static NSSliderAccessoryWidthDefault: NSSliderAccessoryWidth; + pub static NSSliderAccessoryWidthDefault: NSSliderAccessoryWidth; } extern "C" { - static NSSliderAccessoryWidthWide: NSSliderAccessoryWidth; + pub static NSSliderAccessoryWidthWide: NSSliderAccessoryWidth; } extern_class!( diff --git a/icrate/src/AppKit/generated/NSSound.rs b/icrate/src/AppKit/generated/NSSound.rs index c270bbb8b..13292f63a 100644 --- a/icrate/src/AppKit/generated/NSSound.rs +++ b/icrate/src/AppKit/generated/NSSound.rs @@ -5,7 +5,7 @@ use crate::AppKit::*; use crate::Foundation::*; extern "C" { - static NSSoundPboardType: &'static NSPasteboardType; + pub static NSSoundPboardType: &'static NSPasteboardType; } pub type NSSoundName = NSString; diff --git a/icrate/src/AppKit/generated/NSSpeechSynthesizer.rs b/icrate/src/AppKit/generated/NSSpeechSynthesizer.rs index 1f9ed2664..7c65f83f0 100644 --- a/icrate/src/AppKit/generated/NSSpeechSynthesizer.rs +++ b/icrate/src/AppKit/generated/NSSpeechSynthesizer.rs @@ -9,149 +9,149 @@ pub type NSSpeechSynthesizerVoiceName = NSString; pub type NSVoiceAttributeKey = NSString; extern "C" { - static NSVoiceName: &'static NSVoiceAttributeKey; + pub static NSVoiceName: &'static NSVoiceAttributeKey; } extern "C" { - static NSVoiceIdentifier: &'static NSVoiceAttributeKey; + pub static NSVoiceIdentifier: &'static NSVoiceAttributeKey; } extern "C" { - static NSVoiceAge: &'static NSVoiceAttributeKey; + pub static NSVoiceAge: &'static NSVoiceAttributeKey; } extern "C" { - static NSVoiceGender: &'static NSVoiceAttributeKey; + pub static NSVoiceGender: &'static NSVoiceAttributeKey; } extern "C" { - static NSVoiceDemoText: &'static NSVoiceAttributeKey; + pub static NSVoiceDemoText: &'static NSVoiceAttributeKey; } extern "C" { - static NSVoiceLocaleIdentifier: &'static NSVoiceAttributeKey; + pub static NSVoiceLocaleIdentifier: &'static NSVoiceAttributeKey; } extern "C" { - static NSVoiceSupportedCharacters: &'static NSVoiceAttributeKey; + pub static NSVoiceSupportedCharacters: &'static NSVoiceAttributeKey; } extern "C" { - static NSVoiceIndividuallySpokenCharacters: &'static NSVoiceAttributeKey; + pub static NSVoiceIndividuallySpokenCharacters: &'static NSVoiceAttributeKey; } pub type NSSpeechDictionaryKey = NSString; extern "C" { - static NSSpeechDictionaryLocaleIdentifier: &'static NSSpeechDictionaryKey; + pub static NSSpeechDictionaryLocaleIdentifier: &'static NSSpeechDictionaryKey; } extern "C" { - static NSSpeechDictionaryModificationDate: &'static NSSpeechDictionaryKey; + pub static NSSpeechDictionaryModificationDate: &'static NSSpeechDictionaryKey; } extern "C" { - static NSSpeechDictionaryPronunciations: &'static NSSpeechDictionaryKey; + pub static NSSpeechDictionaryPronunciations: &'static NSSpeechDictionaryKey; } extern "C" { - static NSSpeechDictionaryAbbreviations: &'static NSSpeechDictionaryKey; + pub static NSSpeechDictionaryAbbreviations: &'static NSSpeechDictionaryKey; } extern "C" { - static NSSpeechDictionaryEntrySpelling: &'static NSSpeechDictionaryKey; + pub static NSSpeechDictionaryEntrySpelling: &'static NSSpeechDictionaryKey; } extern "C" { - static NSSpeechDictionaryEntryPhonemes: &'static NSSpeechDictionaryKey; + pub static NSSpeechDictionaryEntryPhonemes: &'static NSSpeechDictionaryKey; } pub type NSVoiceGenderName = NSString; extern "C" { - static NSVoiceGenderNeuter: &'static NSVoiceGenderName; + pub static NSVoiceGenderNeuter: &'static NSVoiceGenderName; } extern "C" { - static NSVoiceGenderMale: &'static NSVoiceGenderName; + pub static NSVoiceGenderMale: &'static NSVoiceGenderName; } extern "C" { - static NSVoiceGenderFemale: &'static NSVoiceGenderName; + pub static NSVoiceGenderFemale: &'static NSVoiceGenderName; } extern "C" { - static NSVoiceGenderNeutral: &'static NSVoiceGenderName; + pub static NSVoiceGenderNeutral: &'static NSVoiceGenderName; } pub type NSSpeechPropertyKey = NSString; extern "C" { - static NSSpeechStatusProperty: &'static NSSpeechPropertyKey; + pub static NSSpeechStatusProperty: &'static NSSpeechPropertyKey; } extern "C" { - static NSSpeechErrorsProperty: &'static NSSpeechPropertyKey; + pub static NSSpeechErrorsProperty: &'static NSSpeechPropertyKey; } extern "C" { - static NSSpeechInputModeProperty: &'static NSSpeechPropertyKey; + pub static NSSpeechInputModeProperty: &'static NSSpeechPropertyKey; } extern "C" { - static NSSpeechCharacterModeProperty: &'static NSSpeechPropertyKey; + pub static NSSpeechCharacterModeProperty: &'static NSSpeechPropertyKey; } extern "C" { - static NSSpeechNumberModeProperty: &'static NSSpeechPropertyKey; + pub static NSSpeechNumberModeProperty: &'static NSSpeechPropertyKey; } extern "C" { - static NSSpeechRateProperty: &'static NSSpeechPropertyKey; + pub static NSSpeechRateProperty: &'static NSSpeechPropertyKey; } extern "C" { - static NSSpeechPitchBaseProperty: &'static NSSpeechPropertyKey; + pub static NSSpeechPitchBaseProperty: &'static NSSpeechPropertyKey; } extern "C" { - static NSSpeechPitchModProperty: &'static NSSpeechPropertyKey; + pub static NSSpeechPitchModProperty: &'static NSSpeechPropertyKey; } extern "C" { - static NSSpeechVolumeProperty: &'static NSSpeechPropertyKey; + pub static NSSpeechVolumeProperty: &'static NSSpeechPropertyKey; } extern "C" { - static NSSpeechSynthesizerInfoProperty: &'static NSSpeechPropertyKey; + pub static NSSpeechSynthesizerInfoProperty: &'static NSSpeechPropertyKey; } extern "C" { - static NSSpeechRecentSyncProperty: &'static NSSpeechPropertyKey; + pub static NSSpeechRecentSyncProperty: &'static NSSpeechPropertyKey; } extern "C" { - static NSSpeechPhonemeSymbolsProperty: &'static NSSpeechPropertyKey; + pub static NSSpeechPhonemeSymbolsProperty: &'static NSSpeechPropertyKey; } extern "C" { - static NSSpeechCurrentVoiceProperty: &'static NSSpeechPropertyKey; + pub static NSSpeechCurrentVoiceProperty: &'static NSSpeechPropertyKey; } extern "C" { - static NSSpeechCommandDelimiterProperty: &'static NSSpeechPropertyKey; + pub static NSSpeechCommandDelimiterProperty: &'static NSSpeechPropertyKey; } extern "C" { - static NSSpeechResetProperty: &'static NSSpeechPropertyKey; + pub static NSSpeechResetProperty: &'static NSSpeechPropertyKey; } extern "C" { - static NSSpeechOutputToFileURLProperty: &'static NSSpeechPropertyKey; + pub static NSSpeechOutputToFileURLProperty: &'static NSSpeechPropertyKey; } extern "C" { - static NSVoiceLanguage: &'static NSVoiceAttributeKey; + pub static NSVoiceLanguage: &'static NSVoiceAttributeKey; } pub type NSSpeechBoundary = NSUInteger; @@ -270,99 +270,99 @@ pub type NSSpeechSynthesizerDelegate = NSObject; pub type NSSpeechMode = NSString; extern "C" { - static NSSpeechModeText: &'static NSSpeechMode; + pub static NSSpeechModeText: &'static NSSpeechMode; } extern "C" { - static NSSpeechModePhoneme: &'static NSSpeechMode; + pub static NSSpeechModePhoneme: &'static NSSpeechMode; } extern "C" { - static NSSpeechModeNormal: &'static NSSpeechMode; + pub static NSSpeechModeNormal: &'static NSSpeechMode; } extern "C" { - static NSSpeechModeLiteral: &'static NSSpeechMode; + pub static NSSpeechModeLiteral: &'static NSSpeechMode; } pub type NSSpeechStatusKey = NSString; extern "C" { - static NSSpeechStatusOutputBusy: &'static NSSpeechStatusKey; + pub static NSSpeechStatusOutputBusy: &'static NSSpeechStatusKey; } extern "C" { - static NSSpeechStatusOutputPaused: &'static NSSpeechStatusKey; + pub static NSSpeechStatusOutputPaused: &'static NSSpeechStatusKey; } extern "C" { - static NSSpeechStatusNumberOfCharactersLeft: &'static NSSpeechStatusKey; + pub static NSSpeechStatusNumberOfCharactersLeft: &'static NSSpeechStatusKey; } extern "C" { - static NSSpeechStatusPhonemeCode: &'static NSSpeechStatusKey; + pub static NSSpeechStatusPhonemeCode: &'static NSSpeechStatusKey; } pub type NSSpeechErrorKey = NSString; extern "C" { - static NSSpeechErrorCount: &'static NSSpeechErrorKey; + pub static NSSpeechErrorCount: &'static NSSpeechErrorKey; } extern "C" { - static NSSpeechErrorOldestCode: &'static NSSpeechErrorKey; + pub static NSSpeechErrorOldestCode: &'static NSSpeechErrorKey; } extern "C" { - static NSSpeechErrorOldestCharacterOffset: &'static NSSpeechErrorKey; + pub static NSSpeechErrorOldestCharacterOffset: &'static NSSpeechErrorKey; } extern "C" { - static NSSpeechErrorNewestCode: &'static NSSpeechErrorKey; + pub static NSSpeechErrorNewestCode: &'static NSSpeechErrorKey; } extern "C" { - static NSSpeechErrorNewestCharacterOffset: &'static NSSpeechErrorKey; + pub static NSSpeechErrorNewestCharacterOffset: &'static NSSpeechErrorKey; } pub type NSSpeechSynthesizerInfoKey = NSString; extern "C" { - static NSSpeechSynthesizerInfoIdentifier: &'static NSSpeechSynthesizerInfoKey; + pub static NSSpeechSynthesizerInfoIdentifier: &'static NSSpeechSynthesizerInfoKey; } extern "C" { - static NSSpeechSynthesizerInfoVersion: &'static NSSpeechSynthesizerInfoKey; + pub static NSSpeechSynthesizerInfoVersion: &'static NSSpeechSynthesizerInfoKey; } pub type NSSpeechPhonemeInfoKey = NSString; extern "C" { - static NSSpeechPhonemeInfoOpcode: &'static NSSpeechPhonemeInfoKey; + pub static NSSpeechPhonemeInfoOpcode: &'static NSSpeechPhonemeInfoKey; } extern "C" { - static NSSpeechPhonemeInfoSymbol: &'static NSSpeechPhonemeInfoKey; + pub static NSSpeechPhonemeInfoSymbol: &'static NSSpeechPhonemeInfoKey; } extern "C" { - static NSSpeechPhonemeInfoExample: &'static NSSpeechPhonemeInfoKey; + pub static NSSpeechPhonemeInfoExample: &'static NSSpeechPhonemeInfoKey; } extern "C" { - static NSSpeechPhonemeInfoHiliteStart: &'static NSSpeechPhonemeInfoKey; + pub static NSSpeechPhonemeInfoHiliteStart: &'static NSSpeechPhonemeInfoKey; } extern "C" { - static NSSpeechPhonemeInfoHiliteEnd: &'static NSSpeechPhonemeInfoKey; + pub static NSSpeechPhonemeInfoHiliteEnd: &'static NSSpeechPhonemeInfoKey; } pub type NSSpeechCommandDelimiterKey = NSString; extern "C" { - static NSSpeechCommandPrefix: &'static NSSpeechCommandDelimiterKey; + pub static NSSpeechCommandPrefix: &'static NSSpeechCommandDelimiterKey; } extern "C" { - static NSSpeechCommandSuffix: &'static NSSpeechCommandDelimiterKey; + pub static NSSpeechCommandSuffix: &'static NSSpeechCommandDelimiterKey; } diff --git a/icrate/src/AppKit/generated/NSSpellChecker.rs b/icrate/src/AppKit/generated/NSSpellChecker.rs index 1cafd8950..f68a30b89 100644 --- a/icrate/src/AppKit/generated/NSSpellChecker.rs +++ b/icrate/src/AppKit/generated/NSSpellChecker.rs @@ -7,43 +7,43 @@ use crate::Foundation::*; pub type NSTextCheckingOptionKey = NSString; extern "C" { - static NSTextCheckingOrthographyKey: &'static NSTextCheckingOptionKey; + pub static NSTextCheckingOrthographyKey: &'static NSTextCheckingOptionKey; } extern "C" { - static NSTextCheckingQuotesKey: &'static NSTextCheckingOptionKey; + pub static NSTextCheckingQuotesKey: &'static NSTextCheckingOptionKey; } extern "C" { - static NSTextCheckingReplacementsKey: &'static NSTextCheckingOptionKey; + pub static NSTextCheckingReplacementsKey: &'static NSTextCheckingOptionKey; } extern "C" { - static NSTextCheckingReferenceDateKey: &'static NSTextCheckingOptionKey; + pub static NSTextCheckingReferenceDateKey: &'static NSTextCheckingOptionKey; } extern "C" { - static NSTextCheckingReferenceTimeZoneKey: &'static NSTextCheckingOptionKey; + pub static NSTextCheckingReferenceTimeZoneKey: &'static NSTextCheckingOptionKey; } extern "C" { - static NSTextCheckingDocumentURLKey: &'static NSTextCheckingOptionKey; + pub static NSTextCheckingDocumentURLKey: &'static NSTextCheckingOptionKey; } extern "C" { - static NSTextCheckingDocumentTitleKey: &'static NSTextCheckingOptionKey; + pub static NSTextCheckingDocumentTitleKey: &'static NSTextCheckingOptionKey; } extern "C" { - static NSTextCheckingDocumentAuthorKey: &'static NSTextCheckingOptionKey; + pub static NSTextCheckingDocumentAuthorKey: &'static NSTextCheckingOptionKey; } extern "C" { - static NSTextCheckingRegularExpressionsKey: &'static NSTextCheckingOptionKey; + pub static NSTextCheckingRegularExpressionsKey: &'static NSTextCheckingOptionKey; } extern "C" { - static NSTextCheckingSelectedRangeKey: &'static NSTextCheckingOptionKey; + pub static NSTextCheckingSelectedRangeKey: &'static NSTextCheckingOptionKey; } pub type NSCorrectionResponse = NSInteger; @@ -360,35 +360,38 @@ extern_methods!( ); extern "C" { - static NSSpellCheckerDidChangeAutomaticSpellingCorrectionNotification: + pub static NSSpellCheckerDidChangeAutomaticSpellingCorrectionNotification: &'static NSNotificationName; } extern "C" { - static NSSpellCheckerDidChangeAutomaticTextReplacementNotification: &'static NSNotificationName; + pub static NSSpellCheckerDidChangeAutomaticTextReplacementNotification: + &'static NSNotificationName; } extern "C" { - static NSSpellCheckerDidChangeAutomaticQuoteSubstitutionNotification: + pub static NSSpellCheckerDidChangeAutomaticQuoteSubstitutionNotification: &'static NSNotificationName; } extern "C" { - static NSSpellCheckerDidChangeAutomaticDashSubstitutionNotification: + pub static NSSpellCheckerDidChangeAutomaticDashSubstitutionNotification: &'static NSNotificationName; } extern "C" { - static NSSpellCheckerDidChangeAutomaticCapitalizationNotification: &'static NSNotificationName; + pub static NSSpellCheckerDidChangeAutomaticCapitalizationNotification: + &'static NSNotificationName; } extern "C" { - static NSSpellCheckerDidChangeAutomaticPeriodSubstitutionNotification: + pub static NSSpellCheckerDidChangeAutomaticPeriodSubstitutionNotification: &'static NSNotificationName; } extern "C" { - static NSSpellCheckerDidChangeAutomaticTextCompletionNotification: &'static NSNotificationName; + pub static NSSpellCheckerDidChangeAutomaticTextCompletionNotification: + &'static NSNotificationName; } extern_methods!( diff --git a/icrate/src/AppKit/generated/NSSplitView.rs b/icrate/src/AppKit/generated/NSSplitView.rs index dd81b7c06..05f87e8a8 100644 --- a/icrate/src/AppKit/generated/NSSplitView.rs +++ b/icrate/src/AppKit/generated/NSSplitView.rs @@ -121,11 +121,11 @@ extern_methods!( pub type NSSplitViewDelegate = NSObject; extern "C" { - static NSSplitViewWillResizeSubviewsNotification: &'static NSNotificationName; + pub static NSSplitViewWillResizeSubviewsNotification: &'static NSNotificationName; } extern "C" { - static NSSplitViewDidResizeSubviewsNotification: &'static NSNotificationName; + pub static NSSplitViewDidResizeSubviewsNotification: &'static NSNotificationName; } extern_methods!( diff --git a/icrate/src/AppKit/generated/NSSplitViewController.rs b/icrate/src/AppKit/generated/NSSplitViewController.rs index 8908041b8..a6611cfa7 100644 --- a/icrate/src/AppKit/generated/NSSplitViewController.rs +++ b/icrate/src/AppKit/generated/NSSplitViewController.rs @@ -5,7 +5,7 @@ use crate::AppKit::*; use crate::Foundation::*; extern "C" { - static NSSplitViewControllerAutomaticDimension: CGFloat; + pub static NSSplitViewControllerAutomaticDimension: CGFloat; } extern_class!( diff --git a/icrate/src/AppKit/generated/NSSplitViewItem.rs b/icrate/src/AppKit/generated/NSSplitViewItem.rs index c0f4c01ea..5e44fcecc 100644 --- a/icrate/src/AppKit/generated/NSSplitViewItem.rs +++ b/icrate/src/AppKit/generated/NSSplitViewItem.rs @@ -18,7 +18,7 @@ pub const NSSplitViewItemCollapseBehaviorPreferResizingSiblingsWithFixedSplitVie pub const NSSplitViewItemCollapseBehaviorUseConstraints: NSSplitViewItemCollapseBehavior = 3; extern "C" { - static NSSplitViewItemUnspecifiedDimension: CGFloat; + pub static NSSplitViewItemUnspecifiedDimension: CGFloat; } extern_class!( diff --git a/icrate/src/AppKit/generated/NSStackView.rs b/icrate/src/AppKit/generated/NSStackView.rs index 77611c1e7..0cb8b4ae4 100644 --- a/icrate/src/AppKit/generated/NSStackView.rs +++ b/icrate/src/AppKit/generated/NSStackView.rs @@ -19,13 +19,13 @@ pub const NSStackViewDistributionFillProportionally: NSStackViewDistribution = 2 pub const NSStackViewDistributionEqualSpacing: NSStackViewDistribution = 3; pub const NSStackViewDistributionEqualCentering: NSStackViewDistribution = 4; -static NSStackViewVisibilityPriorityMustHold: NSStackViewVisibilityPriority = 1000; +pub static NSStackViewVisibilityPriorityMustHold: NSStackViewVisibilityPriority = 1000; -static NSStackViewVisibilityPriorityDetachOnlyIfNecessary: NSStackViewVisibilityPriority = 900; +pub static NSStackViewVisibilityPriorityDetachOnlyIfNecessary: NSStackViewVisibilityPriority = 900; -static NSStackViewVisibilityPriorityNotVisible: NSStackViewVisibilityPriority = 0; +pub static NSStackViewVisibilityPriorityNotVisible: NSStackViewVisibilityPriority = 0; -static NSStackViewSpacingUseDefault: CGFloat = todo; +pub static NSStackViewSpacingUseDefault: CGFloat = todo; extern_class!( #[derive(Debug)] diff --git a/icrate/src/AppKit/generated/NSStatusBar.rs b/icrate/src/AppKit/generated/NSStatusBar.rs index d73197a86..bc0c339b7 100644 --- a/icrate/src/AppKit/generated/NSStatusBar.rs +++ b/icrate/src/AppKit/generated/NSStatusBar.rs @@ -4,9 +4,9 @@ use crate::common::*; use crate::AppKit::*; use crate::Foundation::*; -static NSVariableStatusItemLength: CGFloat = -1.0; +pub static NSVariableStatusItemLength: CGFloat = -1.0; -static NSSquareStatusItemLength: CGFloat = -2.0; +pub static NSSquareStatusItemLength: CGFloat = -2.0; extern_class!( #[derive(Debug)] diff --git a/icrate/src/AppKit/generated/NSTabView.rs b/icrate/src/AppKit/generated/NSTabView.rs index f2c7433bb..746824ae0 100644 --- a/icrate/src/AppKit/generated/NSTabView.rs +++ b/icrate/src/AppKit/generated/NSTabView.rs @@ -4,7 +4,7 @@ use crate::common::*; use crate::AppKit::*; use crate::Foundation::*; -static NSAppKitVersionNumberWithDirectionalTabs: NSAppKitVersion = 631.0; +pub static NSAppKitVersionNumberWithDirectionalTabs: NSAppKitVersion = 631.0; pub type NSTabViewType = NSUInteger; pub const NSTopTabsBezelBorder: NSTabViewType = 0; diff --git a/icrate/src/AppKit/generated/NSTableView.rs b/icrate/src/AppKit/generated/NSTableView.rs index 30c1e4b0b..c24873c5d 100644 --- a/icrate/src/AppKit/generated/NSTableView.rs +++ b/icrate/src/AppKit/generated/NSTableView.rs @@ -604,23 +604,23 @@ extern_methods!( pub type NSTableViewDelegate = NSObject; extern "C" { - static NSTableViewSelectionDidChangeNotification: &'static NSNotificationName; + pub static NSTableViewSelectionDidChangeNotification: &'static NSNotificationName; } extern "C" { - static NSTableViewColumnDidMoveNotification: &'static NSNotificationName; + pub static NSTableViewColumnDidMoveNotification: &'static NSNotificationName; } extern "C" { - static NSTableViewColumnDidResizeNotification: &'static NSNotificationName; + pub static NSTableViewColumnDidResizeNotification: &'static NSNotificationName; } extern "C" { - static NSTableViewSelectionIsChangingNotification: &'static NSNotificationName; + pub static NSTableViewSelectionIsChangingNotification: &'static NSNotificationName; } extern "C" { - static NSTableViewRowViewKey: &'static NSUserInterfaceItemIdentifier; + pub static NSTableViewRowViewKey: &'static NSUserInterfaceItemIdentifier; } pub type NSTableViewDataSource = NSObject; diff --git a/icrate/src/AppKit/generated/NSText.rs b/icrate/src/AppKit/generated/NSText.rs index 9d96ebec0..ac13bec0d 100644 --- a/icrate/src/AppKit/generated/NSText.rs +++ b/icrate/src/AppKit/generated/NSText.rs @@ -268,19 +268,19 @@ pub const NSTextMovementCancel: NSTextMovement = 0x17; pub const NSTextMovementOther: NSTextMovement = 0; extern "C" { - static NSTextDidBeginEditingNotification: &'static NSNotificationName; + pub static NSTextDidBeginEditingNotification: &'static NSNotificationName; } extern "C" { - static NSTextDidEndEditingNotification: &'static NSNotificationName; + pub static NSTextDidEndEditingNotification: &'static NSNotificationName; } extern "C" { - static NSTextDidChangeNotification: &'static NSNotificationName; + pub static NSTextDidChangeNotification: &'static NSNotificationName; } extern "C" { - static NSTextMovementUserInfoKey: &'static NSString; + pub static NSTextMovementUserInfoKey: &'static NSString; } pub const NSIllegalTextMovement: i32 = 0; @@ -299,12 +299,12 @@ pub type NSTextDelegate = NSObject; pub const NSTextWritingDirectionEmbedding: i32 = 0 << 1; pub const NSTextWritingDirectionOverride: i32 = 1 << 1; -static NSLeftTextAlignment: NSTextAlignment = NSTextAlignmentLeft; +pub static NSLeftTextAlignment: NSTextAlignment = NSTextAlignmentLeft; -static NSRightTextAlignment: NSTextAlignment = NSTextAlignmentRight; +pub static NSRightTextAlignment: NSTextAlignment = NSTextAlignmentRight; -static NSCenterTextAlignment: NSTextAlignment = NSTextAlignmentCenter; +pub static NSCenterTextAlignment: NSTextAlignment = NSTextAlignmentCenter; -static NSJustifiedTextAlignment: NSTextAlignment = NSTextAlignmentJustified; +pub static NSJustifiedTextAlignment: NSTextAlignment = NSTextAlignmentJustified; -static NSNaturalTextAlignment: NSTextAlignment = NSTextAlignmentNatural; +pub static NSNaturalTextAlignment: NSTextAlignment = NSTextAlignmentNatural; diff --git a/icrate/src/AppKit/generated/NSTextAlternatives.rs b/icrate/src/AppKit/generated/NSTextAlternatives.rs index ec5942dd3..269d50af8 100644 --- a/icrate/src/AppKit/generated/NSTextAlternatives.rs +++ b/icrate/src/AppKit/generated/NSTextAlternatives.rs @@ -34,5 +34,5 @@ extern_methods!( ); extern "C" { - static NSTextAlternativesSelectedAlternativeStringNotification: &'static NSNotificationName; + pub static NSTextAlternativesSelectedAlternativeStringNotification: &'static NSNotificationName; } diff --git a/icrate/src/AppKit/generated/NSTextContent.rs b/icrate/src/AppKit/generated/NSTextContent.rs index 267768ca8..372df8a0f 100644 --- a/icrate/src/AppKit/generated/NSTextContent.rs +++ b/icrate/src/AppKit/generated/NSTextContent.rs @@ -7,15 +7,15 @@ use crate::Foundation::*; pub type NSTextContentType = NSString; extern "C" { - static NSTextContentTypeUsername: &'static NSTextContentType; + pub static NSTextContentTypeUsername: &'static NSTextContentType; } extern "C" { - static NSTextContentTypePassword: &'static NSTextContentType; + pub static NSTextContentTypePassword: &'static NSTextContentType; } extern "C" { - static NSTextContentTypeOneTimeCode: &'static NSTextContentType; + pub static NSTextContentTypeOneTimeCode: &'static NSTextContentType; } pub type NSTextContent = NSObject; diff --git a/icrate/src/AppKit/generated/NSTextContentManager.rs b/icrate/src/AppKit/generated/NSTextContentManager.rs index d722d650a..d4aa32509 100644 --- a/icrate/src/AppKit/generated/NSTextContentManager.rs +++ b/icrate/src/AppKit/generated/NSTextContentManager.rs @@ -157,5 +157,6 @@ extern_methods!( ); extern "C" { - static NSTextContentStorageUnsupportedAttributeAddedNotification: &'static NSNotificationName; + pub static NSTextContentStorageUnsupportedAttributeAddedNotification: + &'static NSNotificationName; } diff --git a/icrate/src/AppKit/generated/NSTextFinder.rs b/icrate/src/AppKit/generated/NSTextFinder.rs index 9dbafe30c..d2e08590c 100644 --- a/icrate/src/AppKit/generated/NSTextFinder.rs +++ b/icrate/src/AppKit/generated/NSTextFinder.rs @@ -22,11 +22,11 @@ pub const NSTextFinderActionHideReplaceInterface: NSTextFinderAction = 13; pub type NSPasteboardTypeTextFinderOptionKey = NSString; extern "C" { - static NSTextFinderCaseInsensitiveKey: &'static NSPasteboardTypeTextFinderOptionKey; + pub static NSTextFinderCaseInsensitiveKey: &'static NSPasteboardTypeTextFinderOptionKey; } extern "C" { - static NSTextFinderMatchingTypeKey: &'static NSPasteboardTypeTextFinderOptionKey; + pub static NSTextFinderMatchingTypeKey: &'static NSPasteboardTypeTextFinderOptionKey; } pub type NSTextFinderMatchingType = NSInteger; diff --git a/icrate/src/AppKit/generated/NSTextInputContext.rs b/icrate/src/AppKit/generated/NSTextInputContext.rs index 3e63482de..c0bad98ca 100644 --- a/icrate/src/AppKit/generated/NSTextInputContext.rs +++ b/icrate/src/AppKit/generated/NSTextInputContext.rs @@ -83,5 +83,6 @@ extern_methods!( ); extern "C" { - static NSTextInputContextKeyboardSelectionDidChangeNotification: &'static NSNotificationName; + pub static NSTextInputContextKeyboardSelectionDidChangeNotification: + &'static NSNotificationName; } diff --git a/icrate/src/AppKit/generated/NSTextList.rs b/icrate/src/AppKit/generated/NSTextList.rs index b02640dbe..0f8e5ed8c 100644 --- a/icrate/src/AppKit/generated/NSTextList.rs +++ b/icrate/src/AppKit/generated/NSTextList.rs @@ -7,71 +7,71 @@ use crate::Foundation::*; pub type NSTextListMarkerFormat = NSString; extern "C" { - static NSTextListMarkerBox: &'static NSTextListMarkerFormat; + pub static NSTextListMarkerBox: &'static NSTextListMarkerFormat; } extern "C" { - static NSTextListMarkerCheck: &'static NSTextListMarkerFormat; + pub static NSTextListMarkerCheck: &'static NSTextListMarkerFormat; } extern "C" { - static NSTextListMarkerCircle: &'static NSTextListMarkerFormat; + pub static NSTextListMarkerCircle: &'static NSTextListMarkerFormat; } extern "C" { - static NSTextListMarkerDiamond: &'static NSTextListMarkerFormat; + pub static NSTextListMarkerDiamond: &'static NSTextListMarkerFormat; } extern "C" { - static NSTextListMarkerDisc: &'static NSTextListMarkerFormat; + pub static NSTextListMarkerDisc: &'static NSTextListMarkerFormat; } extern "C" { - static NSTextListMarkerHyphen: &'static NSTextListMarkerFormat; + pub static NSTextListMarkerHyphen: &'static NSTextListMarkerFormat; } extern "C" { - static NSTextListMarkerSquare: &'static NSTextListMarkerFormat; + pub static NSTextListMarkerSquare: &'static NSTextListMarkerFormat; } extern "C" { - static NSTextListMarkerLowercaseHexadecimal: &'static NSTextListMarkerFormat; + pub static NSTextListMarkerLowercaseHexadecimal: &'static NSTextListMarkerFormat; } extern "C" { - static NSTextListMarkerUppercaseHexadecimal: &'static NSTextListMarkerFormat; + pub static NSTextListMarkerUppercaseHexadecimal: &'static NSTextListMarkerFormat; } extern "C" { - static NSTextListMarkerOctal: &'static NSTextListMarkerFormat; + pub static NSTextListMarkerOctal: &'static NSTextListMarkerFormat; } extern "C" { - static NSTextListMarkerLowercaseAlpha: &'static NSTextListMarkerFormat; + pub static NSTextListMarkerLowercaseAlpha: &'static NSTextListMarkerFormat; } extern "C" { - static NSTextListMarkerUppercaseAlpha: &'static NSTextListMarkerFormat; + pub static NSTextListMarkerUppercaseAlpha: &'static NSTextListMarkerFormat; } extern "C" { - static NSTextListMarkerLowercaseLatin: &'static NSTextListMarkerFormat; + pub static NSTextListMarkerLowercaseLatin: &'static NSTextListMarkerFormat; } extern "C" { - static NSTextListMarkerUppercaseLatin: &'static NSTextListMarkerFormat; + pub static NSTextListMarkerUppercaseLatin: &'static NSTextListMarkerFormat; } extern "C" { - static NSTextListMarkerLowercaseRoman: &'static NSTextListMarkerFormat; + pub static NSTextListMarkerLowercaseRoman: &'static NSTextListMarkerFormat; } extern "C" { - static NSTextListMarkerUppercaseRoman: &'static NSTextListMarkerFormat; + pub static NSTextListMarkerUppercaseRoman: &'static NSTextListMarkerFormat; } extern "C" { - static NSTextListMarkerDecimal: &'static NSTextListMarkerFormat; + pub static NSTextListMarkerDecimal: &'static NSTextListMarkerFormat; } pub type NSTextListOptions = NSUInteger; diff --git a/icrate/src/AppKit/generated/NSTextStorage.rs b/icrate/src/AppKit/generated/NSTextStorage.rs index 4036bcde3..88e254c4b 100644 --- a/icrate/src/AppKit/generated/NSTextStorage.rs +++ b/icrate/src/AppKit/generated/NSTextStorage.rs @@ -77,11 +77,11 @@ extern_methods!( pub type NSTextStorageDelegate = NSObject; extern "C" { - static NSTextStorageWillProcessEditingNotification: &'static NSNotificationName; + pub static NSTextStorageWillProcessEditingNotification: &'static NSNotificationName; } extern "C" { - static NSTextStorageDidProcessEditingNotification: &'static NSNotificationName; + pub static NSTextStorageDidProcessEditingNotification: &'static NSNotificationName; } pub type NSTextStorageObserving = NSObject; diff --git a/icrate/src/AppKit/generated/NSTextView.rs b/icrate/src/AppKit/generated/NSTextView.rs index 50d591b7a..e2c614714 100644 --- a/icrate/src/AppKit/generated/NSTextView.rs +++ b/icrate/src/AppKit/generated/NSTextView.rs @@ -14,7 +14,7 @@ pub const NSSelectionAffinityUpstream: NSSelectionAffinity = 0; pub const NSSelectionAffinityDownstream: NSSelectionAffinity = 1; extern "C" { - static NSAllRomanInputSourcesLocaleIdentifier: &'static NSString; + pub static NSAllRomanInputSourcesLocaleIdentifier: &'static NSString; } extern_class!( @@ -945,47 +945,47 @@ extern_methods!( pub type NSTextViewDelegate = NSObject; extern "C" { - static NSTouchBarItemIdentifierCharacterPicker: &'static NSTouchBarItemIdentifier; + pub static NSTouchBarItemIdentifierCharacterPicker: &'static NSTouchBarItemIdentifier; } extern "C" { - static NSTouchBarItemIdentifierTextColorPicker: &'static NSTouchBarItemIdentifier; + pub static NSTouchBarItemIdentifierTextColorPicker: &'static NSTouchBarItemIdentifier; } extern "C" { - static NSTouchBarItemIdentifierTextStyle: &'static NSTouchBarItemIdentifier; + pub static NSTouchBarItemIdentifierTextStyle: &'static NSTouchBarItemIdentifier; } extern "C" { - static NSTouchBarItemIdentifierTextAlignment: &'static NSTouchBarItemIdentifier; + pub static NSTouchBarItemIdentifierTextAlignment: &'static NSTouchBarItemIdentifier; } extern "C" { - static NSTouchBarItemIdentifierTextList: &'static NSTouchBarItemIdentifier; + pub static NSTouchBarItemIdentifierTextList: &'static NSTouchBarItemIdentifier; } extern "C" { - static NSTouchBarItemIdentifierTextFormat: &'static NSTouchBarItemIdentifier; + pub static NSTouchBarItemIdentifierTextFormat: &'static NSTouchBarItemIdentifier; } extern "C" { - static NSTextViewWillChangeNotifyingTextViewNotification: &'static NSNotificationName; + pub static NSTextViewWillChangeNotifyingTextViewNotification: &'static NSNotificationName; } extern "C" { - static NSTextViewDidChangeSelectionNotification: &'static NSNotificationName; + pub static NSTextViewDidChangeSelectionNotification: &'static NSNotificationName; } extern "C" { - static NSTextViewDidChangeTypingAttributesNotification: &'static NSNotificationName; + pub static NSTextViewDidChangeTypingAttributesNotification: &'static NSNotificationName; } extern "C" { - static NSTextViewWillSwitchToNSLayoutManagerNotification: &'static NSNotificationName; + pub static NSTextViewWillSwitchToNSLayoutManagerNotification: &'static NSNotificationName; } extern "C" { - static NSTextViewDidSwitchToNSLayoutManagerNotification: &'static NSNotificationName; + pub static NSTextViewDidSwitchToNSLayoutManagerNotification: &'static NSNotificationName; } pub type NSFindPanelAction = NSUInteger; @@ -1001,17 +1001,17 @@ pub const NSFindPanelActionSelectAll: NSFindPanelAction = 9; pub const NSFindPanelActionSelectAllInSelection: NSFindPanelAction = 10; extern "C" { - static NSFindPanelSearchOptionsPboardType: &'static NSPasteboardType; + pub static NSFindPanelSearchOptionsPboardType: &'static NSPasteboardType; } pub type NSPasteboardTypeFindPanelSearchOptionKey = NSString; extern "C" { - static NSFindPanelCaseInsensitiveSearch: &'static NSPasteboardTypeFindPanelSearchOptionKey; + pub static NSFindPanelCaseInsensitiveSearch: &'static NSPasteboardTypeFindPanelSearchOptionKey; } extern "C" { - static NSFindPanelSubstringMatch: &'static NSPasteboardTypeFindPanelSearchOptionKey; + pub static NSFindPanelSubstringMatch: &'static NSPasteboardTypeFindPanelSearchOptionKey; } pub type NSFindPanelSubstringMatchType = NSUInteger; diff --git a/icrate/src/AppKit/generated/NSTokenFieldCell.rs b/icrate/src/AppKit/generated/NSTokenFieldCell.rs index 3cf468a9a..3433ccaa6 100644 --- a/icrate/src/AppKit/generated/NSTokenFieldCell.rs +++ b/icrate/src/AppKit/generated/NSTokenFieldCell.rs @@ -59,8 +59,8 @@ extern_methods!( pub type NSTokenFieldCellDelegate = NSObject; -static NSDefaultTokenStyle: NSTokenStyle = NSTokenStyleDefault; +pub static NSDefaultTokenStyle: NSTokenStyle = NSTokenStyleDefault; -static NSPlainTextTokenStyle: NSTokenStyle = NSTokenStyleNone; +pub static NSPlainTextTokenStyle: NSTokenStyle = NSTokenStyleNone; -static NSRoundedTokenStyle: NSTokenStyle = NSTokenStyleRounded; +pub static NSRoundedTokenStyle: NSTokenStyle = NSTokenStyleRounded; diff --git a/icrate/src/AppKit/generated/NSToolbar.rs b/icrate/src/AppKit/generated/NSToolbar.rs index b12a81b10..e224886d3 100644 --- a/icrate/src/AppKit/generated/NSToolbar.rs +++ b/icrate/src/AppKit/generated/NSToolbar.rs @@ -147,11 +147,11 @@ extern_methods!( pub type NSToolbarDelegate = NSObject; extern "C" { - static NSToolbarWillAddItemNotification: &'static NSNotificationName; + pub static NSToolbarWillAddItemNotification: &'static NSNotificationName; } extern "C" { - static NSToolbarDidRemoveItemNotification: &'static NSNotificationName; + pub static NSToolbarDidRemoveItemNotification: &'static NSNotificationName; } extern_methods!( diff --git a/icrate/src/AppKit/generated/NSToolbarItem.rs b/icrate/src/AppKit/generated/NSToolbarItem.rs index a536bf5ed..5a3623719 100644 --- a/icrate/src/AppKit/generated/NSToolbarItem.rs +++ b/icrate/src/AppKit/generated/NSToolbarItem.rs @@ -6,13 +6,13 @@ use crate::Foundation::*; pub type NSToolbarItemVisibilityPriority = NSInteger; -static NSToolbarItemVisibilityPriorityStandard: NSToolbarItemVisibilityPriority = 0; +pub static NSToolbarItemVisibilityPriorityStandard: NSToolbarItemVisibilityPriority = 0; -static NSToolbarItemVisibilityPriorityLow: NSToolbarItemVisibilityPriority = -1000; +pub static NSToolbarItemVisibilityPriorityLow: NSToolbarItemVisibilityPriority = -1000; -static NSToolbarItemVisibilityPriorityHigh: NSToolbarItemVisibilityPriority = 1000; +pub static NSToolbarItemVisibilityPriorityHigh: NSToolbarItemVisibilityPriority = 1000; -static NSToolbarItemVisibilityPriorityUser: NSToolbarItemVisibilityPriority = 2000; +pub static NSToolbarItemVisibilityPriorityUser: NSToolbarItemVisibilityPriority = 2000; extern_class!( #[derive(Debug)] @@ -167,41 +167,41 @@ extern_methods!( pub type NSCloudSharingValidation = NSObject; extern "C" { - static NSToolbarSeparatorItemIdentifier: &'static NSToolbarItemIdentifier; + pub static NSToolbarSeparatorItemIdentifier: &'static NSToolbarItemIdentifier; } extern "C" { - static NSToolbarSpaceItemIdentifier: &'static NSToolbarItemIdentifier; + pub static NSToolbarSpaceItemIdentifier: &'static NSToolbarItemIdentifier; } extern "C" { - static NSToolbarFlexibleSpaceItemIdentifier: &'static NSToolbarItemIdentifier; + pub static NSToolbarFlexibleSpaceItemIdentifier: &'static NSToolbarItemIdentifier; } extern "C" { - static NSToolbarShowColorsItemIdentifier: &'static NSToolbarItemIdentifier; + pub static NSToolbarShowColorsItemIdentifier: &'static NSToolbarItemIdentifier; } extern "C" { - static NSToolbarShowFontsItemIdentifier: &'static NSToolbarItemIdentifier; + pub static NSToolbarShowFontsItemIdentifier: &'static NSToolbarItemIdentifier; } extern "C" { - static NSToolbarCustomizeToolbarItemIdentifier: &'static NSToolbarItemIdentifier; + pub static NSToolbarCustomizeToolbarItemIdentifier: &'static NSToolbarItemIdentifier; } extern "C" { - static NSToolbarPrintItemIdentifier: &'static NSToolbarItemIdentifier; + pub static NSToolbarPrintItemIdentifier: &'static NSToolbarItemIdentifier; } extern "C" { - static NSToolbarToggleSidebarItemIdentifier: &'static NSToolbarItemIdentifier; + pub static NSToolbarToggleSidebarItemIdentifier: &'static NSToolbarItemIdentifier; } extern "C" { - static NSToolbarCloudSharingItemIdentifier: &'static NSToolbarItemIdentifier; + pub static NSToolbarCloudSharingItemIdentifier: &'static NSToolbarItemIdentifier; } extern "C" { - static NSToolbarSidebarTrackingSeparatorItemIdentifier: &'static NSToolbarItemIdentifier; + pub static NSToolbarSidebarTrackingSeparatorItemIdentifier: &'static NSToolbarItemIdentifier; } diff --git a/icrate/src/AppKit/generated/NSTouchBarItem.rs b/icrate/src/AppKit/generated/NSTouchBarItem.rs index 3902c8e9e..1908f9dc5 100644 --- a/icrate/src/AppKit/generated/NSTouchBarItem.rs +++ b/icrate/src/AppKit/generated/NSTouchBarItem.rs @@ -6,11 +6,11 @@ use crate::Foundation::*; pub type NSTouchBarItemIdentifier = NSString; -static NSTouchBarItemPriorityHigh: NSTouchBarItemPriority = 1000; +pub static NSTouchBarItemPriorityHigh: NSTouchBarItemPriority = 1000; -static NSTouchBarItemPriorityNormal: NSTouchBarItemPriority = 0; +pub static NSTouchBarItemPriorityNormal: NSTouchBarItemPriority = 0; -static NSTouchBarItemPriorityLow: NSTouchBarItemPriority = -1000; +pub static NSTouchBarItemPriorityLow: NSTouchBarItemPriority = -1000; extern_class!( #[derive(Debug)] @@ -59,17 +59,17 @@ extern_methods!( ); extern "C" { - static NSTouchBarItemIdentifierFixedSpaceSmall: &'static NSTouchBarItemIdentifier; + pub static NSTouchBarItemIdentifierFixedSpaceSmall: &'static NSTouchBarItemIdentifier; } extern "C" { - static NSTouchBarItemIdentifierFixedSpaceLarge: &'static NSTouchBarItemIdentifier; + pub static NSTouchBarItemIdentifierFixedSpaceLarge: &'static NSTouchBarItemIdentifier; } extern "C" { - static NSTouchBarItemIdentifierFlexibleSpace: &'static NSTouchBarItemIdentifier; + pub static NSTouchBarItemIdentifierFlexibleSpace: &'static NSTouchBarItemIdentifier; } extern "C" { - static NSTouchBarItemIdentifierOtherItemsProxy: &'static NSTouchBarItemIdentifier; + pub static NSTouchBarItemIdentifierOtherItemsProxy: &'static NSTouchBarItemIdentifier; } diff --git a/icrate/src/AppKit/generated/NSUserActivity.rs b/icrate/src/AppKit/generated/NSUserActivity.rs index 48593a98a..2ba45ebcc 100644 --- a/icrate/src/AppKit/generated/NSUserActivity.rs +++ b/icrate/src/AppKit/generated/NSUserActivity.rs @@ -35,5 +35,5 @@ extern_methods!( ); extern "C" { - static NSUserActivityDocumentURLKey: &'static NSString; + pub static NSUserActivityDocumentURLKey: &'static NSString; } diff --git a/icrate/src/AppKit/generated/NSView.rs b/icrate/src/AppKit/generated/NSView.rs index 31e63152f..7def24b6e 100644 --- a/icrate/src/AppKit/generated/NSView.rs +++ b/icrate/src/AppKit/generated/NSView.rs @@ -881,19 +881,20 @@ extern_methods!( pub type NSViewFullScreenModeOptionKey = NSString; extern "C" { - static NSFullScreenModeAllScreens: &'static NSViewFullScreenModeOptionKey; + pub static NSFullScreenModeAllScreens: &'static NSViewFullScreenModeOptionKey; } extern "C" { - static NSFullScreenModeSetting: &'static NSViewFullScreenModeOptionKey; + pub static NSFullScreenModeSetting: &'static NSViewFullScreenModeOptionKey; } extern "C" { - static NSFullScreenModeWindowLevel: &'static NSViewFullScreenModeOptionKey; + pub static NSFullScreenModeWindowLevel: &'static NSViewFullScreenModeOptionKey; } extern "C" { - static NSFullScreenModeApplicationPresentationOptions: &'static NSViewFullScreenModeOptionKey; + pub static NSFullScreenModeApplicationPresentationOptions: + &'static NSViewFullScreenModeOptionKey; } extern_methods!( @@ -920,17 +921,18 @@ extern_methods!( pub type NSDefinitionOptionKey = NSString; extern "C" { - static NSDefinitionPresentationTypeKey: &'static NSDefinitionOptionKey; + pub static NSDefinitionPresentationTypeKey: &'static NSDefinitionOptionKey; } pub type NSDefinitionPresentationType = NSString; extern "C" { - static NSDefinitionPresentationTypeOverlay: &'static NSDefinitionPresentationType; + pub static NSDefinitionPresentationTypeOverlay: &'static NSDefinitionPresentationType; } extern "C" { - static NSDefinitionPresentationTypeDictionaryApplication: &'static NSDefinitionPresentationType; + pub static NSDefinitionPresentationTypeDictionaryApplication: + &'static NSDefinitionPresentationType; } extern_methods!( @@ -1089,21 +1091,21 @@ extern_methods!( ); extern "C" { - static NSViewFrameDidChangeNotification: &'static NSNotificationName; + pub static NSViewFrameDidChangeNotification: &'static NSNotificationName; } extern "C" { - static NSViewFocusDidChangeNotification: &'static NSNotificationName; + pub static NSViewFocusDidChangeNotification: &'static NSNotificationName; } extern "C" { - static NSViewBoundsDidChangeNotification: &'static NSNotificationName; + pub static NSViewBoundsDidChangeNotification: &'static NSNotificationName; } extern "C" { - static NSViewGlobalFrameDidChangeNotification: &'static NSNotificationName; + pub static NSViewGlobalFrameDidChangeNotification: &'static NSNotificationName; } extern "C" { - static NSViewDidUpdateTrackingAreasNotification: &'static NSNotificationName; + pub static NSViewDidUpdateTrackingAreasNotification: &'static NSNotificationName; } diff --git a/icrate/src/AppKit/generated/NSWindow.rs b/icrate/src/AppKit/generated/NSWindow.rs index 4ac4f5d9f..343a5f914 100644 --- a/icrate/src/AppKit/generated/NSWindow.rs +++ b/icrate/src/AppKit/generated/NSWindow.rs @@ -4,9 +4,9 @@ use crate::common::*; use crate::AppKit::*; use crate::Foundation::*; -static NSAppKitVersionNumberWithCustomSheetPosition: NSAppKitVersion = 686.0; +pub static NSAppKitVersionNumberWithCustomSheetPosition: NSAppKitVersion = 686.0; -static NSAppKitVersionNumberWithDeferredWindowDisplaySupport: NSAppKitVersion = 1019.0; +pub static NSAppKitVersionNumberWithDeferredWindowDisplaySupport: NSAppKitVersion = 1019.0; pub type NSWindowStyleMask = NSUInteger; pub const NSWindowStyleMaskBorderless: NSWindowStyleMask = 0; @@ -23,9 +23,9 @@ pub const NSWindowStyleMaskDocModalWindow: NSWindowStyleMask = 1 << 6; pub const NSWindowStyleMaskNonactivatingPanel: NSWindowStyleMask = 1 << 7; pub const NSWindowStyleMaskHUDWindow: NSWindowStyleMask = 1 << 13; -static NSModalResponseOK: NSModalResponse = 1; +pub static NSModalResponseOK: NSModalResponse = 1; -static NSModalResponseCancel: NSModalResponse = 0; +pub static NSModalResponseCancel: NSModalResponse = 0; pub const NSDisplayWindowRunLoopOrdering: i32 = 600000; pub const NSResetCursorRectsRunLoopOrdering: i32 = 700000; @@ -66,23 +66,23 @@ pub const NSWindowOcclusionStateVisible: NSWindowOcclusionState = 1 << 1; pub type NSWindowLevel = NSInteger; -static NSNormalWindowLevel: NSWindowLevel = todo; +pub static NSNormalWindowLevel: NSWindowLevel = todo; -static NSFloatingWindowLevel: NSWindowLevel = todo; +pub static NSFloatingWindowLevel: NSWindowLevel = todo; -static NSSubmenuWindowLevel: NSWindowLevel = todo; +pub static NSSubmenuWindowLevel: NSWindowLevel = todo; -static NSTornOffMenuWindowLevel: NSWindowLevel = todo; +pub static NSTornOffMenuWindowLevel: NSWindowLevel = todo; -static NSMainMenuWindowLevel: NSWindowLevel = todo; +pub static NSMainMenuWindowLevel: NSWindowLevel = todo; -static NSStatusWindowLevel: NSWindowLevel = todo; +pub static NSStatusWindowLevel: NSWindowLevel = todo; -static NSModalPanelWindowLevel: NSWindowLevel = todo; +pub static NSModalPanelWindowLevel: NSWindowLevel = todo; -static NSPopUpMenuWindowLevel: NSWindowLevel = todo; +pub static NSPopUpMenuWindowLevel: NSWindowLevel = todo; -static NSScreenSaverWindowLevel: NSWindowLevel = todo; +pub static NSScreenSaverWindowLevel: NSWindowLevel = todo; pub type NSSelectionDirection = NSUInteger; pub const NSDirectSelection: NSSelectionDirection = 0; @@ -108,7 +108,7 @@ pub const NSWindowToolbarStylePreference: NSWindowToolbarStyle = 2; pub const NSWindowToolbarStyleUnified: NSWindowToolbarStyle = 3; pub const NSWindowToolbarStyleUnifiedCompact: NSWindowToolbarStyle = 4; -static NSEventDurationForever: NSTimeInterval = todo; +pub static NSEventDurationForever: NSTimeInterval = todo; pub type NSWindowUserTabbingPreference = NSInteger; pub const NSWindowUserTabbingPreferenceManual: NSWindowUserTabbingPreference = 0; @@ -1182,127 +1182,127 @@ extern_methods!( pub type NSWindowDelegate = NSObject; extern "C" { - static NSWindowDidBecomeKeyNotification: &'static NSNotificationName; + pub static NSWindowDidBecomeKeyNotification: &'static NSNotificationName; } extern "C" { - static NSWindowDidBecomeMainNotification: &'static NSNotificationName; + pub static NSWindowDidBecomeMainNotification: &'static NSNotificationName; } extern "C" { - static NSWindowDidChangeScreenNotification: &'static NSNotificationName; + pub static NSWindowDidChangeScreenNotification: &'static NSNotificationName; } extern "C" { - static NSWindowDidDeminiaturizeNotification: &'static NSNotificationName; + pub static NSWindowDidDeminiaturizeNotification: &'static NSNotificationName; } extern "C" { - static NSWindowDidExposeNotification: &'static NSNotificationName; + pub static NSWindowDidExposeNotification: &'static NSNotificationName; } extern "C" { - static NSWindowDidMiniaturizeNotification: &'static NSNotificationName; + pub static NSWindowDidMiniaturizeNotification: &'static NSNotificationName; } extern "C" { - static NSWindowDidMoveNotification: &'static NSNotificationName; + pub static NSWindowDidMoveNotification: &'static NSNotificationName; } extern "C" { - static NSWindowDidResignKeyNotification: &'static NSNotificationName; + pub static NSWindowDidResignKeyNotification: &'static NSNotificationName; } extern "C" { - static NSWindowDidResignMainNotification: &'static NSNotificationName; + pub static NSWindowDidResignMainNotification: &'static NSNotificationName; } extern "C" { - static NSWindowDidResizeNotification: &'static NSNotificationName; + pub static NSWindowDidResizeNotification: &'static NSNotificationName; } extern "C" { - static NSWindowDidUpdateNotification: &'static NSNotificationName; + pub static NSWindowDidUpdateNotification: &'static NSNotificationName; } extern "C" { - static NSWindowWillCloseNotification: &'static NSNotificationName; + pub static NSWindowWillCloseNotification: &'static NSNotificationName; } extern "C" { - static NSWindowWillMiniaturizeNotification: &'static NSNotificationName; + pub static NSWindowWillMiniaturizeNotification: &'static NSNotificationName; } extern "C" { - static NSWindowWillMoveNotification: &'static NSNotificationName; + pub static NSWindowWillMoveNotification: &'static NSNotificationName; } extern "C" { - static NSWindowWillBeginSheetNotification: &'static NSNotificationName; + pub static NSWindowWillBeginSheetNotification: &'static NSNotificationName; } extern "C" { - static NSWindowDidEndSheetNotification: &'static NSNotificationName; + pub static NSWindowDidEndSheetNotification: &'static NSNotificationName; } extern "C" { - static NSWindowDidChangeBackingPropertiesNotification: &'static NSNotificationName; + pub static NSWindowDidChangeBackingPropertiesNotification: &'static NSNotificationName; } extern "C" { - static NSBackingPropertyOldScaleFactorKey: &'static NSString; + pub static NSBackingPropertyOldScaleFactorKey: &'static NSString; } extern "C" { - static NSBackingPropertyOldColorSpaceKey: &'static NSString; + pub static NSBackingPropertyOldColorSpaceKey: &'static NSString; } extern "C" { - static NSWindowDidChangeScreenProfileNotification: &'static NSNotificationName; + pub static NSWindowDidChangeScreenProfileNotification: &'static NSNotificationName; } extern "C" { - static NSWindowWillStartLiveResizeNotification: &'static NSNotificationName; + pub static NSWindowWillStartLiveResizeNotification: &'static NSNotificationName; } extern "C" { - static NSWindowDidEndLiveResizeNotification: &'static NSNotificationName; + pub static NSWindowDidEndLiveResizeNotification: &'static NSNotificationName; } extern "C" { - static NSWindowWillEnterFullScreenNotification: &'static NSNotificationName; + pub static NSWindowWillEnterFullScreenNotification: &'static NSNotificationName; } extern "C" { - static NSWindowDidEnterFullScreenNotification: &'static NSNotificationName; + pub static NSWindowDidEnterFullScreenNotification: &'static NSNotificationName; } extern "C" { - static NSWindowWillExitFullScreenNotification: &'static NSNotificationName; + pub static NSWindowWillExitFullScreenNotification: &'static NSNotificationName; } extern "C" { - static NSWindowDidExitFullScreenNotification: &'static NSNotificationName; + pub static NSWindowDidExitFullScreenNotification: &'static NSNotificationName; } extern "C" { - static NSWindowWillEnterVersionBrowserNotification: &'static NSNotificationName; + pub static NSWindowWillEnterVersionBrowserNotification: &'static NSNotificationName; } extern "C" { - static NSWindowDidEnterVersionBrowserNotification: &'static NSNotificationName; + pub static NSWindowDidEnterVersionBrowserNotification: &'static NSNotificationName; } extern "C" { - static NSWindowWillExitVersionBrowserNotification: &'static NSNotificationName; + pub static NSWindowWillExitVersionBrowserNotification: &'static NSNotificationName; } extern "C" { - static NSWindowDidExitVersionBrowserNotification: &'static NSNotificationName; + pub static NSWindowDidExitVersionBrowserNotification: &'static NSNotificationName; } extern "C" { - static NSWindowDidChangeOcclusionStateNotification: &'static NSNotificationName; + pub static NSWindowDidChangeOcclusionStateNotification: &'static NSNotificationName; } pub type NSWindowBackingLocation = NSUInteger; @@ -1393,35 +1393,36 @@ extern_methods!( } ); -static NSBorderlessWindowMask: NSWindowStyleMask = NSWindowStyleMaskBorderless; +pub static NSBorderlessWindowMask: NSWindowStyleMask = NSWindowStyleMaskBorderless; -static NSTitledWindowMask: NSWindowStyleMask = NSWindowStyleMaskTitled; +pub static NSTitledWindowMask: NSWindowStyleMask = NSWindowStyleMaskTitled; -static NSClosableWindowMask: NSWindowStyleMask = NSWindowStyleMaskClosable; +pub static NSClosableWindowMask: NSWindowStyleMask = NSWindowStyleMaskClosable; -static NSMiniaturizableWindowMask: NSWindowStyleMask = NSWindowStyleMaskMiniaturizable; +pub static NSMiniaturizableWindowMask: NSWindowStyleMask = NSWindowStyleMaskMiniaturizable; -static NSResizableWindowMask: NSWindowStyleMask = NSWindowStyleMaskResizable; +pub static NSResizableWindowMask: NSWindowStyleMask = NSWindowStyleMaskResizable; -static NSTexturedBackgroundWindowMask: NSWindowStyleMask = NSWindowStyleMaskTexturedBackground; +pub static NSTexturedBackgroundWindowMask: NSWindowStyleMask = NSWindowStyleMaskTexturedBackground; -static NSUnifiedTitleAndToolbarWindowMask: NSWindowStyleMask = +pub static NSUnifiedTitleAndToolbarWindowMask: NSWindowStyleMask = NSWindowStyleMaskUnifiedTitleAndToolbar; -static NSFullScreenWindowMask: NSWindowStyleMask = NSWindowStyleMaskFullScreen; +pub static NSFullScreenWindowMask: NSWindowStyleMask = NSWindowStyleMaskFullScreen; -static NSFullSizeContentViewWindowMask: NSWindowStyleMask = NSWindowStyleMaskFullSizeContentView; +pub static NSFullSizeContentViewWindowMask: NSWindowStyleMask = + NSWindowStyleMaskFullSizeContentView; -static NSUtilityWindowMask: NSWindowStyleMask = NSWindowStyleMaskUtilityWindow; +pub static NSUtilityWindowMask: NSWindowStyleMask = NSWindowStyleMaskUtilityWindow; -static NSDocModalWindowMask: NSWindowStyleMask = NSWindowStyleMaskDocModalWindow; +pub static NSDocModalWindowMask: NSWindowStyleMask = NSWindowStyleMaskDocModalWindow; -static NSNonactivatingPanelMask: NSWindowStyleMask = NSWindowStyleMaskNonactivatingPanel; +pub static NSNonactivatingPanelMask: NSWindowStyleMask = NSWindowStyleMaskNonactivatingPanel; -static NSHUDWindowMask: NSWindowStyleMask = NSWindowStyleMaskHUDWindow; +pub static NSHUDWindowMask: NSWindowStyleMask = NSWindowStyleMaskHUDWindow; -static NSUnscaledWindowMask: NSWindowStyleMask = 1 << 11; +pub static NSUnscaledWindowMask: NSWindowStyleMask = 1 << 11; -static NSWindowFullScreenButton: NSWindowButton = 7; +pub static NSWindowFullScreenButton: NSWindowButton = 7; -static NSDockWindowLevel: NSWindowLevel = todo; +pub static NSDockWindowLevel: NSWindowLevel = todo; diff --git a/icrate/src/AppKit/generated/NSWindowRestoration.rs b/icrate/src/AppKit/generated/NSWindowRestoration.rs index e838b9c9e..74822fe08 100644 --- a/icrate/src/AppKit/generated/NSWindowRestoration.rs +++ b/icrate/src/AppKit/generated/NSWindowRestoration.rs @@ -25,7 +25,7 @@ extern_methods!( ); extern "C" { - static NSApplicationDidFinishRestoringWindowsNotification: &'static NSNotificationName; + pub static NSApplicationDidFinishRestoringWindowsNotification: &'static NSNotificationName; } extern_methods!( diff --git a/icrate/src/AppKit/generated/NSWorkspace.rs b/icrate/src/AppKit/generated/NSWorkspace.rs index 989907912..c9e8df66a 100644 --- a/icrate/src/AppKit/generated/NSWorkspace.rs +++ b/icrate/src/AppKit/generated/NSWorkspace.rs @@ -311,15 +311,15 @@ extern_methods!( pub type NSWorkspaceDesktopImageOptionKey = NSString; extern "C" { - static NSWorkspaceDesktopImageScalingKey: &'static NSWorkspaceDesktopImageOptionKey; + pub static NSWorkspaceDesktopImageScalingKey: &'static NSWorkspaceDesktopImageOptionKey; } extern "C" { - static NSWorkspaceDesktopImageAllowClippingKey: &'static NSWorkspaceDesktopImageOptionKey; + pub static NSWorkspaceDesktopImageAllowClippingKey: &'static NSWorkspaceDesktopImageOptionKey; } extern "C" { - static NSWorkspaceDesktopImageFillColorKey: &'static NSWorkspaceDesktopImageOptionKey; + pub static NSWorkspaceDesktopImageFillColorKey: &'static NSWorkspaceDesktopImageOptionKey; } extern_methods!( @@ -388,103 +388,103 @@ extern_methods!( ); extern "C" { - static NSWorkspaceApplicationKey: &'static NSString; + pub static NSWorkspaceApplicationKey: &'static NSString; } extern "C" { - static NSWorkspaceWillLaunchApplicationNotification: &'static NSNotificationName; + pub static NSWorkspaceWillLaunchApplicationNotification: &'static NSNotificationName; } extern "C" { - static NSWorkspaceDidLaunchApplicationNotification: &'static NSNotificationName; + pub static NSWorkspaceDidLaunchApplicationNotification: &'static NSNotificationName; } extern "C" { - static NSWorkspaceDidTerminateApplicationNotification: &'static NSNotificationName; + pub static NSWorkspaceDidTerminateApplicationNotification: &'static NSNotificationName; } extern "C" { - static NSWorkspaceDidHideApplicationNotification: &'static NSNotificationName; + pub static NSWorkspaceDidHideApplicationNotification: &'static NSNotificationName; } extern "C" { - static NSWorkspaceDidUnhideApplicationNotification: &'static NSNotificationName; + pub static NSWorkspaceDidUnhideApplicationNotification: &'static NSNotificationName; } extern "C" { - static NSWorkspaceDidActivateApplicationNotification: &'static NSNotificationName; + pub static NSWorkspaceDidActivateApplicationNotification: &'static NSNotificationName; } extern "C" { - static NSWorkspaceDidDeactivateApplicationNotification: &'static NSNotificationName; + pub static NSWorkspaceDidDeactivateApplicationNotification: &'static NSNotificationName; } extern "C" { - static NSWorkspaceVolumeLocalizedNameKey: &'static NSString; + pub static NSWorkspaceVolumeLocalizedNameKey: &'static NSString; } extern "C" { - static NSWorkspaceVolumeURLKey: &'static NSString; + pub static NSWorkspaceVolumeURLKey: &'static NSString; } extern "C" { - static NSWorkspaceVolumeOldLocalizedNameKey: &'static NSString; + pub static NSWorkspaceVolumeOldLocalizedNameKey: &'static NSString; } extern "C" { - static NSWorkspaceVolumeOldURLKey: &'static NSString; + pub static NSWorkspaceVolumeOldURLKey: &'static NSString; } extern "C" { - static NSWorkspaceDidMountNotification: &'static NSNotificationName; + pub static NSWorkspaceDidMountNotification: &'static NSNotificationName; } extern "C" { - static NSWorkspaceDidUnmountNotification: &'static NSNotificationName; + pub static NSWorkspaceDidUnmountNotification: &'static NSNotificationName; } extern "C" { - static NSWorkspaceWillUnmountNotification: &'static NSNotificationName; + pub static NSWorkspaceWillUnmountNotification: &'static NSNotificationName; } extern "C" { - static NSWorkspaceDidRenameVolumeNotification: &'static NSNotificationName; + pub static NSWorkspaceDidRenameVolumeNotification: &'static NSNotificationName; } extern "C" { - static NSWorkspaceWillPowerOffNotification: &'static NSNotificationName; + pub static NSWorkspaceWillPowerOffNotification: &'static NSNotificationName; } extern "C" { - static NSWorkspaceWillSleepNotification: &'static NSNotificationName; + pub static NSWorkspaceWillSleepNotification: &'static NSNotificationName; } extern "C" { - static NSWorkspaceDidWakeNotification: &'static NSNotificationName; + pub static NSWorkspaceDidWakeNotification: &'static NSNotificationName; } extern "C" { - static NSWorkspaceScreensDidSleepNotification: &'static NSNotificationName; + pub static NSWorkspaceScreensDidSleepNotification: &'static NSNotificationName; } extern "C" { - static NSWorkspaceScreensDidWakeNotification: &'static NSNotificationName; + pub static NSWorkspaceScreensDidWakeNotification: &'static NSNotificationName; } extern "C" { - static NSWorkspaceSessionDidBecomeActiveNotification: &'static NSNotificationName; + pub static NSWorkspaceSessionDidBecomeActiveNotification: &'static NSNotificationName; } extern "C" { - static NSWorkspaceSessionDidResignActiveNotification: &'static NSNotificationName; + pub static NSWorkspaceSessionDidResignActiveNotification: &'static NSNotificationName; } extern "C" { - static NSWorkspaceDidChangeFileLabelsNotification: &'static NSNotificationName; + pub static NSWorkspaceDidChangeFileLabelsNotification: &'static NSNotificationName; } extern "C" { - static NSWorkspaceActiveSpaceDidChangeNotification: &'static NSNotificationName; + pub static NSWorkspaceActiveSpaceDidChangeNotification: &'static NSNotificationName; } pub type NSWorkspaceFileOperationName = NSString; @@ -506,19 +506,21 @@ pub const NSWorkspaceLaunchPreferringClassic: NSWorkspaceLaunchOptions = 0x00040 pub type NSWorkspaceLaunchConfigurationKey = NSString; extern "C" { - static NSWorkspaceLaunchConfigurationAppleEvent: &'static NSWorkspaceLaunchConfigurationKey; + pub static NSWorkspaceLaunchConfigurationAppleEvent: &'static NSWorkspaceLaunchConfigurationKey; } extern "C" { - static NSWorkspaceLaunchConfigurationArguments: &'static NSWorkspaceLaunchConfigurationKey; + pub static NSWorkspaceLaunchConfigurationArguments: &'static NSWorkspaceLaunchConfigurationKey; } extern "C" { - static NSWorkspaceLaunchConfigurationEnvironment: &'static NSWorkspaceLaunchConfigurationKey; + pub static NSWorkspaceLaunchConfigurationEnvironment: + &'static NSWorkspaceLaunchConfigurationKey; } extern "C" { - static NSWorkspaceLaunchConfigurationArchitecture: &'static NSWorkspaceLaunchConfigurationKey; + pub static NSWorkspaceLaunchConfigurationArchitecture: + &'static NSWorkspaceLaunchConfigurationKey; } extern_methods!( @@ -718,65 +720,65 @@ extern_methods!( ); extern "C" { - static NSWorkspaceMoveOperation: &'static NSWorkspaceFileOperationName; + pub static NSWorkspaceMoveOperation: &'static NSWorkspaceFileOperationName; } extern "C" { - static NSWorkspaceCopyOperation: &'static NSWorkspaceFileOperationName; + pub static NSWorkspaceCopyOperation: &'static NSWorkspaceFileOperationName; } extern "C" { - static NSWorkspaceLinkOperation: &'static NSWorkspaceFileOperationName; + pub static NSWorkspaceLinkOperation: &'static NSWorkspaceFileOperationName; } extern "C" { - static NSWorkspaceCompressOperation: &'static NSWorkspaceFileOperationName; + pub static NSWorkspaceCompressOperation: &'static NSWorkspaceFileOperationName; } extern "C" { - static NSWorkspaceDecompressOperation: &'static NSWorkspaceFileOperationName; + pub static NSWorkspaceDecompressOperation: &'static NSWorkspaceFileOperationName; } extern "C" { - static NSWorkspaceEncryptOperation: &'static NSWorkspaceFileOperationName; + pub static NSWorkspaceEncryptOperation: &'static NSWorkspaceFileOperationName; } extern "C" { - static NSWorkspaceDecryptOperation: &'static NSWorkspaceFileOperationName; + pub static NSWorkspaceDecryptOperation: &'static NSWorkspaceFileOperationName; } extern "C" { - static NSWorkspaceDestroyOperation: &'static NSWorkspaceFileOperationName; + pub static NSWorkspaceDestroyOperation: &'static NSWorkspaceFileOperationName; } extern "C" { - static NSWorkspaceRecycleOperation: &'static NSWorkspaceFileOperationName; + pub static NSWorkspaceRecycleOperation: &'static NSWorkspaceFileOperationName; } extern "C" { - static NSWorkspaceDuplicateOperation: &'static NSWorkspaceFileOperationName; + pub static NSWorkspaceDuplicateOperation: &'static NSWorkspaceFileOperationName; } extern "C" { - static NSWorkspaceDidPerformFileOperationNotification: &'static NSNotificationName; + pub static NSWorkspaceDidPerformFileOperationNotification: &'static NSNotificationName; } extern "C" { - static NSPlainFileType: &'static NSString; + pub static NSPlainFileType: &'static NSString; } extern "C" { - static NSDirectoryFileType: &'static NSString; + pub static NSDirectoryFileType: &'static NSString; } extern "C" { - static NSApplicationFileType: &'static NSString; + pub static NSApplicationFileType: &'static NSString; } extern "C" { - static NSFilesystemFileType: &'static NSString; + pub static NSFilesystemFileType: &'static NSString; } extern "C" { - static NSShellCommandFileType: &'static NSString; + pub static NSShellCommandFileType: &'static NSString; } diff --git a/icrate/src/Foundation/generated/NSAppleEventManager.rs b/icrate/src/Foundation/generated/NSAppleEventManager.rs index e6cad4cb1..e857ca08a 100644 --- a/icrate/src/Foundation/generated/NSAppleEventManager.rs +++ b/icrate/src/Foundation/generated/NSAppleEventManager.rs @@ -4,15 +4,15 @@ use crate::common::*; use crate::Foundation::*; extern "C" { - static NSAppleEventTimeOutDefault: c_double; + pub static NSAppleEventTimeOutDefault: c_double; } extern "C" { - static NSAppleEventTimeOutNone: c_double; + pub static NSAppleEventTimeOutNone: c_double; } extern "C" { - static NSAppleEventManagerWillProcessFirstEventNotification: &'static NSNotificationName; + pub static NSAppleEventManagerWillProcessFirstEventNotification: &'static NSNotificationName; } extern_class!( diff --git a/icrate/src/Foundation/generated/NSAppleScript.rs b/icrate/src/Foundation/generated/NSAppleScript.rs index 67682ffca..cc182848f 100644 --- a/icrate/src/Foundation/generated/NSAppleScript.rs +++ b/icrate/src/Foundation/generated/NSAppleScript.rs @@ -4,23 +4,23 @@ use crate::common::*; use crate::Foundation::*; extern "C" { - static NSAppleScriptErrorMessage: &'static NSString; + pub static NSAppleScriptErrorMessage: &'static NSString; } extern "C" { - static NSAppleScriptErrorNumber: &'static NSString; + pub static NSAppleScriptErrorNumber: &'static NSString; } extern "C" { - static NSAppleScriptErrorAppName: &'static NSString; + pub static NSAppleScriptErrorAppName: &'static NSString; } extern "C" { - static NSAppleScriptErrorBriefMessage: &'static NSString; + pub static NSAppleScriptErrorBriefMessage: &'static NSString; } extern "C" { - static NSAppleScriptErrorRange: &'static NSString; + pub static NSAppleScriptErrorRange: &'static NSString; } extern_class!( diff --git a/icrate/src/Foundation/generated/NSAttributedString.rs b/icrate/src/Foundation/generated/NSAttributedString.rs index 940f05156..f6b4fb559 100644 --- a/icrate/src/Foundation/generated/NSAttributedString.rs +++ b/icrate/src/Foundation/generated/NSAttributedString.rs @@ -197,19 +197,19 @@ pub const NSInlinePresentationIntentInlineHTML: NSInlinePresentationIntent = 1 < pub const NSInlinePresentationIntentBlockHTML: NSInlinePresentationIntent = 1 << 9; extern "C" { - static NSInlinePresentationIntentAttributeName: &'static NSAttributedStringKey; + pub static NSInlinePresentationIntentAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSAlternateDescriptionAttributeName: &'static NSAttributedStringKey; + pub static NSAlternateDescriptionAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSImageURLAttributeName: &'static NSAttributedStringKey; + pub static NSImageURLAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSLanguageIdentifierAttributeName: &'static NSAttributedStringKey; + pub static NSLanguageIdentifierAttributeName: &'static NSAttributedStringKey; } pub type NSAttributedStringMarkdownParsingFailurePolicy = NSInteger; @@ -327,7 +327,7 @@ extern_methods!( ); extern "C" { - static NSReplacementIndexAttributeName: &'static NSAttributedStringKey; + pub static NSReplacementIndexAttributeName: &'static NSAttributedStringKey; } extern_methods!( @@ -339,19 +339,19 @@ extern_methods!( ); extern "C" { - static NSMorphologyAttributeName: &'static NSAttributedStringKey; + pub static NSMorphologyAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSInflectionRuleAttributeName: &'static NSAttributedStringKey; + pub static NSInflectionRuleAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSInflectionAlternativeAttributeName: &'static NSAttributedStringKey; + pub static NSInflectionAlternativeAttributeName: &'static NSAttributedStringKey; } extern "C" { - static NSPresentationIntentAttributeName: &'static NSAttributedStringKey; + pub static NSPresentationIntentAttributeName: &'static NSAttributedStringKey; } pub type NSPresentationIntentKind = NSInteger; diff --git a/icrate/src/Foundation/generated/NSBundle.rs b/icrate/src/Foundation/generated/NSBundle.rs index 43228ea7b..1c0c4f91a 100644 --- a/icrate/src/Foundation/generated/NSBundle.rs +++ b/icrate/src/Foundation/generated/NSBundle.rs @@ -265,11 +265,11 @@ extern_methods!( ); extern "C" { - static NSBundleDidLoadNotification: &'static NSNotificationName; + pub static NSBundleDidLoadNotification: &'static NSNotificationName; } extern "C" { - static NSLoadedClasses: &'static NSString; + pub static NSLoadedClasses: &'static NSString; } extern_class!( @@ -344,9 +344,9 @@ extern_methods!( ); extern "C" { - static NSBundleResourceRequestLowDiskSpaceNotification: &'static NSNotificationName; + pub static NSBundleResourceRequestLowDiskSpaceNotification: &'static NSNotificationName; } extern "C" { - static NSBundleResourceRequestLoadingPriorityUrgent: c_double; + pub static NSBundleResourceRequestLoadingPriorityUrgent: c_double; } diff --git a/icrate/src/Foundation/generated/NSCalendar.rs b/icrate/src/Foundation/generated/NSCalendar.rs index 2c6757782..70b139c07 100644 --- a/icrate/src/Foundation/generated/NSCalendar.rs +++ b/icrate/src/Foundation/generated/NSCalendar.rs @@ -6,67 +6,67 @@ use crate::Foundation::*; pub type NSCalendarIdentifier = NSString; extern "C" { - static NSCalendarIdentifierGregorian: &'static NSCalendarIdentifier; + pub static NSCalendarIdentifierGregorian: &'static NSCalendarIdentifier; } extern "C" { - static NSCalendarIdentifierBuddhist: &'static NSCalendarIdentifier; + pub static NSCalendarIdentifierBuddhist: &'static NSCalendarIdentifier; } extern "C" { - static NSCalendarIdentifierChinese: &'static NSCalendarIdentifier; + pub static NSCalendarIdentifierChinese: &'static NSCalendarIdentifier; } extern "C" { - static NSCalendarIdentifierCoptic: &'static NSCalendarIdentifier; + pub static NSCalendarIdentifierCoptic: &'static NSCalendarIdentifier; } extern "C" { - static NSCalendarIdentifierEthiopicAmeteMihret: &'static NSCalendarIdentifier; + pub static NSCalendarIdentifierEthiopicAmeteMihret: &'static NSCalendarIdentifier; } extern "C" { - static NSCalendarIdentifierEthiopicAmeteAlem: &'static NSCalendarIdentifier; + pub static NSCalendarIdentifierEthiopicAmeteAlem: &'static NSCalendarIdentifier; } extern "C" { - static NSCalendarIdentifierHebrew: &'static NSCalendarIdentifier; + pub static NSCalendarIdentifierHebrew: &'static NSCalendarIdentifier; } extern "C" { - static NSCalendarIdentifierISO8601: &'static NSCalendarIdentifier; + pub static NSCalendarIdentifierISO8601: &'static NSCalendarIdentifier; } extern "C" { - static NSCalendarIdentifierIndian: &'static NSCalendarIdentifier; + pub static NSCalendarIdentifierIndian: &'static NSCalendarIdentifier; } extern "C" { - static NSCalendarIdentifierIslamic: &'static NSCalendarIdentifier; + pub static NSCalendarIdentifierIslamic: &'static NSCalendarIdentifier; } extern "C" { - static NSCalendarIdentifierIslamicCivil: &'static NSCalendarIdentifier; + pub static NSCalendarIdentifierIslamicCivil: &'static NSCalendarIdentifier; } extern "C" { - static NSCalendarIdentifierJapanese: &'static NSCalendarIdentifier; + pub static NSCalendarIdentifierJapanese: &'static NSCalendarIdentifier; } extern "C" { - static NSCalendarIdentifierPersian: &'static NSCalendarIdentifier; + pub static NSCalendarIdentifierPersian: &'static NSCalendarIdentifier; } extern "C" { - static NSCalendarIdentifierRepublicOfChina: &'static NSCalendarIdentifier; + pub static NSCalendarIdentifierRepublicOfChina: &'static NSCalendarIdentifier; } extern "C" { - static NSCalendarIdentifierIslamicTabular: &'static NSCalendarIdentifier; + pub static NSCalendarIdentifierIslamicTabular: &'static NSCalendarIdentifier; } extern "C" { - static NSCalendarIdentifierIslamicUmmAlQura: &'static NSCalendarIdentifier; + pub static NSCalendarIdentifierIslamicUmmAlQura: &'static NSCalendarIdentifier; } pub type NSCalendarUnit = NSUInteger; @@ -494,7 +494,7 @@ extern_methods!( ); extern "C" { - static NSCalendarDayChangedNotification: &'static NSNotificationName; + pub static NSCalendarDayChangedNotification: &'static NSNotificationName; } pub const NSDateComponentUndefined: i32 = 9223372036854775807; diff --git a/icrate/src/Foundation/generated/NSClassDescription.rs b/icrate/src/Foundation/generated/NSClassDescription.rs index bde823677..5268a420e 100644 --- a/icrate/src/Foundation/generated/NSClassDescription.rs +++ b/icrate/src/Foundation/generated/NSClassDescription.rs @@ -69,5 +69,5 @@ extern_methods!( ); extern "C" { - static NSClassDescriptionNeededForClassNotification: &'static NSNotificationName; + pub static NSClassDescriptionNeededForClassNotification: &'static NSNotificationName; } diff --git a/icrate/src/Foundation/generated/NSConnection.rs b/icrate/src/Foundation/generated/NSConnection.rs index 8add11cab..2cfa07d85 100644 --- a/icrate/src/Foundation/generated/NSConnection.rs +++ b/icrate/src/Foundation/generated/NSConnection.rs @@ -172,21 +172,21 @@ extern_methods!( ); extern "C" { - static NSConnectionReplyMode: &'static NSString; + pub static NSConnectionReplyMode: &'static NSString; } extern "C" { - static NSConnectionDidDieNotification: &'static NSString; + pub static NSConnectionDidDieNotification: &'static NSString; } pub type NSConnectionDelegate = NSObject; extern "C" { - static NSFailedAuthenticationException: &'static NSString; + pub static NSFailedAuthenticationException: &'static NSString; } extern "C" { - static NSConnectionDidInitializeNotification: &'static NSString; + pub static NSConnectionDidInitializeNotification: &'static NSString; } extern_class!( diff --git a/icrate/src/Foundation/generated/NSDate.rs b/icrate/src/Foundation/generated/NSDate.rs index 9b43a6ae1..b6dd90c5a 100644 --- a/icrate/src/Foundation/generated/NSDate.rs +++ b/icrate/src/Foundation/generated/NSDate.rs @@ -4,7 +4,7 @@ use crate::common::*; use crate::Foundation::*; extern "C" { - static NSSystemClockDidChangeNotification: &'static NSNotificationName; + pub static NSSystemClockDidChangeNotification: &'static NSNotificationName; } extern_class!( diff --git a/icrate/src/Foundation/generated/NSDecimalNumber.rs b/icrate/src/Foundation/generated/NSDecimalNumber.rs index 902318175..b0175a18e 100644 --- a/icrate/src/Foundation/generated/NSDecimalNumber.rs +++ b/icrate/src/Foundation/generated/NSDecimalNumber.rs @@ -4,19 +4,19 @@ use crate::common::*; use crate::Foundation::*; extern "C" { - static NSDecimalNumberExactnessException: &'static NSExceptionName; + pub static NSDecimalNumberExactnessException: &'static NSExceptionName; } extern "C" { - static NSDecimalNumberOverflowException: &'static NSExceptionName; + pub static NSDecimalNumberOverflowException: &'static NSExceptionName; } extern "C" { - static NSDecimalNumberUnderflowException: &'static NSExceptionName; + pub static NSDecimalNumberUnderflowException: &'static NSExceptionName; } extern "C" { - static NSDecimalNumberDivideByZeroException: &'static NSExceptionName; + pub static NSDecimalNumberDivideByZeroException: &'static NSExceptionName; } pub type NSDecimalNumberBehaviors = NSObject; diff --git a/icrate/src/Foundation/generated/NSDistributedNotificationCenter.rs b/icrate/src/Foundation/generated/NSDistributedNotificationCenter.rs index 93ac76cea..4c98865af 100644 --- a/icrate/src/Foundation/generated/NSDistributedNotificationCenter.rs +++ b/icrate/src/Foundation/generated/NSDistributedNotificationCenter.rs @@ -6,7 +6,7 @@ use crate::Foundation::*; pub type NSDistributedNotificationCenterType = NSString; extern "C" { - static NSLocalNotificationCenterType: &'static NSDistributedNotificationCenterType; + pub static NSLocalNotificationCenterType: &'static NSDistributedNotificationCenterType; } pub type NSNotificationSuspensionBehavior = NSUInteger; @@ -19,10 +19,10 @@ pub type NSDistributedNotificationOptions = NSUInteger; pub const NSDistributedNotificationDeliverImmediately: NSDistributedNotificationOptions = 1 << 0; pub const NSDistributedNotificationPostToAllSessions: NSDistributedNotificationOptions = 1 << 1; -static NSNotificationDeliverImmediately: NSDistributedNotificationOptions = +pub static NSNotificationDeliverImmediately: NSDistributedNotificationOptions = NSDistributedNotificationDeliverImmediately; -static NSNotificationPostToAllSessions: NSDistributedNotificationOptions = +pub static NSNotificationPostToAllSessions: NSDistributedNotificationOptions = NSDistributedNotificationPostToAllSessions; extern_class!( diff --git a/icrate/src/Foundation/generated/NSError.rs b/icrate/src/Foundation/generated/NSError.rs index 9c8ebeb81..08f091433 100644 --- a/icrate/src/Foundation/generated/NSError.rs +++ b/icrate/src/Foundation/generated/NSError.rs @@ -6,73 +6,73 @@ use crate::Foundation::*; pub type NSErrorDomain = NSString; extern "C" { - static NSCocoaErrorDomain: &'static NSErrorDomain; + pub static NSCocoaErrorDomain: &'static NSErrorDomain; } extern "C" { - static NSPOSIXErrorDomain: &'static NSErrorDomain; + pub static NSPOSIXErrorDomain: &'static NSErrorDomain; } extern "C" { - static NSOSStatusErrorDomain: &'static NSErrorDomain; + pub static NSOSStatusErrorDomain: &'static NSErrorDomain; } extern "C" { - static NSMachErrorDomain: &'static NSErrorDomain; + pub static NSMachErrorDomain: &'static NSErrorDomain; } pub type NSErrorUserInfoKey = NSString; extern "C" { - static NSUnderlyingErrorKey: &'static NSErrorUserInfoKey; + pub static NSUnderlyingErrorKey: &'static NSErrorUserInfoKey; } extern "C" { - static NSMultipleUnderlyingErrorsKey: &'static NSErrorUserInfoKey; + pub static NSMultipleUnderlyingErrorsKey: &'static NSErrorUserInfoKey; } extern "C" { - static NSLocalizedDescriptionKey: &'static NSErrorUserInfoKey; + pub static NSLocalizedDescriptionKey: &'static NSErrorUserInfoKey; } extern "C" { - static NSLocalizedFailureReasonErrorKey: &'static NSErrorUserInfoKey; + pub static NSLocalizedFailureReasonErrorKey: &'static NSErrorUserInfoKey; } extern "C" { - static NSLocalizedRecoverySuggestionErrorKey: &'static NSErrorUserInfoKey; + pub static NSLocalizedRecoverySuggestionErrorKey: &'static NSErrorUserInfoKey; } extern "C" { - static NSLocalizedRecoveryOptionsErrorKey: &'static NSErrorUserInfoKey; + pub static NSLocalizedRecoveryOptionsErrorKey: &'static NSErrorUserInfoKey; } extern "C" { - static NSRecoveryAttempterErrorKey: &'static NSErrorUserInfoKey; + pub static NSRecoveryAttempterErrorKey: &'static NSErrorUserInfoKey; } extern "C" { - static NSHelpAnchorErrorKey: &'static NSErrorUserInfoKey; + pub static NSHelpAnchorErrorKey: &'static NSErrorUserInfoKey; } extern "C" { - static NSDebugDescriptionErrorKey: &'static NSErrorUserInfoKey; + pub static NSDebugDescriptionErrorKey: &'static NSErrorUserInfoKey; } extern "C" { - static NSLocalizedFailureErrorKey: &'static NSErrorUserInfoKey; + pub static NSLocalizedFailureErrorKey: &'static NSErrorUserInfoKey; } extern "C" { - static NSStringEncodingErrorKey: &'static NSErrorUserInfoKey; + pub static NSStringEncodingErrorKey: &'static NSErrorUserInfoKey; } extern "C" { - static NSURLErrorKey: &'static NSErrorUserInfoKey; + pub static NSURLErrorKey: &'static NSErrorUserInfoKey; } extern "C" { - static NSFilePathErrorKey: &'static NSErrorUserInfoKey; + pub static NSFilePathErrorKey: &'static NSErrorUserInfoKey; } extern_class!( diff --git a/icrate/src/Foundation/generated/NSException.rs b/icrate/src/Foundation/generated/NSException.rs index 54df2f4b8..b262f3d5e 100644 --- a/icrate/src/Foundation/generated/NSException.rs +++ b/icrate/src/Foundation/generated/NSException.rs @@ -4,63 +4,63 @@ use crate::common::*; use crate::Foundation::*; extern "C" { - static NSGenericException: &'static NSExceptionName; + pub static NSGenericException: &'static NSExceptionName; } extern "C" { - static NSRangeException: &'static NSExceptionName; + pub static NSRangeException: &'static NSExceptionName; } extern "C" { - static NSInvalidArgumentException: &'static NSExceptionName; + pub static NSInvalidArgumentException: &'static NSExceptionName; } extern "C" { - static NSInternalInconsistencyException: &'static NSExceptionName; + pub static NSInternalInconsistencyException: &'static NSExceptionName; } extern "C" { - static NSMallocException: &'static NSExceptionName; + pub static NSMallocException: &'static NSExceptionName; } extern "C" { - static NSObjectInaccessibleException: &'static NSExceptionName; + pub static NSObjectInaccessibleException: &'static NSExceptionName; } extern "C" { - static NSObjectNotAvailableException: &'static NSExceptionName; + pub static NSObjectNotAvailableException: &'static NSExceptionName; } extern "C" { - static NSDestinationInvalidException: &'static NSExceptionName; + pub static NSDestinationInvalidException: &'static NSExceptionName; } extern "C" { - static NSPortTimeoutException: &'static NSExceptionName; + pub static NSPortTimeoutException: &'static NSExceptionName; } extern "C" { - static NSInvalidSendPortException: &'static NSExceptionName; + pub static NSInvalidSendPortException: &'static NSExceptionName; } extern "C" { - static NSInvalidReceivePortException: &'static NSExceptionName; + pub static NSInvalidReceivePortException: &'static NSExceptionName; } extern "C" { - static NSPortSendException: &'static NSExceptionName; + pub static NSPortSendException: &'static NSExceptionName; } extern "C" { - static NSPortReceiveException: &'static NSExceptionName; + pub static NSPortReceiveException: &'static NSExceptionName; } extern "C" { - static NSOldStyleException: &'static NSExceptionName; + pub static NSOldStyleException: &'static NSExceptionName; } extern "C" { - static NSInconsistentArchiveException: &'static NSExceptionName; + pub static NSInconsistentArchiveException: &'static NSExceptionName; } extern_class!( @@ -122,7 +122,7 @@ extern_methods!( ); extern "C" { - static NSAssertionHandlerKey: &'static NSString; + pub static NSAssertionHandlerKey: &'static NSString; } extern_class!( diff --git a/icrate/src/Foundation/generated/NSExtensionContext.rs b/icrate/src/Foundation/generated/NSExtensionContext.rs index 9b0fd9c0a..febdcbc03 100644 --- a/icrate/src/Foundation/generated/NSExtensionContext.rs +++ b/icrate/src/Foundation/generated/NSExtensionContext.rs @@ -33,21 +33,21 @@ extern_methods!( ); extern "C" { - static NSExtensionItemsAndErrorsKey: Option<&'static NSString>; + pub static NSExtensionItemsAndErrorsKey: Option<&'static NSString>; } extern "C" { - static NSExtensionHostWillEnterForegroundNotification: Option<&'static NSString>; + pub static NSExtensionHostWillEnterForegroundNotification: Option<&'static NSString>; } extern "C" { - static NSExtensionHostDidEnterBackgroundNotification: Option<&'static NSString>; + pub static NSExtensionHostDidEnterBackgroundNotification: Option<&'static NSString>; } extern "C" { - static NSExtensionHostWillResignActiveNotification: Option<&'static NSString>; + pub static NSExtensionHostWillResignActiveNotification: Option<&'static NSString>; } extern "C" { - static NSExtensionHostDidBecomeActiveNotification: Option<&'static NSString>; + pub static NSExtensionHostDidBecomeActiveNotification: Option<&'static NSString>; } diff --git a/icrate/src/Foundation/generated/NSExtensionItem.rs b/icrate/src/Foundation/generated/NSExtensionItem.rs index 7d51ffecc..b065d144e 100644 --- a/icrate/src/Foundation/generated/NSExtensionItem.rs +++ b/icrate/src/Foundation/generated/NSExtensionItem.rs @@ -44,13 +44,13 @@ extern_methods!( ); extern "C" { - static NSExtensionItemAttributedTitleKey: Option<&'static NSString>; + pub static NSExtensionItemAttributedTitleKey: Option<&'static NSString>; } extern "C" { - static NSExtensionItemAttributedContentTextKey: Option<&'static NSString>; + pub static NSExtensionItemAttributedContentTextKey: Option<&'static NSString>; } extern "C" { - static NSExtensionItemAttachmentsKey: Option<&'static NSString>; + pub static NSExtensionItemAttachmentsKey: Option<&'static NSString>; } diff --git a/icrate/src/Foundation/generated/NSFileHandle.rs b/icrate/src/Foundation/generated/NSFileHandle.rs index 34cfec64e..e3918794c 100644 --- a/icrate/src/Foundation/generated/NSFileHandle.rs +++ b/icrate/src/Foundation/generated/NSFileHandle.rs @@ -115,35 +115,35 @@ extern_methods!( ); extern "C" { - static NSFileHandleOperationException: &'static NSExceptionName; + pub static NSFileHandleOperationException: &'static NSExceptionName; } extern "C" { - static NSFileHandleReadCompletionNotification: &'static NSNotificationName; + pub static NSFileHandleReadCompletionNotification: &'static NSNotificationName; } extern "C" { - static NSFileHandleReadToEndOfFileCompletionNotification: &'static NSNotificationName; + pub static NSFileHandleReadToEndOfFileCompletionNotification: &'static NSNotificationName; } extern "C" { - static NSFileHandleConnectionAcceptedNotification: &'static NSNotificationName; + pub static NSFileHandleConnectionAcceptedNotification: &'static NSNotificationName; } extern "C" { - static NSFileHandleDataAvailableNotification: &'static NSNotificationName; + pub static NSFileHandleDataAvailableNotification: &'static NSNotificationName; } extern "C" { - static NSFileHandleNotificationDataItem: &'static NSString; + pub static NSFileHandleNotificationDataItem: &'static NSString; } extern "C" { - static NSFileHandleNotificationFileHandleItem: &'static NSString; + pub static NSFileHandleNotificationFileHandleItem: &'static NSString; } extern "C" { - static NSFileHandleNotificationMonitorModes: &'static NSString; + pub static NSFileHandleNotificationMonitorModes: &'static NSString; } extern_methods!( diff --git a/icrate/src/Foundation/generated/NSFileManager.rs b/icrate/src/Foundation/generated/NSFileManager.rs index 329951d10..0faa0278d 100644 --- a/icrate/src/Foundation/generated/NSFileManager.rs +++ b/icrate/src/Foundation/generated/NSFileManager.rs @@ -40,11 +40,11 @@ pub const NSFileManagerUnmountAllPartitionsAndEjectDisk: NSFileManagerUnmountOpt pub const NSFileManagerUnmountWithoutUI: NSFileManagerUnmountOptions = 1 << 1; extern "C" { - static NSFileManagerUnmountDissentingProcessIdentifierErrorKey: &'static NSString; + pub static NSFileManagerUnmountDissentingProcessIdentifierErrorKey: &'static NSString; } extern "C" { - static NSUbiquityIdentityDidChangeNotification: &'static NSNotificationName; + pub static NSUbiquityIdentityDidChangeNotification: &'static NSNotificationName; } extern_class!( @@ -567,143 +567,143 @@ extern_methods!( ); extern "C" { - static NSFileType: &'static NSFileAttributeKey; + pub static NSFileType: &'static NSFileAttributeKey; } extern "C" { - static NSFileTypeDirectory: &'static NSFileAttributeType; + pub static NSFileTypeDirectory: &'static NSFileAttributeType; } extern "C" { - static NSFileTypeRegular: &'static NSFileAttributeType; + pub static NSFileTypeRegular: &'static NSFileAttributeType; } extern "C" { - static NSFileTypeSymbolicLink: &'static NSFileAttributeType; + pub static NSFileTypeSymbolicLink: &'static NSFileAttributeType; } extern "C" { - static NSFileTypeSocket: &'static NSFileAttributeType; + pub static NSFileTypeSocket: &'static NSFileAttributeType; } extern "C" { - static NSFileTypeCharacterSpecial: &'static NSFileAttributeType; + pub static NSFileTypeCharacterSpecial: &'static NSFileAttributeType; } extern "C" { - static NSFileTypeBlockSpecial: &'static NSFileAttributeType; + pub static NSFileTypeBlockSpecial: &'static NSFileAttributeType; } extern "C" { - static NSFileTypeUnknown: &'static NSFileAttributeType; + pub static NSFileTypeUnknown: &'static NSFileAttributeType; } extern "C" { - static NSFileSize: &'static NSFileAttributeKey; + pub static NSFileSize: &'static NSFileAttributeKey; } extern "C" { - static NSFileModificationDate: &'static NSFileAttributeKey; + pub static NSFileModificationDate: &'static NSFileAttributeKey; } extern "C" { - static NSFileReferenceCount: &'static NSFileAttributeKey; + pub static NSFileReferenceCount: &'static NSFileAttributeKey; } extern "C" { - static NSFileDeviceIdentifier: &'static NSFileAttributeKey; + pub static NSFileDeviceIdentifier: &'static NSFileAttributeKey; } extern "C" { - static NSFileOwnerAccountName: &'static NSFileAttributeKey; + pub static NSFileOwnerAccountName: &'static NSFileAttributeKey; } extern "C" { - static NSFileGroupOwnerAccountName: &'static NSFileAttributeKey; + pub static NSFileGroupOwnerAccountName: &'static NSFileAttributeKey; } extern "C" { - static NSFilePosixPermissions: &'static NSFileAttributeKey; + pub static NSFilePosixPermissions: &'static NSFileAttributeKey; } extern "C" { - static NSFileSystemNumber: &'static NSFileAttributeKey; + pub static NSFileSystemNumber: &'static NSFileAttributeKey; } extern "C" { - static NSFileSystemFileNumber: &'static NSFileAttributeKey; + pub static NSFileSystemFileNumber: &'static NSFileAttributeKey; } extern "C" { - static NSFileExtensionHidden: &'static NSFileAttributeKey; + pub static NSFileExtensionHidden: &'static NSFileAttributeKey; } extern "C" { - static NSFileHFSCreatorCode: &'static NSFileAttributeKey; + pub static NSFileHFSCreatorCode: &'static NSFileAttributeKey; } extern "C" { - static NSFileHFSTypeCode: &'static NSFileAttributeKey; + pub static NSFileHFSTypeCode: &'static NSFileAttributeKey; } extern "C" { - static NSFileImmutable: &'static NSFileAttributeKey; + pub static NSFileImmutable: &'static NSFileAttributeKey; } extern "C" { - static NSFileAppendOnly: &'static NSFileAttributeKey; + pub static NSFileAppendOnly: &'static NSFileAttributeKey; } extern "C" { - static NSFileCreationDate: &'static NSFileAttributeKey; + pub static NSFileCreationDate: &'static NSFileAttributeKey; } extern "C" { - static NSFileOwnerAccountID: &'static NSFileAttributeKey; + pub static NSFileOwnerAccountID: &'static NSFileAttributeKey; } extern "C" { - static NSFileGroupOwnerAccountID: &'static NSFileAttributeKey; + pub static NSFileGroupOwnerAccountID: &'static NSFileAttributeKey; } extern "C" { - static NSFileBusy: &'static NSFileAttributeKey; + pub static NSFileBusy: &'static NSFileAttributeKey; } extern "C" { - static NSFileProtectionKey: &'static NSFileAttributeKey; + pub static NSFileProtectionKey: &'static NSFileAttributeKey; } extern "C" { - static NSFileProtectionNone: &'static NSFileProtectionType; + pub static NSFileProtectionNone: &'static NSFileProtectionType; } extern "C" { - static NSFileProtectionComplete: &'static NSFileProtectionType; + pub static NSFileProtectionComplete: &'static NSFileProtectionType; } extern "C" { - static NSFileProtectionCompleteUnlessOpen: &'static NSFileProtectionType; + pub static NSFileProtectionCompleteUnlessOpen: &'static NSFileProtectionType; } extern "C" { - static NSFileProtectionCompleteUntilFirstUserAuthentication: &'static NSFileProtectionType; + pub static NSFileProtectionCompleteUntilFirstUserAuthentication: &'static NSFileProtectionType; } extern "C" { - static NSFileSystemSize: &'static NSFileAttributeKey; + pub static NSFileSystemSize: &'static NSFileAttributeKey; } extern "C" { - static NSFileSystemFreeSize: &'static NSFileAttributeKey; + pub static NSFileSystemFreeSize: &'static NSFileAttributeKey; } extern "C" { - static NSFileSystemNodes: &'static NSFileAttributeKey; + pub static NSFileSystemNodes: &'static NSFileAttributeKey; } extern "C" { - static NSFileSystemFreeNodes: &'static NSFileAttributeKey; + pub static NSFileSystemFreeNodes: &'static NSFileAttributeKey; } extern_methods!( diff --git a/icrate/src/Foundation/generated/NSGeometry.rs b/icrate/src/Foundation/generated/NSGeometry.rs index e10cd8602..71753cb30 100644 --- a/icrate/src/Foundation/generated/NSGeometry.rs +++ b/icrate/src/Foundation/generated/NSGeometry.rs @@ -47,19 +47,19 @@ pub const NSAlignAllEdgesNearest: NSAlignmentOptions = NSAlignMinXNearest | NSAlignMaxXNearest | NSAlignMinYNearest | NSAlignMaxYNearest; extern "C" { - static NSZeroPoint: NSPoint; + pub static NSZeroPoint: NSPoint; } extern "C" { - static NSZeroSize: NSSize; + pub static NSZeroSize: NSSize; } extern "C" { - static NSZeroRect: NSRect; + pub static NSZeroRect: NSRect; } extern "C" { - static NSEdgeInsetsZero: NSEdgeInsets; + pub static NSEdgeInsetsZero: NSEdgeInsets; } extern_methods!( diff --git a/icrate/src/Foundation/generated/NSHTTPCookie.rs b/icrate/src/Foundation/generated/NSHTTPCookie.rs index d74ae4494..d3347138c 100644 --- a/icrate/src/Foundation/generated/NSHTTPCookie.rs +++ b/icrate/src/Foundation/generated/NSHTTPCookie.rs @@ -8,67 +8,67 @@ pub type NSHTTPCookiePropertyKey = NSString; pub type NSHTTPCookieStringPolicy = NSString; extern "C" { - static NSHTTPCookieName: &'static NSHTTPCookiePropertyKey; + pub static NSHTTPCookieName: &'static NSHTTPCookiePropertyKey; } extern "C" { - static NSHTTPCookieValue: &'static NSHTTPCookiePropertyKey; + pub static NSHTTPCookieValue: &'static NSHTTPCookiePropertyKey; } extern "C" { - static NSHTTPCookieOriginURL: &'static NSHTTPCookiePropertyKey; + pub static NSHTTPCookieOriginURL: &'static NSHTTPCookiePropertyKey; } extern "C" { - static NSHTTPCookieVersion: &'static NSHTTPCookiePropertyKey; + pub static NSHTTPCookieVersion: &'static NSHTTPCookiePropertyKey; } extern "C" { - static NSHTTPCookieDomain: &'static NSHTTPCookiePropertyKey; + pub static NSHTTPCookieDomain: &'static NSHTTPCookiePropertyKey; } extern "C" { - static NSHTTPCookiePath: &'static NSHTTPCookiePropertyKey; + pub static NSHTTPCookiePath: &'static NSHTTPCookiePropertyKey; } extern "C" { - static NSHTTPCookieSecure: &'static NSHTTPCookiePropertyKey; + pub static NSHTTPCookieSecure: &'static NSHTTPCookiePropertyKey; } extern "C" { - static NSHTTPCookieExpires: &'static NSHTTPCookiePropertyKey; + pub static NSHTTPCookieExpires: &'static NSHTTPCookiePropertyKey; } extern "C" { - static NSHTTPCookieComment: &'static NSHTTPCookiePropertyKey; + pub static NSHTTPCookieComment: &'static NSHTTPCookiePropertyKey; } extern "C" { - static NSHTTPCookieCommentURL: &'static NSHTTPCookiePropertyKey; + pub static NSHTTPCookieCommentURL: &'static NSHTTPCookiePropertyKey; } extern "C" { - static NSHTTPCookieDiscard: &'static NSHTTPCookiePropertyKey; + pub static NSHTTPCookieDiscard: &'static NSHTTPCookiePropertyKey; } extern "C" { - static NSHTTPCookieMaximumAge: &'static NSHTTPCookiePropertyKey; + pub static NSHTTPCookieMaximumAge: &'static NSHTTPCookiePropertyKey; } extern "C" { - static NSHTTPCookiePort: &'static NSHTTPCookiePropertyKey; + pub static NSHTTPCookiePort: &'static NSHTTPCookiePropertyKey; } extern "C" { - static NSHTTPCookieSameSitePolicy: &'static NSHTTPCookiePropertyKey; + pub static NSHTTPCookieSameSitePolicy: &'static NSHTTPCookiePropertyKey; } extern "C" { - static NSHTTPCookieSameSiteLax: &'static NSHTTPCookieStringPolicy; + pub static NSHTTPCookieSameSiteLax: &'static NSHTTPCookieStringPolicy; } extern "C" { - static NSHTTPCookieSameSiteStrict: &'static NSHTTPCookieStringPolicy; + pub static NSHTTPCookieSameSiteStrict: &'static NSHTTPCookieStringPolicy; } extern_class!( diff --git a/icrate/src/Foundation/generated/NSHTTPCookieStorage.rs b/icrate/src/Foundation/generated/NSHTTPCookieStorage.rs index 6ee2a3f45..38ec76a51 100644 --- a/icrate/src/Foundation/generated/NSHTTPCookieStorage.rs +++ b/icrate/src/Foundation/generated/NSHTTPCookieStorage.rs @@ -87,9 +87,9 @@ extern_methods!( ); extern "C" { - static NSHTTPCookieManagerAcceptPolicyChangedNotification: &'static NSNotificationName; + pub static NSHTTPCookieManagerAcceptPolicyChangedNotification: &'static NSNotificationName; } extern "C" { - static NSHTTPCookieManagerCookiesChangedNotification: &'static NSNotificationName; + pub static NSHTTPCookieManagerCookiesChangedNotification: &'static NSNotificationName; } diff --git a/icrate/src/Foundation/generated/NSHashTable.rs b/icrate/src/Foundation/generated/NSHashTable.rs index 59bbd0589..cd075c34f 100644 --- a/icrate/src/Foundation/generated/NSHashTable.rs +++ b/icrate/src/Foundation/generated/NSHashTable.rs @@ -3,17 +3,17 @@ use crate::common::*; use crate::Foundation::*; -static NSHashTableStrongMemory: NSPointerFunctionsOptions = NSPointerFunctionsStrongMemory; +pub static NSHashTableStrongMemory: NSPointerFunctionsOptions = NSPointerFunctionsStrongMemory; -static NSHashTableZeroingWeakMemory: NSPointerFunctionsOptions = +pub static NSHashTableZeroingWeakMemory: NSPointerFunctionsOptions = NSPointerFunctionsZeroingWeakMemory; -static NSHashTableCopyIn: NSPointerFunctionsOptions = NSPointerFunctionsCopyIn; +pub static NSHashTableCopyIn: NSPointerFunctionsOptions = NSPointerFunctionsCopyIn; -static NSHashTableObjectPointerPersonality: NSPointerFunctionsOptions = +pub static NSHashTableObjectPointerPersonality: NSPointerFunctionsOptions = NSPointerFunctionsObjectPointerPersonality; -static NSHashTableWeakMemory: NSPointerFunctionsOptions = NSPointerFunctionsWeakMemory; +pub static NSHashTableWeakMemory: NSPointerFunctionsOptions = NSPointerFunctionsWeakMemory; pub type NSHashTableOptions = NSUInteger; @@ -109,33 +109,33 @@ extern_methods!( ); extern "C" { - static NSIntegerHashCallBacks: NSHashTableCallBacks; + pub static NSIntegerHashCallBacks: NSHashTableCallBacks; } extern "C" { - static NSNonOwnedPointerHashCallBacks: NSHashTableCallBacks; + pub static NSNonOwnedPointerHashCallBacks: NSHashTableCallBacks; } extern "C" { - static NSNonRetainedObjectHashCallBacks: NSHashTableCallBacks; + pub static NSNonRetainedObjectHashCallBacks: NSHashTableCallBacks; } extern "C" { - static NSObjectHashCallBacks: NSHashTableCallBacks; + pub static NSObjectHashCallBacks: NSHashTableCallBacks; } extern "C" { - static NSOwnedObjectIdentityHashCallBacks: NSHashTableCallBacks; + pub static NSOwnedObjectIdentityHashCallBacks: NSHashTableCallBacks; } extern "C" { - static NSOwnedPointerHashCallBacks: NSHashTableCallBacks; + pub static NSOwnedPointerHashCallBacks: NSHashTableCallBacks; } extern "C" { - static NSPointerToStructHashCallBacks: NSHashTableCallBacks; + pub static NSPointerToStructHashCallBacks: NSHashTableCallBacks; } extern "C" { - static NSIntHashCallBacks: NSHashTableCallBacks; + pub static NSIntHashCallBacks: NSHashTableCallBacks; } diff --git a/icrate/src/Foundation/generated/NSItemProvider.rs b/icrate/src/Foundation/generated/NSItemProvider.rs index 3f3a29d68..f503df79e 100644 --- a/icrate/src/Foundation/generated/NSItemProvider.rs +++ b/icrate/src/Foundation/generated/NSItemProvider.rs @@ -135,7 +135,7 @@ extern_methods!( ); extern "C" { - static NSItemProviderPreferredImageSizeKey: &'static NSString; + pub static NSItemProviderPreferredImageSizeKey: &'static NSString; } extern_methods!( @@ -157,15 +157,15 @@ extern_methods!( ); extern "C" { - static NSExtensionJavaScriptPreprocessingResultsKey: Option<&'static NSString>; + pub static NSExtensionJavaScriptPreprocessingResultsKey: Option<&'static NSString>; } extern "C" { - static NSExtensionJavaScriptFinalizeArgumentKey: Option<&'static NSString>; + pub static NSExtensionJavaScriptFinalizeArgumentKey: Option<&'static NSString>; } extern "C" { - static NSItemProviderErrorDomain: &'static NSString; + pub static NSItemProviderErrorDomain: &'static NSString; } pub type NSItemProviderErrorCode = NSInteger; diff --git a/icrate/src/Foundation/generated/NSKeyValueCoding.rs b/icrate/src/Foundation/generated/NSKeyValueCoding.rs index 678d453ed..f7afc9395 100644 --- a/icrate/src/Foundation/generated/NSKeyValueCoding.rs +++ b/icrate/src/Foundation/generated/NSKeyValueCoding.rs @@ -4,53 +4,53 @@ use crate::common::*; use crate::Foundation::*; extern "C" { - static NSUndefinedKeyException: &'static NSExceptionName; + pub static NSUndefinedKeyException: &'static NSExceptionName; } pub type NSKeyValueOperator = NSString; extern "C" { - static NSAverageKeyValueOperator: &'static NSKeyValueOperator; + pub static NSAverageKeyValueOperator: &'static NSKeyValueOperator; } extern "C" { - static NSCountKeyValueOperator: &'static NSKeyValueOperator; + pub static NSCountKeyValueOperator: &'static NSKeyValueOperator; } extern "C" { - static NSDistinctUnionOfArraysKeyValueOperator: &'static NSKeyValueOperator; + pub static NSDistinctUnionOfArraysKeyValueOperator: &'static NSKeyValueOperator; } extern "C" { - static NSDistinctUnionOfObjectsKeyValueOperator: &'static NSKeyValueOperator; + pub static NSDistinctUnionOfObjectsKeyValueOperator: &'static NSKeyValueOperator; } extern "C" { - static NSDistinctUnionOfSetsKeyValueOperator: &'static NSKeyValueOperator; + pub static NSDistinctUnionOfSetsKeyValueOperator: &'static NSKeyValueOperator; } extern "C" { - static NSMaximumKeyValueOperator: &'static NSKeyValueOperator; + pub static NSMaximumKeyValueOperator: &'static NSKeyValueOperator; } extern "C" { - static NSMinimumKeyValueOperator: &'static NSKeyValueOperator; + pub static NSMinimumKeyValueOperator: &'static NSKeyValueOperator; } extern "C" { - static NSSumKeyValueOperator: &'static NSKeyValueOperator; + pub static NSSumKeyValueOperator: &'static NSKeyValueOperator; } extern "C" { - static NSUnionOfArraysKeyValueOperator: &'static NSKeyValueOperator; + pub static NSUnionOfArraysKeyValueOperator: &'static NSKeyValueOperator; } extern "C" { - static NSUnionOfObjectsKeyValueOperator: &'static NSKeyValueOperator; + pub static NSUnionOfObjectsKeyValueOperator: &'static NSKeyValueOperator; } extern "C" { - static NSUnionOfSetsKeyValueOperator: &'static NSKeyValueOperator; + pub static NSUnionOfSetsKeyValueOperator: &'static NSKeyValueOperator; } extern_methods!( diff --git a/icrate/src/Foundation/generated/NSKeyValueObserving.rs b/icrate/src/Foundation/generated/NSKeyValueObserving.rs index ba8859d28..ef81d93b4 100644 --- a/icrate/src/Foundation/generated/NSKeyValueObserving.rs +++ b/icrate/src/Foundation/generated/NSKeyValueObserving.rs @@ -24,23 +24,23 @@ pub const NSKeyValueSetSetMutation: NSKeyValueSetMutationKind = 4; pub type NSKeyValueChangeKey = NSString; extern "C" { - static NSKeyValueChangeKindKey: &'static NSKeyValueChangeKey; + pub static NSKeyValueChangeKindKey: &'static NSKeyValueChangeKey; } extern "C" { - static NSKeyValueChangeNewKey: &'static NSKeyValueChangeKey; + pub static NSKeyValueChangeNewKey: &'static NSKeyValueChangeKey; } extern "C" { - static NSKeyValueChangeOldKey: &'static NSKeyValueChangeKey; + pub static NSKeyValueChangeOldKey: &'static NSKeyValueChangeKey; } extern "C" { - static NSKeyValueChangeIndexesKey: &'static NSKeyValueChangeKey; + pub static NSKeyValueChangeIndexesKey: &'static NSKeyValueChangeKey; } extern "C" { - static NSKeyValueChangeNotificationIsPriorKey: &'static NSKeyValueChangeKey; + pub static NSKeyValueChangeNotificationIsPriorKey: &'static NSKeyValueChangeKey; } extern_methods!( diff --git a/icrate/src/Foundation/generated/NSKeyedArchiver.rs b/icrate/src/Foundation/generated/NSKeyedArchiver.rs index b3904f914..d8c516e17 100644 --- a/icrate/src/Foundation/generated/NSKeyedArchiver.rs +++ b/icrate/src/Foundation/generated/NSKeyedArchiver.rs @@ -4,15 +4,15 @@ use crate::common::*; use crate::Foundation::*; extern "C" { - static NSInvalidArchiveOperationException: &'static NSExceptionName; + pub static NSInvalidArchiveOperationException: &'static NSExceptionName; } extern "C" { - static NSInvalidUnarchiveOperationException: &'static NSExceptionName; + pub static NSInvalidUnarchiveOperationException: &'static NSExceptionName; } extern "C" { - static NSKeyedArchiveRootObjectKey: &'static NSString; + pub static NSKeyedArchiveRootObjectKey: &'static NSString; } extern_class!( diff --git a/icrate/src/Foundation/generated/NSLinguisticTagger.rs b/icrate/src/Foundation/generated/NSLinguisticTagger.rs index 1b0027d77..c1f27da26 100644 --- a/icrate/src/Foundation/generated/NSLinguisticTagger.rs +++ b/icrate/src/Foundation/generated/NSLinguisticTagger.rs @@ -6,157 +6,157 @@ use crate::Foundation::*; pub type NSLinguisticTagScheme = NSString; extern "C" { - static NSLinguisticTagSchemeTokenType: &'static NSLinguisticTagScheme; + pub static NSLinguisticTagSchemeTokenType: &'static NSLinguisticTagScheme; } extern "C" { - static NSLinguisticTagSchemeLexicalClass: &'static NSLinguisticTagScheme; + pub static NSLinguisticTagSchemeLexicalClass: &'static NSLinguisticTagScheme; } extern "C" { - static NSLinguisticTagSchemeNameType: &'static NSLinguisticTagScheme; + pub static NSLinguisticTagSchemeNameType: &'static NSLinguisticTagScheme; } extern "C" { - static NSLinguisticTagSchemeNameTypeOrLexicalClass: &'static NSLinguisticTagScheme; + pub static NSLinguisticTagSchemeNameTypeOrLexicalClass: &'static NSLinguisticTagScheme; } extern "C" { - static NSLinguisticTagSchemeLemma: &'static NSLinguisticTagScheme; + pub static NSLinguisticTagSchemeLemma: &'static NSLinguisticTagScheme; } extern "C" { - static NSLinguisticTagSchemeLanguage: &'static NSLinguisticTagScheme; + pub static NSLinguisticTagSchemeLanguage: &'static NSLinguisticTagScheme; } extern "C" { - static NSLinguisticTagSchemeScript: &'static NSLinguisticTagScheme; + pub static NSLinguisticTagSchemeScript: &'static NSLinguisticTagScheme; } pub type NSLinguisticTag = NSString; extern "C" { - static NSLinguisticTagWord: &'static NSLinguisticTag; + pub static NSLinguisticTagWord: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagPunctuation: &'static NSLinguisticTag; + pub static NSLinguisticTagPunctuation: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagWhitespace: &'static NSLinguisticTag; + pub static NSLinguisticTagWhitespace: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagOther: &'static NSLinguisticTag; + pub static NSLinguisticTagOther: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagNoun: &'static NSLinguisticTag; + pub static NSLinguisticTagNoun: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagVerb: &'static NSLinguisticTag; + pub static NSLinguisticTagVerb: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagAdjective: &'static NSLinguisticTag; + pub static NSLinguisticTagAdjective: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagAdverb: &'static NSLinguisticTag; + pub static NSLinguisticTagAdverb: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagPronoun: &'static NSLinguisticTag; + pub static NSLinguisticTagPronoun: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagDeterminer: &'static NSLinguisticTag; + pub static NSLinguisticTagDeterminer: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagParticle: &'static NSLinguisticTag; + pub static NSLinguisticTagParticle: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagPreposition: &'static NSLinguisticTag; + pub static NSLinguisticTagPreposition: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagNumber: &'static NSLinguisticTag; + pub static NSLinguisticTagNumber: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagConjunction: &'static NSLinguisticTag; + pub static NSLinguisticTagConjunction: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagInterjection: &'static NSLinguisticTag; + pub static NSLinguisticTagInterjection: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagClassifier: &'static NSLinguisticTag; + pub static NSLinguisticTagClassifier: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagIdiom: &'static NSLinguisticTag; + pub static NSLinguisticTagIdiom: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagOtherWord: &'static NSLinguisticTag; + pub static NSLinguisticTagOtherWord: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagSentenceTerminator: &'static NSLinguisticTag; + pub static NSLinguisticTagSentenceTerminator: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagOpenQuote: &'static NSLinguisticTag; + pub static NSLinguisticTagOpenQuote: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagCloseQuote: &'static NSLinguisticTag; + pub static NSLinguisticTagCloseQuote: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagOpenParenthesis: &'static NSLinguisticTag; + pub static NSLinguisticTagOpenParenthesis: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagCloseParenthesis: &'static NSLinguisticTag; + pub static NSLinguisticTagCloseParenthesis: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagWordJoiner: &'static NSLinguisticTag; + pub static NSLinguisticTagWordJoiner: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagDash: &'static NSLinguisticTag; + pub static NSLinguisticTagDash: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagOtherPunctuation: &'static NSLinguisticTag; + pub static NSLinguisticTagOtherPunctuation: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagParagraphBreak: &'static NSLinguisticTag; + pub static NSLinguisticTagParagraphBreak: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagOtherWhitespace: &'static NSLinguisticTag; + pub static NSLinguisticTagOtherWhitespace: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagPersonalName: &'static NSLinguisticTag; + pub static NSLinguisticTagPersonalName: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagPlaceName: &'static NSLinguisticTag; + pub static NSLinguisticTagPlaceName: &'static NSLinguisticTag; } extern "C" { - static NSLinguisticTagOrganizationName: &'static NSLinguisticTag; + pub static NSLinguisticTagOrganizationName: &'static NSLinguisticTag; } pub type NSLinguisticTaggerUnit = NSInteger; diff --git a/icrate/src/Foundation/generated/NSLocale.rs b/icrate/src/Foundation/generated/NSLocale.rs index 0e72d21ea..f601221e7 100644 --- a/icrate/src/Foundation/generated/NSLocale.rs +++ b/icrate/src/Foundation/generated/NSLocale.rs @@ -240,125 +240,125 @@ extern_methods!( ); extern "C" { - static NSCurrentLocaleDidChangeNotification: &'static NSNotificationName; + pub static NSCurrentLocaleDidChangeNotification: &'static NSNotificationName; } extern "C" { - static NSLocaleIdentifier: &'static NSLocaleKey; + pub static NSLocaleIdentifier: &'static NSLocaleKey; } extern "C" { - static NSLocaleLanguageCode: &'static NSLocaleKey; + pub static NSLocaleLanguageCode: &'static NSLocaleKey; } extern "C" { - static NSLocaleCountryCode: &'static NSLocaleKey; + pub static NSLocaleCountryCode: &'static NSLocaleKey; } extern "C" { - static NSLocaleScriptCode: &'static NSLocaleKey; + pub static NSLocaleScriptCode: &'static NSLocaleKey; } extern "C" { - static NSLocaleVariantCode: &'static NSLocaleKey; + pub static NSLocaleVariantCode: &'static NSLocaleKey; } extern "C" { - static NSLocaleExemplarCharacterSet: &'static NSLocaleKey; + pub static NSLocaleExemplarCharacterSet: &'static NSLocaleKey; } extern "C" { - static NSLocaleCalendar: &'static NSLocaleKey; + pub static NSLocaleCalendar: &'static NSLocaleKey; } extern "C" { - static NSLocaleCollationIdentifier: &'static NSLocaleKey; + pub static NSLocaleCollationIdentifier: &'static NSLocaleKey; } extern "C" { - static NSLocaleUsesMetricSystem: &'static NSLocaleKey; + pub static NSLocaleUsesMetricSystem: &'static NSLocaleKey; } extern "C" { - static NSLocaleMeasurementSystem: &'static NSLocaleKey; + pub static NSLocaleMeasurementSystem: &'static NSLocaleKey; } extern "C" { - static NSLocaleDecimalSeparator: &'static NSLocaleKey; + pub static NSLocaleDecimalSeparator: &'static NSLocaleKey; } extern "C" { - static NSLocaleGroupingSeparator: &'static NSLocaleKey; + pub static NSLocaleGroupingSeparator: &'static NSLocaleKey; } extern "C" { - static NSLocaleCurrencySymbol: &'static NSLocaleKey; + pub static NSLocaleCurrencySymbol: &'static NSLocaleKey; } extern "C" { - static NSLocaleCurrencyCode: &'static NSLocaleKey; + pub static NSLocaleCurrencyCode: &'static NSLocaleKey; } extern "C" { - static NSLocaleCollatorIdentifier: &'static NSLocaleKey; + pub static NSLocaleCollatorIdentifier: &'static NSLocaleKey; } extern "C" { - static NSLocaleQuotationBeginDelimiterKey: &'static NSLocaleKey; + pub static NSLocaleQuotationBeginDelimiterKey: &'static NSLocaleKey; } extern "C" { - static NSLocaleQuotationEndDelimiterKey: &'static NSLocaleKey; + pub static NSLocaleQuotationEndDelimiterKey: &'static NSLocaleKey; } extern "C" { - static NSLocaleAlternateQuotationBeginDelimiterKey: &'static NSLocaleKey; + pub static NSLocaleAlternateQuotationBeginDelimiterKey: &'static NSLocaleKey; } extern "C" { - static NSLocaleAlternateQuotationEndDelimiterKey: &'static NSLocaleKey; + pub static NSLocaleAlternateQuotationEndDelimiterKey: &'static NSLocaleKey; } extern "C" { - static NSGregorianCalendar: &'static NSString; + pub static NSGregorianCalendar: &'static NSString; } extern "C" { - static NSBuddhistCalendar: &'static NSString; + pub static NSBuddhistCalendar: &'static NSString; } extern "C" { - static NSChineseCalendar: &'static NSString; + pub static NSChineseCalendar: &'static NSString; } extern "C" { - static NSHebrewCalendar: &'static NSString; + pub static NSHebrewCalendar: &'static NSString; } extern "C" { - static NSIslamicCalendar: &'static NSString; + pub static NSIslamicCalendar: &'static NSString; } extern "C" { - static NSIslamicCivilCalendar: &'static NSString; + pub static NSIslamicCivilCalendar: &'static NSString; } extern "C" { - static NSJapaneseCalendar: &'static NSString; + pub static NSJapaneseCalendar: &'static NSString; } extern "C" { - static NSRepublicOfChinaCalendar: &'static NSString; + pub static NSRepublicOfChinaCalendar: &'static NSString; } extern "C" { - static NSPersianCalendar: &'static NSString; + pub static NSPersianCalendar: &'static NSString; } extern "C" { - static NSIndianCalendar: &'static NSString; + pub static NSIndianCalendar: &'static NSString; } extern "C" { - static NSISO8601Calendar: &'static NSString; + pub static NSISO8601Calendar: &'static NSString; } diff --git a/icrate/src/Foundation/generated/NSMapTable.rs b/icrate/src/Foundation/generated/NSMapTable.rs index d0636e067..4b205ce82 100644 --- a/icrate/src/Foundation/generated/NSMapTable.rs +++ b/icrate/src/Foundation/generated/NSMapTable.rs @@ -3,16 +3,17 @@ use crate::common::*; use crate::Foundation::*; -static NSMapTableStrongMemory: NSPointerFunctionsOptions = NSPointerFunctionsStrongMemory; +pub static NSMapTableStrongMemory: NSPointerFunctionsOptions = NSPointerFunctionsStrongMemory; -static NSMapTableZeroingWeakMemory: NSPointerFunctionsOptions = NSPointerFunctionsZeroingWeakMemory; +pub static NSMapTableZeroingWeakMemory: NSPointerFunctionsOptions = + NSPointerFunctionsZeroingWeakMemory; -static NSMapTableCopyIn: NSPointerFunctionsOptions = NSPointerFunctionsCopyIn; +pub static NSMapTableCopyIn: NSPointerFunctionsOptions = NSPointerFunctionsCopyIn; -static NSMapTableObjectPointerPersonality: NSPointerFunctionsOptions = +pub static NSMapTableObjectPointerPersonality: NSPointerFunctionsOptions = NSPointerFunctionsObjectPointerPersonality; -static NSMapTableWeakMemory: NSPointerFunctionsOptions = NSPointerFunctionsWeakMemory; +pub static NSMapTableWeakMemory: NSPointerFunctionsOptions = NSPointerFunctionsWeakMemory; pub type NSMapTableOptions = NSUInteger; @@ -116,53 +117,53 @@ extern_methods!( ); extern "C" { - static NSIntegerMapKeyCallBacks: NSMapTableKeyCallBacks; + pub static NSIntegerMapKeyCallBacks: NSMapTableKeyCallBacks; } extern "C" { - static NSNonOwnedPointerMapKeyCallBacks: NSMapTableKeyCallBacks; + pub static NSNonOwnedPointerMapKeyCallBacks: NSMapTableKeyCallBacks; } extern "C" { - static NSNonOwnedPointerOrNullMapKeyCallBacks: NSMapTableKeyCallBacks; + pub static NSNonOwnedPointerOrNullMapKeyCallBacks: NSMapTableKeyCallBacks; } extern "C" { - static NSNonRetainedObjectMapKeyCallBacks: NSMapTableKeyCallBacks; + pub static NSNonRetainedObjectMapKeyCallBacks: NSMapTableKeyCallBacks; } extern "C" { - static NSObjectMapKeyCallBacks: NSMapTableKeyCallBacks; + pub static NSObjectMapKeyCallBacks: NSMapTableKeyCallBacks; } extern "C" { - static NSOwnedPointerMapKeyCallBacks: NSMapTableKeyCallBacks; + pub static NSOwnedPointerMapKeyCallBacks: NSMapTableKeyCallBacks; } extern "C" { - static NSIntMapKeyCallBacks: NSMapTableKeyCallBacks; + pub static NSIntMapKeyCallBacks: NSMapTableKeyCallBacks; } extern "C" { - static NSIntegerMapValueCallBacks: NSMapTableValueCallBacks; + pub static NSIntegerMapValueCallBacks: NSMapTableValueCallBacks; } extern "C" { - static NSNonOwnedPointerMapValueCallBacks: NSMapTableValueCallBacks; + pub static NSNonOwnedPointerMapValueCallBacks: NSMapTableValueCallBacks; } extern "C" { - static NSObjectMapValueCallBacks: NSMapTableValueCallBacks; + pub static NSObjectMapValueCallBacks: NSMapTableValueCallBacks; } extern "C" { - static NSNonRetainedObjectMapValueCallBacks: NSMapTableValueCallBacks; + pub static NSNonRetainedObjectMapValueCallBacks: NSMapTableValueCallBacks; } extern "C" { - static NSOwnedPointerMapValueCallBacks: NSMapTableValueCallBacks; + pub static NSOwnedPointerMapValueCallBacks: NSMapTableValueCallBacks; } extern "C" { - static NSIntMapValueCallBacks: NSMapTableValueCallBacks; + pub static NSIntMapValueCallBacks: NSMapTableValueCallBacks; } diff --git a/icrate/src/Foundation/generated/NSMetadata.rs b/icrate/src/Foundation/generated/NSMetadata.rs index 5ae112b49..f589fbdb7 100644 --- a/icrate/src/Foundation/generated/NSMetadata.rs +++ b/icrate/src/Foundation/generated/NSMetadata.rs @@ -134,67 +134,67 @@ extern_methods!( pub type NSMetadataQueryDelegate = NSObject; extern "C" { - static NSMetadataQueryDidStartGatheringNotification: &'static NSNotificationName; + pub static NSMetadataQueryDidStartGatheringNotification: &'static NSNotificationName; } extern "C" { - static NSMetadataQueryGatheringProgressNotification: &'static NSNotificationName; + pub static NSMetadataQueryGatheringProgressNotification: &'static NSNotificationName; } extern "C" { - static NSMetadataQueryDidFinishGatheringNotification: &'static NSNotificationName; + pub static NSMetadataQueryDidFinishGatheringNotification: &'static NSNotificationName; } extern "C" { - static NSMetadataQueryDidUpdateNotification: &'static NSNotificationName; + pub static NSMetadataQueryDidUpdateNotification: &'static NSNotificationName; } extern "C" { - static NSMetadataQueryUpdateAddedItemsKey: &'static NSString; + pub static NSMetadataQueryUpdateAddedItemsKey: &'static NSString; } extern "C" { - static NSMetadataQueryUpdateChangedItemsKey: &'static NSString; + pub static NSMetadataQueryUpdateChangedItemsKey: &'static NSString; } extern "C" { - static NSMetadataQueryUpdateRemovedItemsKey: &'static NSString; + pub static NSMetadataQueryUpdateRemovedItemsKey: &'static NSString; } extern "C" { - static NSMetadataQueryResultContentRelevanceAttribute: &'static NSString; + pub static NSMetadataQueryResultContentRelevanceAttribute: &'static NSString; } extern "C" { - static NSMetadataQueryUserHomeScope: &'static NSString; + pub static NSMetadataQueryUserHomeScope: &'static NSString; } extern "C" { - static NSMetadataQueryLocalComputerScope: &'static NSString; + pub static NSMetadataQueryLocalComputerScope: &'static NSString; } extern "C" { - static NSMetadataQueryNetworkScope: &'static NSString; + pub static NSMetadataQueryNetworkScope: &'static NSString; } extern "C" { - static NSMetadataQueryIndexedLocalComputerScope: &'static NSString; + pub static NSMetadataQueryIndexedLocalComputerScope: &'static NSString; } extern "C" { - static NSMetadataQueryIndexedNetworkScope: &'static NSString; + pub static NSMetadataQueryIndexedNetworkScope: &'static NSString; } extern "C" { - static NSMetadataQueryUbiquitousDocumentsScope: &'static NSString; + pub static NSMetadataQueryUbiquitousDocumentsScope: &'static NSString; } extern "C" { - static NSMetadataQueryUbiquitousDataScope: &'static NSString; + pub static NSMetadataQueryUbiquitousDataScope: &'static NSString; } extern "C" { - static NSMetadataQueryAccessibleUbiquitousExternalDocumentsScope: &'static NSString; + pub static NSMetadataQueryAccessibleUbiquitousExternalDocumentsScope: &'static NSString; } extern_class!( diff --git a/icrate/src/Foundation/generated/NSMetadataAttributes.rs b/icrate/src/Foundation/generated/NSMetadataAttributes.rs index 5c53b21a6..8d334817a 100644 --- a/icrate/src/Foundation/generated/NSMetadataAttributes.rs +++ b/icrate/src/Foundation/generated/NSMetadataAttributes.rs @@ -4,725 +4,725 @@ use crate::common::*; use crate::Foundation::*; extern "C" { - static NSMetadataItemFSNameKey: &'static NSString; + pub static NSMetadataItemFSNameKey: &'static NSString; } extern "C" { - static NSMetadataItemDisplayNameKey: &'static NSString; + pub static NSMetadataItemDisplayNameKey: &'static NSString; } extern "C" { - static NSMetadataItemURLKey: &'static NSString; + pub static NSMetadataItemURLKey: &'static NSString; } extern "C" { - static NSMetadataItemPathKey: &'static NSString; + pub static NSMetadataItemPathKey: &'static NSString; } extern "C" { - static NSMetadataItemFSSizeKey: &'static NSString; + pub static NSMetadataItemFSSizeKey: &'static NSString; } extern "C" { - static NSMetadataItemFSCreationDateKey: &'static NSString; + pub static NSMetadataItemFSCreationDateKey: &'static NSString; } extern "C" { - static NSMetadataItemFSContentChangeDateKey: &'static NSString; + pub static NSMetadataItemFSContentChangeDateKey: &'static NSString; } extern "C" { - static NSMetadataItemContentTypeKey: &'static NSString; + pub static NSMetadataItemContentTypeKey: &'static NSString; } extern "C" { - static NSMetadataItemContentTypeTreeKey: &'static NSString; + pub static NSMetadataItemContentTypeTreeKey: &'static NSString; } extern "C" { - static NSMetadataItemIsUbiquitousKey: &'static NSString; + pub static NSMetadataItemIsUbiquitousKey: &'static NSString; } extern "C" { - static NSMetadataUbiquitousItemHasUnresolvedConflictsKey: &'static NSString; + pub static NSMetadataUbiquitousItemHasUnresolvedConflictsKey: &'static NSString; } extern "C" { - static NSMetadataUbiquitousItemIsDownloadedKey: &'static NSString; + pub static NSMetadataUbiquitousItemIsDownloadedKey: &'static NSString; } extern "C" { - static NSMetadataUbiquitousItemDownloadingStatusKey: &'static NSString; + pub static NSMetadataUbiquitousItemDownloadingStatusKey: &'static NSString; } extern "C" { - static NSMetadataUbiquitousItemDownloadingStatusNotDownloaded: &'static NSString; + pub static NSMetadataUbiquitousItemDownloadingStatusNotDownloaded: &'static NSString; } extern "C" { - static NSMetadataUbiquitousItemDownloadingStatusDownloaded: &'static NSString; + pub static NSMetadataUbiquitousItemDownloadingStatusDownloaded: &'static NSString; } extern "C" { - static NSMetadataUbiquitousItemDownloadingStatusCurrent: &'static NSString; + pub static NSMetadataUbiquitousItemDownloadingStatusCurrent: &'static NSString; } extern "C" { - static NSMetadataUbiquitousItemIsDownloadingKey: &'static NSString; + pub static NSMetadataUbiquitousItemIsDownloadingKey: &'static NSString; } extern "C" { - static NSMetadataUbiquitousItemIsUploadedKey: &'static NSString; + pub static NSMetadataUbiquitousItemIsUploadedKey: &'static NSString; } extern "C" { - static NSMetadataUbiquitousItemIsUploadingKey: &'static NSString; + pub static NSMetadataUbiquitousItemIsUploadingKey: &'static NSString; } extern "C" { - static NSMetadataUbiquitousItemPercentDownloadedKey: &'static NSString; + pub static NSMetadataUbiquitousItemPercentDownloadedKey: &'static NSString; } extern "C" { - static NSMetadataUbiquitousItemPercentUploadedKey: &'static NSString; + pub static NSMetadataUbiquitousItemPercentUploadedKey: &'static NSString; } extern "C" { - static NSMetadataUbiquitousItemDownloadingErrorKey: &'static NSString; + pub static NSMetadataUbiquitousItemDownloadingErrorKey: &'static NSString; } extern "C" { - static NSMetadataUbiquitousItemUploadingErrorKey: &'static NSString; + pub static NSMetadataUbiquitousItemUploadingErrorKey: &'static NSString; } extern "C" { - static NSMetadataUbiquitousItemDownloadRequestedKey: &'static NSString; + pub static NSMetadataUbiquitousItemDownloadRequestedKey: &'static NSString; } extern "C" { - static NSMetadataUbiquitousItemIsExternalDocumentKey: &'static NSString; + pub static NSMetadataUbiquitousItemIsExternalDocumentKey: &'static NSString; } extern "C" { - static NSMetadataUbiquitousItemContainerDisplayNameKey: &'static NSString; + pub static NSMetadataUbiquitousItemContainerDisplayNameKey: &'static NSString; } extern "C" { - static NSMetadataUbiquitousItemURLInLocalContainerKey: &'static NSString; + pub static NSMetadataUbiquitousItemURLInLocalContainerKey: &'static NSString; } extern "C" { - static NSMetadataUbiquitousItemIsSharedKey: &'static NSString; + pub static NSMetadataUbiquitousItemIsSharedKey: &'static NSString; } extern "C" { - static NSMetadataUbiquitousSharedItemCurrentUserRoleKey: &'static NSString; + pub static NSMetadataUbiquitousSharedItemCurrentUserRoleKey: &'static NSString; } extern "C" { - static NSMetadataUbiquitousSharedItemCurrentUserPermissionsKey: &'static NSString; + pub static NSMetadataUbiquitousSharedItemCurrentUserPermissionsKey: &'static NSString; } extern "C" { - static NSMetadataUbiquitousSharedItemOwnerNameComponentsKey: &'static NSString; + pub static NSMetadataUbiquitousSharedItemOwnerNameComponentsKey: &'static NSString; } extern "C" { - static NSMetadataUbiquitousSharedItemMostRecentEditorNameComponentsKey: &'static NSString; + pub static NSMetadataUbiquitousSharedItemMostRecentEditorNameComponentsKey: &'static NSString; } extern "C" { - static NSMetadataUbiquitousSharedItemRoleOwner: &'static NSString; + pub static NSMetadataUbiquitousSharedItemRoleOwner: &'static NSString; } extern "C" { - static NSMetadataUbiquitousSharedItemRoleParticipant: &'static NSString; + pub static NSMetadataUbiquitousSharedItemRoleParticipant: &'static NSString; } extern "C" { - static NSMetadataUbiquitousSharedItemPermissionsReadOnly: &'static NSString; + pub static NSMetadataUbiquitousSharedItemPermissionsReadOnly: &'static NSString; } extern "C" { - static NSMetadataUbiquitousSharedItemPermissionsReadWrite: &'static NSString; + pub static NSMetadataUbiquitousSharedItemPermissionsReadWrite: &'static NSString; } extern "C" { - static NSMetadataItemAttributeChangeDateKey: &'static NSString; + pub static NSMetadataItemAttributeChangeDateKey: &'static NSString; } extern "C" { - static NSMetadataItemKeywordsKey: &'static NSString; + pub static NSMetadataItemKeywordsKey: &'static NSString; } extern "C" { - static NSMetadataItemTitleKey: &'static NSString; + pub static NSMetadataItemTitleKey: &'static NSString; } extern "C" { - static NSMetadataItemAuthorsKey: &'static NSString; + pub static NSMetadataItemAuthorsKey: &'static NSString; } extern "C" { - static NSMetadataItemEditorsKey: &'static NSString; + pub static NSMetadataItemEditorsKey: &'static NSString; } extern "C" { - static NSMetadataItemParticipantsKey: &'static NSString; + pub static NSMetadataItemParticipantsKey: &'static NSString; } extern "C" { - static NSMetadataItemProjectsKey: &'static NSString; + pub static NSMetadataItemProjectsKey: &'static NSString; } extern "C" { - static NSMetadataItemDownloadedDateKey: &'static NSString; + pub static NSMetadataItemDownloadedDateKey: &'static NSString; } extern "C" { - static NSMetadataItemWhereFromsKey: &'static NSString; + pub static NSMetadataItemWhereFromsKey: &'static NSString; } extern "C" { - static NSMetadataItemCommentKey: &'static NSString; + pub static NSMetadataItemCommentKey: &'static NSString; } extern "C" { - static NSMetadataItemCopyrightKey: &'static NSString; + pub static NSMetadataItemCopyrightKey: &'static NSString; } extern "C" { - static NSMetadataItemLastUsedDateKey: &'static NSString; + pub static NSMetadataItemLastUsedDateKey: &'static NSString; } extern "C" { - static NSMetadataItemContentCreationDateKey: &'static NSString; + pub static NSMetadataItemContentCreationDateKey: &'static NSString; } extern "C" { - static NSMetadataItemContentModificationDateKey: &'static NSString; + pub static NSMetadataItemContentModificationDateKey: &'static NSString; } extern "C" { - static NSMetadataItemDateAddedKey: &'static NSString; + pub static NSMetadataItemDateAddedKey: &'static NSString; } extern "C" { - static NSMetadataItemDurationSecondsKey: &'static NSString; + pub static NSMetadataItemDurationSecondsKey: &'static NSString; } extern "C" { - static NSMetadataItemContactKeywordsKey: &'static NSString; + pub static NSMetadataItemContactKeywordsKey: &'static NSString; } extern "C" { - static NSMetadataItemVersionKey: &'static NSString; + pub static NSMetadataItemVersionKey: &'static NSString; } extern "C" { - static NSMetadataItemPixelHeightKey: &'static NSString; + pub static NSMetadataItemPixelHeightKey: &'static NSString; } extern "C" { - static NSMetadataItemPixelWidthKey: &'static NSString; + pub static NSMetadataItemPixelWidthKey: &'static NSString; } extern "C" { - static NSMetadataItemPixelCountKey: &'static NSString; + pub static NSMetadataItemPixelCountKey: &'static NSString; } extern "C" { - static NSMetadataItemColorSpaceKey: &'static NSString; + pub static NSMetadataItemColorSpaceKey: &'static NSString; } extern "C" { - static NSMetadataItemBitsPerSampleKey: &'static NSString; + pub static NSMetadataItemBitsPerSampleKey: &'static NSString; } extern "C" { - static NSMetadataItemFlashOnOffKey: &'static NSString; + pub static NSMetadataItemFlashOnOffKey: &'static NSString; } extern "C" { - static NSMetadataItemFocalLengthKey: &'static NSString; + pub static NSMetadataItemFocalLengthKey: &'static NSString; } extern "C" { - static NSMetadataItemAcquisitionMakeKey: &'static NSString; + pub static NSMetadataItemAcquisitionMakeKey: &'static NSString; } extern "C" { - static NSMetadataItemAcquisitionModelKey: &'static NSString; + pub static NSMetadataItemAcquisitionModelKey: &'static NSString; } extern "C" { - static NSMetadataItemISOSpeedKey: &'static NSString; + pub static NSMetadataItemISOSpeedKey: &'static NSString; } extern "C" { - static NSMetadataItemOrientationKey: &'static NSString; + pub static NSMetadataItemOrientationKey: &'static NSString; } extern "C" { - static NSMetadataItemLayerNamesKey: &'static NSString; + pub static NSMetadataItemLayerNamesKey: &'static NSString; } extern "C" { - static NSMetadataItemWhiteBalanceKey: &'static NSString; + pub static NSMetadataItemWhiteBalanceKey: &'static NSString; } extern "C" { - static NSMetadataItemApertureKey: &'static NSString; + pub static NSMetadataItemApertureKey: &'static NSString; } extern "C" { - static NSMetadataItemProfileNameKey: &'static NSString; + pub static NSMetadataItemProfileNameKey: &'static NSString; } extern "C" { - static NSMetadataItemResolutionWidthDPIKey: &'static NSString; + pub static NSMetadataItemResolutionWidthDPIKey: &'static NSString; } extern "C" { - static NSMetadataItemResolutionHeightDPIKey: &'static NSString; + pub static NSMetadataItemResolutionHeightDPIKey: &'static NSString; } extern "C" { - static NSMetadataItemExposureModeKey: &'static NSString; + pub static NSMetadataItemExposureModeKey: &'static NSString; } extern "C" { - static NSMetadataItemExposureTimeSecondsKey: &'static NSString; + pub static NSMetadataItemExposureTimeSecondsKey: &'static NSString; } extern "C" { - static NSMetadataItemEXIFVersionKey: &'static NSString; + pub static NSMetadataItemEXIFVersionKey: &'static NSString; } extern "C" { - static NSMetadataItemCameraOwnerKey: &'static NSString; + pub static NSMetadataItemCameraOwnerKey: &'static NSString; } extern "C" { - static NSMetadataItemFocalLength35mmKey: &'static NSString; + pub static NSMetadataItemFocalLength35mmKey: &'static NSString; } extern "C" { - static NSMetadataItemLensModelKey: &'static NSString; + pub static NSMetadataItemLensModelKey: &'static NSString; } extern "C" { - static NSMetadataItemEXIFGPSVersionKey: &'static NSString; + pub static NSMetadataItemEXIFGPSVersionKey: &'static NSString; } extern "C" { - static NSMetadataItemAltitudeKey: &'static NSString; + pub static NSMetadataItemAltitudeKey: &'static NSString; } extern "C" { - static NSMetadataItemLatitudeKey: &'static NSString; + pub static NSMetadataItemLatitudeKey: &'static NSString; } extern "C" { - static NSMetadataItemLongitudeKey: &'static NSString; + pub static NSMetadataItemLongitudeKey: &'static NSString; } extern "C" { - static NSMetadataItemSpeedKey: &'static NSString; + pub static NSMetadataItemSpeedKey: &'static NSString; } extern "C" { - static NSMetadataItemTimestampKey: &'static NSString; + pub static NSMetadataItemTimestampKey: &'static NSString; } extern "C" { - static NSMetadataItemGPSTrackKey: &'static NSString; + pub static NSMetadataItemGPSTrackKey: &'static NSString; } extern "C" { - static NSMetadataItemImageDirectionKey: &'static NSString; + pub static NSMetadataItemImageDirectionKey: &'static NSString; } extern "C" { - static NSMetadataItemNamedLocationKey: &'static NSString; + pub static NSMetadataItemNamedLocationKey: &'static NSString; } extern "C" { - static NSMetadataItemGPSStatusKey: &'static NSString; + pub static NSMetadataItemGPSStatusKey: &'static NSString; } extern "C" { - static NSMetadataItemGPSMeasureModeKey: &'static NSString; + pub static NSMetadataItemGPSMeasureModeKey: &'static NSString; } extern "C" { - static NSMetadataItemGPSDOPKey: &'static NSString; + pub static NSMetadataItemGPSDOPKey: &'static NSString; } extern "C" { - static NSMetadataItemGPSMapDatumKey: &'static NSString; + pub static NSMetadataItemGPSMapDatumKey: &'static NSString; } extern "C" { - static NSMetadataItemGPSDestLatitudeKey: &'static NSString; + pub static NSMetadataItemGPSDestLatitudeKey: &'static NSString; } extern "C" { - static NSMetadataItemGPSDestLongitudeKey: &'static NSString; + pub static NSMetadataItemGPSDestLongitudeKey: &'static NSString; } extern "C" { - static NSMetadataItemGPSDestBearingKey: &'static NSString; + pub static NSMetadataItemGPSDestBearingKey: &'static NSString; } extern "C" { - static NSMetadataItemGPSDestDistanceKey: &'static NSString; + pub static NSMetadataItemGPSDestDistanceKey: &'static NSString; } extern "C" { - static NSMetadataItemGPSProcessingMethodKey: &'static NSString; + pub static NSMetadataItemGPSProcessingMethodKey: &'static NSString; } extern "C" { - static NSMetadataItemGPSAreaInformationKey: &'static NSString; + pub static NSMetadataItemGPSAreaInformationKey: &'static NSString; } extern "C" { - static NSMetadataItemGPSDateStampKey: &'static NSString; + pub static NSMetadataItemGPSDateStampKey: &'static NSString; } extern "C" { - static NSMetadataItemGPSDifferentalKey: &'static NSString; + pub static NSMetadataItemGPSDifferentalKey: &'static NSString; } extern "C" { - static NSMetadataItemCodecsKey: &'static NSString; + pub static NSMetadataItemCodecsKey: &'static NSString; } extern "C" { - static NSMetadataItemMediaTypesKey: &'static NSString; + pub static NSMetadataItemMediaTypesKey: &'static NSString; } extern "C" { - static NSMetadataItemStreamableKey: &'static NSString; + pub static NSMetadataItemStreamableKey: &'static NSString; } extern "C" { - static NSMetadataItemTotalBitRateKey: &'static NSString; + pub static NSMetadataItemTotalBitRateKey: &'static NSString; } extern "C" { - static NSMetadataItemVideoBitRateKey: &'static NSString; + pub static NSMetadataItemVideoBitRateKey: &'static NSString; } extern "C" { - static NSMetadataItemAudioBitRateKey: &'static NSString; + pub static NSMetadataItemAudioBitRateKey: &'static NSString; } extern "C" { - static NSMetadataItemDeliveryTypeKey: &'static NSString; + pub static NSMetadataItemDeliveryTypeKey: &'static NSString; } extern "C" { - static NSMetadataItemAlbumKey: &'static NSString; + pub static NSMetadataItemAlbumKey: &'static NSString; } extern "C" { - static NSMetadataItemHasAlphaChannelKey: &'static NSString; + pub static NSMetadataItemHasAlphaChannelKey: &'static NSString; } extern "C" { - static NSMetadataItemRedEyeOnOffKey: &'static NSString; + pub static NSMetadataItemRedEyeOnOffKey: &'static NSString; } extern "C" { - static NSMetadataItemMeteringModeKey: &'static NSString; + pub static NSMetadataItemMeteringModeKey: &'static NSString; } extern "C" { - static NSMetadataItemMaxApertureKey: &'static NSString; + pub static NSMetadataItemMaxApertureKey: &'static NSString; } extern "C" { - static NSMetadataItemFNumberKey: &'static NSString; + pub static NSMetadataItemFNumberKey: &'static NSString; } extern "C" { - static NSMetadataItemExposureProgramKey: &'static NSString; + pub static NSMetadataItemExposureProgramKey: &'static NSString; } extern "C" { - static NSMetadataItemExposureTimeStringKey: &'static NSString; + pub static NSMetadataItemExposureTimeStringKey: &'static NSString; } extern "C" { - static NSMetadataItemHeadlineKey: &'static NSString; + pub static NSMetadataItemHeadlineKey: &'static NSString; } extern "C" { - static NSMetadataItemInstructionsKey: &'static NSString; + pub static NSMetadataItemInstructionsKey: &'static NSString; } extern "C" { - static NSMetadataItemCityKey: &'static NSString; + pub static NSMetadataItemCityKey: &'static NSString; } extern "C" { - static NSMetadataItemStateOrProvinceKey: &'static NSString; + pub static NSMetadataItemStateOrProvinceKey: &'static NSString; } extern "C" { - static NSMetadataItemCountryKey: &'static NSString; + pub static NSMetadataItemCountryKey: &'static NSString; } extern "C" { - static NSMetadataItemTextContentKey: &'static NSString; + pub static NSMetadataItemTextContentKey: &'static NSString; } extern "C" { - static NSMetadataItemAudioSampleRateKey: &'static NSString; + pub static NSMetadataItemAudioSampleRateKey: &'static NSString; } extern "C" { - static NSMetadataItemAudioChannelCountKey: &'static NSString; + pub static NSMetadataItemAudioChannelCountKey: &'static NSString; } extern "C" { - static NSMetadataItemTempoKey: &'static NSString; + pub static NSMetadataItemTempoKey: &'static NSString; } extern "C" { - static NSMetadataItemKeySignatureKey: &'static NSString; + pub static NSMetadataItemKeySignatureKey: &'static NSString; } extern "C" { - static NSMetadataItemTimeSignatureKey: &'static NSString; + pub static NSMetadataItemTimeSignatureKey: &'static NSString; } extern "C" { - static NSMetadataItemAudioEncodingApplicationKey: &'static NSString; + pub static NSMetadataItemAudioEncodingApplicationKey: &'static NSString; } extern "C" { - static NSMetadataItemComposerKey: &'static NSString; + pub static NSMetadataItemComposerKey: &'static NSString; } extern "C" { - static NSMetadataItemLyricistKey: &'static NSString; + pub static NSMetadataItemLyricistKey: &'static NSString; } extern "C" { - static NSMetadataItemAudioTrackNumberKey: &'static NSString; + pub static NSMetadataItemAudioTrackNumberKey: &'static NSString; } extern "C" { - static NSMetadataItemRecordingDateKey: &'static NSString; + pub static NSMetadataItemRecordingDateKey: &'static NSString; } extern "C" { - static NSMetadataItemMusicalGenreKey: &'static NSString; + pub static NSMetadataItemMusicalGenreKey: &'static NSString; } extern "C" { - static NSMetadataItemIsGeneralMIDISequenceKey: &'static NSString; + pub static NSMetadataItemIsGeneralMIDISequenceKey: &'static NSString; } extern "C" { - static NSMetadataItemRecordingYearKey: &'static NSString; + pub static NSMetadataItemRecordingYearKey: &'static NSString; } extern "C" { - static NSMetadataItemOrganizationsKey: &'static NSString; + pub static NSMetadataItemOrganizationsKey: &'static NSString; } extern "C" { - static NSMetadataItemLanguagesKey: &'static NSString; + pub static NSMetadataItemLanguagesKey: &'static NSString; } extern "C" { - static NSMetadataItemRightsKey: &'static NSString; + pub static NSMetadataItemRightsKey: &'static NSString; } extern "C" { - static NSMetadataItemPublishersKey: &'static NSString; + pub static NSMetadataItemPublishersKey: &'static NSString; } extern "C" { - static NSMetadataItemContributorsKey: &'static NSString; + pub static NSMetadataItemContributorsKey: &'static NSString; } extern "C" { - static NSMetadataItemCoverageKey: &'static NSString; + pub static NSMetadataItemCoverageKey: &'static NSString; } extern "C" { - static NSMetadataItemSubjectKey: &'static NSString; + pub static NSMetadataItemSubjectKey: &'static NSString; } extern "C" { - static NSMetadataItemThemeKey: &'static NSString; + pub static NSMetadataItemThemeKey: &'static NSString; } extern "C" { - static NSMetadataItemDescriptionKey: &'static NSString; + pub static NSMetadataItemDescriptionKey: &'static NSString; } extern "C" { - static NSMetadataItemIdentifierKey: &'static NSString; + pub static NSMetadataItemIdentifierKey: &'static NSString; } extern "C" { - static NSMetadataItemAudiencesKey: &'static NSString; + pub static NSMetadataItemAudiencesKey: &'static NSString; } extern "C" { - static NSMetadataItemNumberOfPagesKey: &'static NSString; + pub static NSMetadataItemNumberOfPagesKey: &'static NSString; } extern "C" { - static NSMetadataItemPageWidthKey: &'static NSString; + pub static NSMetadataItemPageWidthKey: &'static NSString; } extern "C" { - static NSMetadataItemPageHeightKey: &'static NSString; + pub static NSMetadataItemPageHeightKey: &'static NSString; } extern "C" { - static NSMetadataItemSecurityMethodKey: &'static NSString; + pub static NSMetadataItemSecurityMethodKey: &'static NSString; } extern "C" { - static NSMetadataItemCreatorKey: &'static NSString; + pub static NSMetadataItemCreatorKey: &'static NSString; } extern "C" { - static NSMetadataItemEncodingApplicationsKey: &'static NSString; + pub static NSMetadataItemEncodingApplicationsKey: &'static NSString; } extern "C" { - static NSMetadataItemDueDateKey: &'static NSString; + pub static NSMetadataItemDueDateKey: &'static NSString; } extern "C" { - static NSMetadataItemStarRatingKey: &'static NSString; + pub static NSMetadataItemStarRatingKey: &'static NSString; } extern "C" { - static NSMetadataItemPhoneNumbersKey: &'static NSString; + pub static NSMetadataItemPhoneNumbersKey: &'static NSString; } extern "C" { - static NSMetadataItemEmailAddressesKey: &'static NSString; + pub static NSMetadataItemEmailAddressesKey: &'static NSString; } extern "C" { - static NSMetadataItemInstantMessageAddressesKey: &'static NSString; + pub static NSMetadataItemInstantMessageAddressesKey: &'static NSString; } extern "C" { - static NSMetadataItemKindKey: &'static NSString; + pub static NSMetadataItemKindKey: &'static NSString; } extern "C" { - static NSMetadataItemRecipientsKey: &'static NSString; + pub static NSMetadataItemRecipientsKey: &'static NSString; } extern "C" { - static NSMetadataItemFinderCommentKey: &'static NSString; + pub static NSMetadataItemFinderCommentKey: &'static NSString; } extern "C" { - static NSMetadataItemFontsKey: &'static NSString; + pub static NSMetadataItemFontsKey: &'static NSString; } extern "C" { - static NSMetadataItemAppleLoopsRootKeyKey: &'static NSString; + pub static NSMetadataItemAppleLoopsRootKeyKey: &'static NSString; } extern "C" { - static NSMetadataItemAppleLoopsKeyFilterTypeKey: &'static NSString; + pub static NSMetadataItemAppleLoopsKeyFilterTypeKey: &'static NSString; } extern "C" { - static NSMetadataItemAppleLoopsLoopModeKey: &'static NSString; + pub static NSMetadataItemAppleLoopsLoopModeKey: &'static NSString; } extern "C" { - static NSMetadataItemAppleLoopDescriptorsKey: &'static NSString; + pub static NSMetadataItemAppleLoopDescriptorsKey: &'static NSString; } extern "C" { - static NSMetadataItemMusicalInstrumentCategoryKey: &'static NSString; + pub static NSMetadataItemMusicalInstrumentCategoryKey: &'static NSString; } extern "C" { - static NSMetadataItemMusicalInstrumentNameKey: &'static NSString; + pub static NSMetadataItemMusicalInstrumentNameKey: &'static NSString; } extern "C" { - static NSMetadataItemCFBundleIdentifierKey: &'static NSString; + pub static NSMetadataItemCFBundleIdentifierKey: &'static NSString; } extern "C" { - static NSMetadataItemInformationKey: &'static NSString; + pub static NSMetadataItemInformationKey: &'static NSString; } extern "C" { - static NSMetadataItemDirectorKey: &'static NSString; + pub static NSMetadataItemDirectorKey: &'static NSString; } extern "C" { - static NSMetadataItemProducerKey: &'static NSString; + pub static NSMetadataItemProducerKey: &'static NSString; } extern "C" { - static NSMetadataItemGenreKey: &'static NSString; + pub static NSMetadataItemGenreKey: &'static NSString; } extern "C" { - static NSMetadataItemPerformersKey: &'static NSString; + pub static NSMetadataItemPerformersKey: &'static NSString; } extern "C" { - static NSMetadataItemOriginalFormatKey: &'static NSString; + pub static NSMetadataItemOriginalFormatKey: &'static NSString; } extern "C" { - static NSMetadataItemOriginalSourceKey: &'static NSString; + pub static NSMetadataItemOriginalSourceKey: &'static NSString; } extern "C" { - static NSMetadataItemAuthorEmailAddressesKey: &'static NSString; + pub static NSMetadataItemAuthorEmailAddressesKey: &'static NSString; } extern "C" { - static NSMetadataItemRecipientEmailAddressesKey: &'static NSString; + pub static NSMetadataItemRecipientEmailAddressesKey: &'static NSString; } extern "C" { - static NSMetadataItemAuthorAddressesKey: &'static NSString; + pub static NSMetadataItemAuthorAddressesKey: &'static NSString; } extern "C" { - static NSMetadataItemRecipientAddressesKey: &'static NSString; + pub static NSMetadataItemRecipientAddressesKey: &'static NSString; } extern "C" { - static NSMetadataItemIsLikelyJunkKey: &'static NSString; + pub static NSMetadataItemIsLikelyJunkKey: &'static NSString; } extern "C" { - static NSMetadataItemExecutableArchitecturesKey: &'static NSString; + pub static NSMetadataItemExecutableArchitecturesKey: &'static NSString; } extern "C" { - static NSMetadataItemExecutablePlatformKey: &'static NSString; + pub static NSMetadataItemExecutablePlatformKey: &'static NSString; } extern "C" { - static NSMetadataItemApplicationCategoriesKey: &'static NSString; + pub static NSMetadataItemApplicationCategoriesKey: &'static NSString; } extern "C" { - static NSMetadataItemIsApplicationManagedKey: &'static NSString; + pub static NSMetadataItemIsApplicationManagedKey: &'static NSString; } diff --git a/icrate/src/Foundation/generated/NSNetServices.rs b/icrate/src/Foundation/generated/NSNetServices.rs index 57b62ef16..745929a53 100644 --- a/icrate/src/Foundation/generated/NSNetServices.rs +++ b/icrate/src/Foundation/generated/NSNetServices.rs @@ -4,11 +4,11 @@ use crate::common::*; use crate::Foundation::*; extern "C" { - static NSNetServicesErrorCode: &'static NSString; + pub static NSNetServicesErrorCode: &'static NSString; } extern "C" { - static NSNetServicesErrorDomain: &'static NSErrorDomain; + pub static NSNetServicesErrorDomain: &'static NSErrorDomain; } pub type NSNetServicesError = NSInteger; diff --git a/icrate/src/Foundation/generated/NSObjCRuntime.rs b/icrate/src/Foundation/generated/NSObjCRuntime.rs index 8e6636478..5222caad3 100644 --- a/icrate/src/Foundation/generated/NSObjCRuntime.rs +++ b/icrate/src/Foundation/generated/NSObjCRuntime.rs @@ -4,7 +4,7 @@ use crate::common::*; use crate::Foundation::*; extern "C" { - static NSFoundationVersionNumber: c_double; + pub static NSFoundationVersionNumber: c_double; } pub type NSExceptionName = NSString; @@ -31,4 +31,4 @@ pub const NSQualityOfServiceUtility: NSQualityOfService = 0x11; pub const NSQualityOfServiceBackground: NSQualityOfService = 0x09; pub const NSQualityOfServiceDefault: NSQualityOfService = -1; -static NSNotFound: NSInteger = todo; +pub static NSNotFound: NSInteger = todo; diff --git a/icrate/src/Foundation/generated/NSOperation.rs b/icrate/src/Foundation/generated/NSOperation.rs index 15b021855..0260e8def 100644 --- a/icrate/src/Foundation/generated/NSOperation.rs +++ b/icrate/src/Foundation/generated/NSOperation.rs @@ -142,14 +142,14 @@ extern_methods!( ); extern "C" { - static NSInvocationOperationVoidResultException: &'static NSExceptionName; + pub static NSInvocationOperationVoidResultException: &'static NSExceptionName; } extern "C" { - static NSInvocationOperationCancelledException: &'static NSExceptionName; + pub static NSInvocationOperationCancelledException: &'static NSExceptionName; } -static NSOperationQueueDefaultMaxConcurrentOperationCount: NSInteger = -1; +pub static NSOperationQueueDefaultMaxConcurrentOperationCount: NSInteger = -1; extern_class!( #[derive(Debug)] diff --git a/icrate/src/Foundation/generated/NSPersonNameComponentsFormatter.rs b/icrate/src/Foundation/generated/NSPersonNameComponentsFormatter.rs index e02b23bf8..b9dfcd0b7 100644 --- a/icrate/src/Foundation/generated/NSPersonNameComponentsFormatter.rs +++ b/icrate/src/Foundation/generated/NSPersonNameComponentsFormatter.rs @@ -78,33 +78,33 @@ extern_methods!( ); extern "C" { - static NSPersonNameComponentKey: &'static NSString; + pub static NSPersonNameComponentKey: &'static NSString; } extern "C" { - static NSPersonNameComponentGivenName: &'static NSString; + pub static NSPersonNameComponentGivenName: &'static NSString; } extern "C" { - static NSPersonNameComponentFamilyName: &'static NSString; + pub static NSPersonNameComponentFamilyName: &'static NSString; } extern "C" { - static NSPersonNameComponentMiddleName: &'static NSString; + pub static NSPersonNameComponentMiddleName: &'static NSString; } extern "C" { - static NSPersonNameComponentPrefix: &'static NSString; + pub static NSPersonNameComponentPrefix: &'static NSString; } extern "C" { - static NSPersonNameComponentSuffix: &'static NSString; + pub static NSPersonNameComponentSuffix: &'static NSString; } extern "C" { - static NSPersonNameComponentNickname: &'static NSString; + pub static NSPersonNameComponentNickname: &'static NSString; } extern "C" { - static NSPersonNameComponentDelimiter: &'static NSString; + pub static NSPersonNameComponentDelimiter: &'static NSString; } diff --git a/icrate/src/Foundation/generated/NSPort.rs b/icrate/src/Foundation/generated/NSPort.rs index db8f8e85e..966f0ab0a 100644 --- a/icrate/src/Foundation/generated/NSPort.rs +++ b/icrate/src/Foundation/generated/NSPort.rs @@ -4,7 +4,7 @@ use crate::common::*; use crate::Foundation::*; extern "C" { - static NSPortDidBecomeInvalidNotification: &'static NSNotificationName; + pub static NSPortDidBecomeInvalidNotification: &'static NSNotificationName; } extern_class!( diff --git a/icrate/src/Foundation/generated/NSProcessInfo.rs b/icrate/src/Foundation/generated/NSProcessInfo.rs index eccfe0fde..1cddac14d 100644 --- a/icrate/src/Foundation/generated/NSProcessInfo.rs +++ b/icrate/src/Foundation/generated/NSProcessInfo.rs @@ -175,11 +175,11 @@ extern_methods!( ); extern "C" { - static NSProcessInfoThermalStateDidChangeNotification: &'static NSNotificationName; + pub static NSProcessInfoThermalStateDidChangeNotification: &'static NSNotificationName; } extern "C" { - static NSProcessInfoPowerStateDidChangeNotification: &'static NSNotificationName; + pub static NSProcessInfoPowerStateDidChangeNotification: &'static NSNotificationName; } extern_methods!( diff --git a/icrate/src/Foundation/generated/NSProgress.rs b/icrate/src/Foundation/generated/NSProgress.rs index 8e3555bfb..a3a20b9fe 100644 --- a/icrate/src/Foundation/generated/NSProgress.rs +++ b/icrate/src/Foundation/generated/NSProgress.rs @@ -218,66 +218,66 @@ extern_methods!( pub type NSProgressReporting = NSObject; extern "C" { - static NSProgressEstimatedTimeRemainingKey: &'static NSProgressUserInfoKey; + pub static NSProgressEstimatedTimeRemainingKey: &'static NSProgressUserInfoKey; } extern "C" { - static NSProgressThroughputKey: &'static NSProgressUserInfoKey; + pub static NSProgressThroughputKey: &'static NSProgressUserInfoKey; } extern "C" { - static NSProgressKindFile: &'static NSProgressKind; + pub static NSProgressKindFile: &'static NSProgressKind; } extern "C" { - static NSProgressFileOperationKindKey: &'static NSProgressUserInfoKey; + pub static NSProgressFileOperationKindKey: &'static NSProgressUserInfoKey; } extern "C" { - static NSProgressFileOperationKindDownloading: &'static NSProgressFileOperationKind; + pub static NSProgressFileOperationKindDownloading: &'static NSProgressFileOperationKind; } extern "C" { - static NSProgressFileOperationKindDecompressingAfterDownloading: + pub static NSProgressFileOperationKindDecompressingAfterDownloading: &'static NSProgressFileOperationKind; } extern "C" { - static NSProgressFileOperationKindReceiving: &'static NSProgressFileOperationKind; + pub static NSProgressFileOperationKindReceiving: &'static NSProgressFileOperationKind; } extern "C" { - static NSProgressFileOperationKindCopying: &'static NSProgressFileOperationKind; + pub static NSProgressFileOperationKindCopying: &'static NSProgressFileOperationKind; } extern "C" { - static NSProgressFileOperationKindUploading: &'static NSProgressFileOperationKind; + pub static NSProgressFileOperationKindUploading: &'static NSProgressFileOperationKind; } extern "C" { - static NSProgressFileOperationKindDuplicating: &'static NSProgressFileOperationKind; + pub static NSProgressFileOperationKindDuplicating: &'static NSProgressFileOperationKind; } extern "C" { - static NSProgressFileURLKey: &'static NSProgressUserInfoKey; + pub static NSProgressFileURLKey: &'static NSProgressUserInfoKey; } extern "C" { - static NSProgressFileTotalCountKey: &'static NSProgressUserInfoKey; + pub static NSProgressFileTotalCountKey: &'static NSProgressUserInfoKey; } extern "C" { - static NSProgressFileCompletedCountKey: &'static NSProgressUserInfoKey; + pub static NSProgressFileCompletedCountKey: &'static NSProgressUserInfoKey; } extern "C" { - static NSProgressFileAnimationImageKey: &'static NSProgressUserInfoKey; + pub static NSProgressFileAnimationImageKey: &'static NSProgressUserInfoKey; } extern "C" { - static NSProgressFileAnimationImageOriginalRectKey: &'static NSProgressUserInfoKey; + pub static NSProgressFileAnimationImageOriginalRectKey: &'static NSProgressUserInfoKey; } extern "C" { - static NSProgressFileIconKey: &'static NSProgressUserInfoKey; + pub static NSProgressFileIconKey: &'static NSProgressUserInfoKey; } diff --git a/icrate/src/Foundation/generated/NSRunLoop.rs b/icrate/src/Foundation/generated/NSRunLoop.rs index f191f6a78..f6b3d797f 100644 --- a/icrate/src/Foundation/generated/NSRunLoop.rs +++ b/icrate/src/Foundation/generated/NSRunLoop.rs @@ -4,11 +4,11 @@ use crate::common::*; use crate::Foundation::*; extern "C" { - static NSDefaultRunLoopMode: &'static NSRunLoopMode; + pub static NSDefaultRunLoopMode: &'static NSRunLoopMode; } extern "C" { - static NSRunLoopCommonModes: &'static NSRunLoopMode; + pub static NSRunLoopCommonModes: &'static NSRunLoopMode; } extern_class!( diff --git a/icrate/src/Foundation/generated/NSScriptKeyValueCoding.rs b/icrate/src/Foundation/generated/NSScriptKeyValueCoding.rs index 094dc08fd..e965234c3 100644 --- a/icrate/src/Foundation/generated/NSScriptKeyValueCoding.rs +++ b/icrate/src/Foundation/generated/NSScriptKeyValueCoding.rs @@ -4,7 +4,7 @@ use crate::common::*; use crate::Foundation::*; extern "C" { - static NSOperationNotSupportedForKeyException: &'static NSString; + pub static NSOperationNotSupportedForKeyException: &'static NSString; } extern_methods!( diff --git a/icrate/src/Foundation/generated/NSSpellServer.rs b/icrate/src/Foundation/generated/NSSpellServer.rs index c716341db..187da21cb 100644 --- a/icrate/src/Foundation/generated/NSSpellServer.rs +++ b/icrate/src/Foundation/generated/NSSpellServer.rs @@ -40,15 +40,15 @@ extern_methods!( ); extern "C" { - static NSGrammarRange: &'static NSString; + pub static NSGrammarRange: &'static NSString; } extern "C" { - static NSGrammarUserDescription: &'static NSString; + pub static NSGrammarUserDescription: &'static NSString; } extern "C" { - static NSGrammarCorrections: &'static NSString; + pub static NSGrammarCorrections: &'static NSString; } pub type NSSpellServerDelegate = NSObject; diff --git a/icrate/src/Foundation/generated/NSStream.rs b/icrate/src/Foundation/generated/NSStream.rs index 81b7392e4..49515cebf 100644 --- a/icrate/src/Foundation/generated/NSStream.rs +++ b/icrate/src/Foundation/generated/NSStream.rs @@ -227,105 +227,105 @@ extern_methods!( pub type NSStreamDelegate = NSObject; extern "C" { - static NSStreamSocketSecurityLevelKey: &'static NSStreamPropertyKey; + pub static NSStreamSocketSecurityLevelKey: &'static NSStreamPropertyKey; } pub type NSStreamSocketSecurityLevel = NSString; extern "C" { - static NSStreamSocketSecurityLevelNone: &'static NSStreamSocketSecurityLevel; + pub static NSStreamSocketSecurityLevelNone: &'static NSStreamSocketSecurityLevel; } extern "C" { - static NSStreamSocketSecurityLevelSSLv2: &'static NSStreamSocketSecurityLevel; + pub static NSStreamSocketSecurityLevelSSLv2: &'static NSStreamSocketSecurityLevel; } extern "C" { - static NSStreamSocketSecurityLevelSSLv3: &'static NSStreamSocketSecurityLevel; + pub static NSStreamSocketSecurityLevelSSLv3: &'static NSStreamSocketSecurityLevel; } extern "C" { - static NSStreamSocketSecurityLevelTLSv1: &'static NSStreamSocketSecurityLevel; + pub static NSStreamSocketSecurityLevelTLSv1: &'static NSStreamSocketSecurityLevel; } extern "C" { - static NSStreamSocketSecurityLevelNegotiatedSSL: &'static NSStreamSocketSecurityLevel; + pub static NSStreamSocketSecurityLevelNegotiatedSSL: &'static NSStreamSocketSecurityLevel; } extern "C" { - static NSStreamSOCKSProxyConfigurationKey: &'static NSStreamPropertyKey; + pub static NSStreamSOCKSProxyConfigurationKey: &'static NSStreamPropertyKey; } pub type NSStreamSOCKSProxyConfiguration = NSString; extern "C" { - static NSStreamSOCKSProxyHostKey: &'static NSStreamSOCKSProxyConfiguration; + pub static NSStreamSOCKSProxyHostKey: &'static NSStreamSOCKSProxyConfiguration; } extern "C" { - static NSStreamSOCKSProxyPortKey: &'static NSStreamSOCKSProxyConfiguration; + pub static NSStreamSOCKSProxyPortKey: &'static NSStreamSOCKSProxyConfiguration; } extern "C" { - static NSStreamSOCKSProxyVersionKey: &'static NSStreamSOCKSProxyConfiguration; + pub static NSStreamSOCKSProxyVersionKey: &'static NSStreamSOCKSProxyConfiguration; } extern "C" { - static NSStreamSOCKSProxyUserKey: &'static NSStreamSOCKSProxyConfiguration; + pub static NSStreamSOCKSProxyUserKey: &'static NSStreamSOCKSProxyConfiguration; } extern "C" { - static NSStreamSOCKSProxyPasswordKey: &'static NSStreamSOCKSProxyConfiguration; + pub static NSStreamSOCKSProxyPasswordKey: &'static NSStreamSOCKSProxyConfiguration; } pub type NSStreamSOCKSProxyVersion = NSString; extern "C" { - static NSStreamSOCKSProxyVersion4: &'static NSStreamSOCKSProxyVersion; + pub static NSStreamSOCKSProxyVersion4: &'static NSStreamSOCKSProxyVersion; } extern "C" { - static NSStreamSOCKSProxyVersion5: &'static NSStreamSOCKSProxyVersion; + pub static NSStreamSOCKSProxyVersion5: &'static NSStreamSOCKSProxyVersion; } extern "C" { - static NSStreamDataWrittenToMemoryStreamKey: &'static NSStreamPropertyKey; + pub static NSStreamDataWrittenToMemoryStreamKey: &'static NSStreamPropertyKey; } extern "C" { - static NSStreamFileCurrentOffsetKey: &'static NSStreamPropertyKey; + pub static NSStreamFileCurrentOffsetKey: &'static NSStreamPropertyKey; } extern "C" { - static NSStreamSocketSSLErrorDomain: &'static NSErrorDomain; + pub static NSStreamSocketSSLErrorDomain: &'static NSErrorDomain; } extern "C" { - static NSStreamSOCKSErrorDomain: &'static NSErrorDomain; + pub static NSStreamSOCKSErrorDomain: &'static NSErrorDomain; } extern "C" { - static NSStreamNetworkServiceType: &'static NSStreamPropertyKey; + pub static NSStreamNetworkServiceType: &'static NSStreamPropertyKey; } pub type NSStreamNetworkServiceTypeValue = NSString; extern "C" { - static NSStreamNetworkServiceTypeVoIP: &'static NSStreamNetworkServiceTypeValue; + pub static NSStreamNetworkServiceTypeVoIP: &'static NSStreamNetworkServiceTypeValue; } extern "C" { - static NSStreamNetworkServiceTypeVideo: &'static NSStreamNetworkServiceTypeValue; + pub static NSStreamNetworkServiceTypeVideo: &'static NSStreamNetworkServiceTypeValue; } extern "C" { - static NSStreamNetworkServiceTypeBackground: &'static NSStreamNetworkServiceTypeValue; + pub static NSStreamNetworkServiceTypeBackground: &'static NSStreamNetworkServiceTypeValue; } extern "C" { - static NSStreamNetworkServiceTypeVoice: &'static NSStreamNetworkServiceTypeValue; + pub static NSStreamNetworkServiceTypeVoice: &'static NSStreamNetworkServiceTypeValue; } extern "C" { - static NSStreamNetworkServiceTypeCallSignaling: &'static NSStreamNetworkServiceTypeValue; + pub static NSStreamNetworkServiceTypeCallSignaling: &'static NSStreamNetworkServiceTypeValue; } diff --git a/icrate/src/Foundation/generated/NSString.rs b/icrate/src/Foundation/generated/NSString.rs index c9d5c6f03..2b14e5a42 100644 --- a/icrate/src/Foundation/generated/NSString.rs +++ b/icrate/src/Foundation/generated/NSString.rs @@ -84,67 +84,67 @@ pub const NSStringEnumerationLocalized: NSStringEnumerationOptions = 1 << 10; pub type NSStringTransform = NSString; extern "C" { - static NSStringTransformLatinToKatakana: &'static NSStringTransform; + pub static NSStringTransformLatinToKatakana: &'static NSStringTransform; } extern "C" { - static NSStringTransformLatinToHiragana: &'static NSStringTransform; + pub static NSStringTransformLatinToHiragana: &'static NSStringTransform; } extern "C" { - static NSStringTransformLatinToHangul: &'static NSStringTransform; + pub static NSStringTransformLatinToHangul: &'static NSStringTransform; } extern "C" { - static NSStringTransformLatinToArabic: &'static NSStringTransform; + pub static NSStringTransformLatinToArabic: &'static NSStringTransform; } extern "C" { - static NSStringTransformLatinToHebrew: &'static NSStringTransform; + pub static NSStringTransformLatinToHebrew: &'static NSStringTransform; } extern "C" { - static NSStringTransformLatinToThai: &'static NSStringTransform; + pub static NSStringTransformLatinToThai: &'static NSStringTransform; } extern "C" { - static NSStringTransformLatinToCyrillic: &'static NSStringTransform; + pub static NSStringTransformLatinToCyrillic: &'static NSStringTransform; } extern "C" { - static NSStringTransformLatinToGreek: &'static NSStringTransform; + pub static NSStringTransformLatinToGreek: &'static NSStringTransform; } extern "C" { - static NSStringTransformToLatin: &'static NSStringTransform; + pub static NSStringTransformToLatin: &'static NSStringTransform; } extern "C" { - static NSStringTransformMandarinToLatin: &'static NSStringTransform; + pub static NSStringTransformMandarinToLatin: &'static NSStringTransform; } extern "C" { - static NSStringTransformHiraganaToKatakana: &'static NSStringTransform; + pub static NSStringTransformHiraganaToKatakana: &'static NSStringTransform; } extern "C" { - static NSStringTransformFullwidthToHalfwidth: &'static NSStringTransform; + pub static NSStringTransformFullwidthToHalfwidth: &'static NSStringTransform; } extern "C" { - static NSStringTransformToXMLHex: &'static NSStringTransform; + pub static NSStringTransformToXMLHex: &'static NSStringTransform; } extern "C" { - static NSStringTransformToUnicodeName: &'static NSStringTransform; + pub static NSStringTransformToUnicodeName: &'static NSStringTransform; } extern "C" { - static NSStringTransformStripCombiningMarks: &'static NSStringTransform; + pub static NSStringTransformStripCombiningMarks: &'static NSStringTransform; } extern "C" { - static NSStringTransformStripDiacritics: &'static NSStringTransform; + pub static NSStringTransformStripDiacritics: &'static NSStringTransform; } extern_methods!( @@ -705,35 +705,37 @@ extern_methods!( pub type NSStringEncodingDetectionOptionsKey = NSString; extern "C" { - static NSStringEncodingDetectionSuggestedEncodingsKey: + pub static NSStringEncodingDetectionSuggestedEncodingsKey: &'static NSStringEncodingDetectionOptionsKey; } extern "C" { - static NSStringEncodingDetectionDisallowedEncodingsKey: + pub static NSStringEncodingDetectionDisallowedEncodingsKey: &'static NSStringEncodingDetectionOptionsKey; } extern "C" { - static NSStringEncodingDetectionUseOnlySuggestedEncodingsKey: + pub static NSStringEncodingDetectionUseOnlySuggestedEncodingsKey: &'static NSStringEncodingDetectionOptionsKey; } extern "C" { - static NSStringEncodingDetectionAllowLossyKey: &'static NSStringEncodingDetectionOptionsKey; + pub static NSStringEncodingDetectionAllowLossyKey: &'static NSStringEncodingDetectionOptionsKey; } extern "C" { - static NSStringEncodingDetectionFromWindowsKey: &'static NSStringEncodingDetectionOptionsKey; + pub static NSStringEncodingDetectionFromWindowsKey: + &'static NSStringEncodingDetectionOptionsKey; } extern "C" { - static NSStringEncodingDetectionLossySubstitutionKey: + pub static NSStringEncodingDetectionLossySubstitutionKey: &'static NSStringEncodingDetectionOptionsKey; } extern "C" { - static NSStringEncodingDetectionLikelyLanguageKey: &'static NSStringEncodingDetectionOptionsKey; + pub static NSStringEncodingDetectionLikelyLanguageKey: + &'static NSStringEncodingDetectionOptionsKey; } extern_methods!( @@ -816,11 +818,11 @@ extern_methods!( ); extern "C" { - static NSCharacterConversionException: &'static NSExceptionName; + pub static NSCharacterConversionException: &'static NSExceptionName; } extern "C" { - static NSParseErrorException: &'static NSExceptionName; + pub static NSParseErrorException: &'static NSExceptionName; } extern_methods!( diff --git a/icrate/src/Foundation/generated/NSTask.rs b/icrate/src/Foundation/generated/NSTask.rs index f32494ac6..07391bcb4 100644 --- a/icrate/src/Foundation/generated/NSTask.rs +++ b/icrate/src/Foundation/generated/NSTask.rs @@ -147,5 +147,5 @@ extern_methods!( ); extern "C" { - static NSTaskDidTerminateNotification: &'static NSNotificationName; + pub static NSTaskDidTerminateNotification: &'static NSNotificationName; } diff --git a/icrate/src/Foundation/generated/NSTextCheckingResult.rs b/icrate/src/Foundation/generated/NSTextCheckingResult.rs index af70b339e..79baf5347 100644 --- a/icrate/src/Foundation/generated/NSTextCheckingResult.rs +++ b/icrate/src/Foundation/generated/NSTextCheckingResult.rs @@ -108,47 +108,47 @@ extern_methods!( ); extern "C" { - static NSTextCheckingNameKey: &'static NSTextCheckingKey; + pub static NSTextCheckingNameKey: &'static NSTextCheckingKey; } extern "C" { - static NSTextCheckingJobTitleKey: &'static NSTextCheckingKey; + pub static NSTextCheckingJobTitleKey: &'static NSTextCheckingKey; } extern "C" { - static NSTextCheckingOrganizationKey: &'static NSTextCheckingKey; + pub static NSTextCheckingOrganizationKey: &'static NSTextCheckingKey; } extern "C" { - static NSTextCheckingStreetKey: &'static NSTextCheckingKey; + pub static NSTextCheckingStreetKey: &'static NSTextCheckingKey; } extern "C" { - static NSTextCheckingCityKey: &'static NSTextCheckingKey; + pub static NSTextCheckingCityKey: &'static NSTextCheckingKey; } extern "C" { - static NSTextCheckingStateKey: &'static NSTextCheckingKey; + pub static NSTextCheckingStateKey: &'static NSTextCheckingKey; } extern "C" { - static NSTextCheckingZIPKey: &'static NSTextCheckingKey; + pub static NSTextCheckingZIPKey: &'static NSTextCheckingKey; } extern "C" { - static NSTextCheckingCountryKey: &'static NSTextCheckingKey; + pub static NSTextCheckingCountryKey: &'static NSTextCheckingKey; } extern "C" { - static NSTextCheckingPhoneKey: &'static NSTextCheckingKey; + pub static NSTextCheckingPhoneKey: &'static NSTextCheckingKey; } extern "C" { - static NSTextCheckingAirlineKey: &'static NSTextCheckingKey; + pub static NSTextCheckingAirlineKey: &'static NSTextCheckingKey; } extern "C" { - static NSTextCheckingFlightKey: &'static NSTextCheckingKey; + pub static NSTextCheckingFlightKey: &'static NSTextCheckingKey; } extern_methods!( diff --git a/icrate/src/Foundation/generated/NSThread.rs b/icrate/src/Foundation/generated/NSThread.rs index 707146bf8..bff1bea3e 100644 --- a/icrate/src/Foundation/generated/NSThread.rs +++ b/icrate/src/Foundation/generated/NSThread.rs @@ -110,15 +110,15 @@ extern_methods!( ); extern "C" { - static NSWillBecomeMultiThreadedNotification: &'static NSNotificationName; + pub static NSWillBecomeMultiThreadedNotification: &'static NSNotificationName; } extern "C" { - static NSDidBecomeSingleThreadedNotification: &'static NSNotificationName; + pub static NSDidBecomeSingleThreadedNotification: &'static NSNotificationName; } extern "C" { - static NSThreadWillExitNotification: &'static NSNotificationName; + pub static NSThreadWillExitNotification: &'static NSNotificationName; } extern_methods!( diff --git a/icrate/src/Foundation/generated/NSTimeZone.rs b/icrate/src/Foundation/generated/NSTimeZone.rs index 165175db2..b1b2d93ee 100644 --- a/icrate/src/Foundation/generated/NSTimeZone.rs +++ b/icrate/src/Foundation/generated/NSTimeZone.rs @@ -142,5 +142,5 @@ extern_methods!( ); extern "C" { - static NSSystemTimeZoneDidChangeNotification: &'static NSNotificationName; + pub static NSSystemTimeZoneDidChangeNotification: &'static NSNotificationName; } diff --git a/icrate/src/Foundation/generated/NSURL.rs b/icrate/src/Foundation/generated/NSURL.rs index f8313caf8..4fd23405b 100644 --- a/icrate/src/Foundation/generated/NSURL.rs +++ b/icrate/src/Foundation/generated/NSURL.rs @@ -6,584 +6,585 @@ use crate::Foundation::*; pub type NSURLResourceKey = NSString; extern "C" { - static NSURLFileScheme: &'static NSString; + pub static NSURLFileScheme: &'static NSString; } extern "C" { - static NSURLKeysOfUnsetValuesKey: &'static NSURLResourceKey; + pub static NSURLKeysOfUnsetValuesKey: &'static NSURLResourceKey; } extern "C" { - static NSURLNameKey: &'static NSURLResourceKey; + pub static NSURLNameKey: &'static NSURLResourceKey; } extern "C" { - static NSURLLocalizedNameKey: &'static NSURLResourceKey; + pub static NSURLLocalizedNameKey: &'static NSURLResourceKey; } extern "C" { - static NSURLIsRegularFileKey: &'static NSURLResourceKey; + pub static NSURLIsRegularFileKey: &'static NSURLResourceKey; } extern "C" { - static NSURLIsDirectoryKey: &'static NSURLResourceKey; + pub static NSURLIsDirectoryKey: &'static NSURLResourceKey; } extern "C" { - static NSURLIsSymbolicLinkKey: &'static NSURLResourceKey; + pub static NSURLIsSymbolicLinkKey: &'static NSURLResourceKey; } extern "C" { - static NSURLIsVolumeKey: &'static NSURLResourceKey; + pub static NSURLIsVolumeKey: &'static NSURLResourceKey; } extern "C" { - static NSURLIsPackageKey: &'static NSURLResourceKey; + pub static NSURLIsPackageKey: &'static NSURLResourceKey; } extern "C" { - static NSURLIsApplicationKey: &'static NSURLResourceKey; + pub static NSURLIsApplicationKey: &'static NSURLResourceKey; } extern "C" { - static NSURLApplicationIsScriptableKey: &'static NSURLResourceKey; + pub static NSURLApplicationIsScriptableKey: &'static NSURLResourceKey; } extern "C" { - static NSURLIsSystemImmutableKey: &'static NSURLResourceKey; + pub static NSURLIsSystemImmutableKey: &'static NSURLResourceKey; } extern "C" { - static NSURLIsUserImmutableKey: &'static NSURLResourceKey; + pub static NSURLIsUserImmutableKey: &'static NSURLResourceKey; } extern "C" { - static NSURLIsHiddenKey: &'static NSURLResourceKey; + pub static NSURLIsHiddenKey: &'static NSURLResourceKey; } extern "C" { - static NSURLHasHiddenExtensionKey: &'static NSURLResourceKey; + pub static NSURLHasHiddenExtensionKey: &'static NSURLResourceKey; } extern "C" { - static NSURLCreationDateKey: &'static NSURLResourceKey; + pub static NSURLCreationDateKey: &'static NSURLResourceKey; } extern "C" { - static NSURLContentAccessDateKey: &'static NSURLResourceKey; + pub static NSURLContentAccessDateKey: &'static NSURLResourceKey; } extern "C" { - static NSURLContentModificationDateKey: &'static NSURLResourceKey; + pub static NSURLContentModificationDateKey: &'static NSURLResourceKey; } extern "C" { - static NSURLAttributeModificationDateKey: &'static NSURLResourceKey; + pub static NSURLAttributeModificationDateKey: &'static NSURLResourceKey; } extern "C" { - static NSURLLinkCountKey: &'static NSURLResourceKey; + pub static NSURLLinkCountKey: &'static NSURLResourceKey; } extern "C" { - static NSURLParentDirectoryURLKey: &'static NSURLResourceKey; + pub static NSURLParentDirectoryURLKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeURLKey: &'static NSURLResourceKey; + pub static NSURLVolumeURLKey: &'static NSURLResourceKey; } extern "C" { - static NSURLTypeIdentifierKey: &'static NSURLResourceKey; + pub static NSURLTypeIdentifierKey: &'static NSURLResourceKey; } extern "C" { - static NSURLContentTypeKey: &'static NSURLResourceKey; + pub static NSURLContentTypeKey: &'static NSURLResourceKey; } extern "C" { - static NSURLLocalizedTypeDescriptionKey: &'static NSURLResourceKey; + pub static NSURLLocalizedTypeDescriptionKey: &'static NSURLResourceKey; } extern "C" { - static NSURLLabelNumberKey: &'static NSURLResourceKey; + pub static NSURLLabelNumberKey: &'static NSURLResourceKey; } extern "C" { - static NSURLLabelColorKey: &'static NSURLResourceKey; + pub static NSURLLabelColorKey: &'static NSURLResourceKey; } extern "C" { - static NSURLLocalizedLabelKey: &'static NSURLResourceKey; + pub static NSURLLocalizedLabelKey: &'static NSURLResourceKey; } extern "C" { - static NSURLEffectiveIconKey: &'static NSURLResourceKey; + pub static NSURLEffectiveIconKey: &'static NSURLResourceKey; } extern "C" { - static NSURLCustomIconKey: &'static NSURLResourceKey; + pub static NSURLCustomIconKey: &'static NSURLResourceKey; } extern "C" { - static NSURLFileResourceIdentifierKey: &'static NSURLResourceKey; + pub static NSURLFileResourceIdentifierKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeIdentifierKey: &'static NSURLResourceKey; + pub static NSURLVolumeIdentifierKey: &'static NSURLResourceKey; } extern "C" { - static NSURLPreferredIOBlockSizeKey: &'static NSURLResourceKey; + pub static NSURLPreferredIOBlockSizeKey: &'static NSURLResourceKey; } extern "C" { - static NSURLIsReadableKey: &'static NSURLResourceKey; + pub static NSURLIsReadableKey: &'static NSURLResourceKey; } extern "C" { - static NSURLIsWritableKey: &'static NSURLResourceKey; + pub static NSURLIsWritableKey: &'static NSURLResourceKey; } extern "C" { - static NSURLIsExecutableKey: &'static NSURLResourceKey; + pub static NSURLIsExecutableKey: &'static NSURLResourceKey; } extern "C" { - static NSURLFileSecurityKey: &'static NSURLResourceKey; + pub static NSURLFileSecurityKey: &'static NSURLResourceKey; } extern "C" { - static NSURLIsExcludedFromBackupKey: &'static NSURLResourceKey; + pub static NSURLIsExcludedFromBackupKey: &'static NSURLResourceKey; } extern "C" { - static NSURLTagNamesKey: &'static NSURLResourceKey; + pub static NSURLTagNamesKey: &'static NSURLResourceKey; } extern "C" { - static NSURLPathKey: &'static NSURLResourceKey; + pub static NSURLPathKey: &'static NSURLResourceKey; } extern "C" { - static NSURLCanonicalPathKey: &'static NSURLResourceKey; + pub static NSURLCanonicalPathKey: &'static NSURLResourceKey; } extern "C" { - static NSURLIsMountTriggerKey: &'static NSURLResourceKey; + pub static NSURLIsMountTriggerKey: &'static NSURLResourceKey; } extern "C" { - static NSURLGenerationIdentifierKey: &'static NSURLResourceKey; + pub static NSURLGenerationIdentifierKey: &'static NSURLResourceKey; } extern "C" { - static NSURLDocumentIdentifierKey: &'static NSURLResourceKey; + pub static NSURLDocumentIdentifierKey: &'static NSURLResourceKey; } extern "C" { - static NSURLAddedToDirectoryDateKey: &'static NSURLResourceKey; + pub static NSURLAddedToDirectoryDateKey: &'static NSURLResourceKey; } extern "C" { - static NSURLQuarantinePropertiesKey: &'static NSURLResourceKey; + pub static NSURLQuarantinePropertiesKey: &'static NSURLResourceKey; } extern "C" { - static NSURLFileResourceTypeKey: &'static NSURLResourceKey; + pub static NSURLFileResourceTypeKey: &'static NSURLResourceKey; } extern "C" { - static NSURLFileContentIdentifierKey: &'static NSURLResourceKey; + pub static NSURLFileContentIdentifierKey: &'static NSURLResourceKey; } extern "C" { - static NSURLMayShareFileContentKey: &'static NSURLResourceKey; + pub static NSURLMayShareFileContentKey: &'static NSURLResourceKey; } extern "C" { - static NSURLMayHaveExtendedAttributesKey: &'static NSURLResourceKey; + pub static NSURLMayHaveExtendedAttributesKey: &'static NSURLResourceKey; } extern "C" { - static NSURLIsPurgeableKey: &'static NSURLResourceKey; + pub static NSURLIsPurgeableKey: &'static NSURLResourceKey; } extern "C" { - static NSURLIsSparseKey: &'static NSURLResourceKey; + pub static NSURLIsSparseKey: &'static NSURLResourceKey; } pub type NSURLFileResourceType = NSString; extern "C" { - static NSURLFileResourceTypeNamedPipe: &'static NSURLFileResourceType; + pub static NSURLFileResourceTypeNamedPipe: &'static NSURLFileResourceType; } extern "C" { - static NSURLFileResourceTypeCharacterSpecial: &'static NSURLFileResourceType; + pub static NSURLFileResourceTypeCharacterSpecial: &'static NSURLFileResourceType; } extern "C" { - static NSURLFileResourceTypeDirectory: &'static NSURLFileResourceType; + pub static NSURLFileResourceTypeDirectory: &'static NSURLFileResourceType; } extern "C" { - static NSURLFileResourceTypeBlockSpecial: &'static NSURLFileResourceType; + pub static NSURLFileResourceTypeBlockSpecial: &'static NSURLFileResourceType; } extern "C" { - static NSURLFileResourceTypeRegular: &'static NSURLFileResourceType; + pub static NSURLFileResourceTypeRegular: &'static NSURLFileResourceType; } extern "C" { - static NSURLFileResourceTypeSymbolicLink: &'static NSURLFileResourceType; + pub static NSURLFileResourceTypeSymbolicLink: &'static NSURLFileResourceType; } extern "C" { - static NSURLFileResourceTypeSocket: &'static NSURLFileResourceType; + pub static NSURLFileResourceTypeSocket: &'static NSURLFileResourceType; } extern "C" { - static NSURLFileResourceTypeUnknown: &'static NSURLFileResourceType; + pub static NSURLFileResourceTypeUnknown: &'static NSURLFileResourceType; } extern "C" { - static NSURLThumbnailDictionaryKey: &'static NSURLResourceKey; + pub static NSURLThumbnailDictionaryKey: &'static NSURLResourceKey; } extern "C" { - static NSURLThumbnailKey: &'static NSURLResourceKey; + pub static NSURLThumbnailKey: &'static NSURLResourceKey; } pub type NSURLThumbnailDictionaryItem = NSString; extern "C" { - static NSThumbnail1024x1024SizeKey: &'static NSURLThumbnailDictionaryItem; + pub static NSThumbnail1024x1024SizeKey: &'static NSURLThumbnailDictionaryItem; } extern "C" { - static NSURLFileSizeKey: &'static NSURLResourceKey; + pub static NSURLFileSizeKey: &'static NSURLResourceKey; } extern "C" { - static NSURLFileAllocatedSizeKey: &'static NSURLResourceKey; + pub static NSURLFileAllocatedSizeKey: &'static NSURLResourceKey; } extern "C" { - static NSURLTotalFileSizeKey: &'static NSURLResourceKey; + pub static NSURLTotalFileSizeKey: &'static NSURLResourceKey; } extern "C" { - static NSURLTotalFileAllocatedSizeKey: &'static NSURLResourceKey; + pub static NSURLTotalFileAllocatedSizeKey: &'static NSURLResourceKey; } extern "C" { - static NSURLIsAliasFileKey: &'static NSURLResourceKey; + pub static NSURLIsAliasFileKey: &'static NSURLResourceKey; } extern "C" { - static NSURLFileProtectionKey: &'static NSURLResourceKey; + pub static NSURLFileProtectionKey: &'static NSURLResourceKey; } pub type NSURLFileProtectionType = NSString; extern "C" { - static NSURLFileProtectionNone: &'static NSURLFileProtectionType; + pub static NSURLFileProtectionNone: &'static NSURLFileProtectionType; } extern "C" { - static NSURLFileProtectionComplete: &'static NSURLFileProtectionType; + pub static NSURLFileProtectionComplete: &'static NSURLFileProtectionType; } extern "C" { - static NSURLFileProtectionCompleteUnlessOpen: &'static NSURLFileProtectionType; + pub static NSURLFileProtectionCompleteUnlessOpen: &'static NSURLFileProtectionType; } extern "C" { - static NSURLFileProtectionCompleteUntilFirstUserAuthentication: + pub static NSURLFileProtectionCompleteUntilFirstUserAuthentication: &'static NSURLFileProtectionType; } extern "C" { - static NSURLVolumeLocalizedFormatDescriptionKey: &'static NSURLResourceKey; + pub static NSURLVolumeLocalizedFormatDescriptionKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeTotalCapacityKey: &'static NSURLResourceKey; + pub static NSURLVolumeTotalCapacityKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeAvailableCapacityKey: &'static NSURLResourceKey; + pub static NSURLVolumeAvailableCapacityKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeResourceCountKey: &'static NSURLResourceKey; + pub static NSURLVolumeResourceCountKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeSupportsPersistentIDsKey: &'static NSURLResourceKey; + pub static NSURLVolumeSupportsPersistentIDsKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeSupportsSymbolicLinksKey: &'static NSURLResourceKey; + pub static NSURLVolumeSupportsSymbolicLinksKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeSupportsHardLinksKey: &'static NSURLResourceKey; + pub static NSURLVolumeSupportsHardLinksKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeSupportsJournalingKey: &'static NSURLResourceKey; + pub static NSURLVolumeSupportsJournalingKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeIsJournalingKey: &'static NSURLResourceKey; + pub static NSURLVolumeIsJournalingKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeSupportsSparseFilesKey: &'static NSURLResourceKey; + pub static NSURLVolumeSupportsSparseFilesKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeSupportsZeroRunsKey: &'static NSURLResourceKey; + pub static NSURLVolumeSupportsZeroRunsKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeSupportsCaseSensitiveNamesKey: &'static NSURLResourceKey; + pub static NSURLVolumeSupportsCaseSensitiveNamesKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeSupportsCasePreservedNamesKey: &'static NSURLResourceKey; + pub static NSURLVolumeSupportsCasePreservedNamesKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeSupportsRootDirectoryDatesKey: &'static NSURLResourceKey; + pub static NSURLVolumeSupportsRootDirectoryDatesKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeSupportsVolumeSizesKey: &'static NSURLResourceKey; + pub static NSURLVolumeSupportsVolumeSizesKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeSupportsRenamingKey: &'static NSURLResourceKey; + pub static NSURLVolumeSupportsRenamingKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeSupportsAdvisoryFileLockingKey: &'static NSURLResourceKey; + pub static NSURLVolumeSupportsAdvisoryFileLockingKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeSupportsExtendedSecurityKey: &'static NSURLResourceKey; + pub static NSURLVolumeSupportsExtendedSecurityKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeIsBrowsableKey: &'static NSURLResourceKey; + pub static NSURLVolumeIsBrowsableKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeMaximumFileSizeKey: &'static NSURLResourceKey; + pub static NSURLVolumeMaximumFileSizeKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeIsEjectableKey: &'static NSURLResourceKey; + pub static NSURLVolumeIsEjectableKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeIsRemovableKey: &'static NSURLResourceKey; + pub static NSURLVolumeIsRemovableKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeIsInternalKey: &'static NSURLResourceKey; + pub static NSURLVolumeIsInternalKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeIsAutomountedKey: &'static NSURLResourceKey; + pub static NSURLVolumeIsAutomountedKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeIsLocalKey: &'static NSURLResourceKey; + pub static NSURLVolumeIsLocalKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeIsReadOnlyKey: &'static NSURLResourceKey; + pub static NSURLVolumeIsReadOnlyKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeCreationDateKey: &'static NSURLResourceKey; + pub static NSURLVolumeCreationDateKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeURLForRemountingKey: &'static NSURLResourceKey; + pub static NSURLVolumeURLForRemountingKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeUUIDStringKey: &'static NSURLResourceKey; + pub static NSURLVolumeUUIDStringKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeNameKey: &'static NSURLResourceKey; + pub static NSURLVolumeNameKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeLocalizedNameKey: &'static NSURLResourceKey; + pub static NSURLVolumeLocalizedNameKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeIsEncryptedKey: &'static NSURLResourceKey; + pub static NSURLVolumeIsEncryptedKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeIsRootFileSystemKey: &'static NSURLResourceKey; + pub static NSURLVolumeIsRootFileSystemKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeSupportsCompressionKey: &'static NSURLResourceKey; + pub static NSURLVolumeSupportsCompressionKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeSupportsFileCloningKey: &'static NSURLResourceKey; + pub static NSURLVolumeSupportsFileCloningKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeSupportsSwapRenamingKey: &'static NSURLResourceKey; + pub static NSURLVolumeSupportsSwapRenamingKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeSupportsExclusiveRenamingKey: &'static NSURLResourceKey; + pub static NSURLVolumeSupportsExclusiveRenamingKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeSupportsImmutableFilesKey: &'static NSURLResourceKey; + pub static NSURLVolumeSupportsImmutableFilesKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeSupportsAccessPermissionsKey: &'static NSURLResourceKey; + pub static NSURLVolumeSupportsAccessPermissionsKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeSupportsFileProtectionKey: &'static NSURLResourceKey; + pub static NSURLVolumeSupportsFileProtectionKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeAvailableCapacityForImportantUsageKey: &'static NSURLResourceKey; + pub static NSURLVolumeAvailableCapacityForImportantUsageKey: &'static NSURLResourceKey; } extern "C" { - static NSURLVolumeAvailableCapacityForOpportunisticUsageKey: &'static NSURLResourceKey; + pub static NSURLVolumeAvailableCapacityForOpportunisticUsageKey: &'static NSURLResourceKey; } extern "C" { - static NSURLIsUbiquitousItemKey: &'static NSURLResourceKey; + pub static NSURLIsUbiquitousItemKey: &'static NSURLResourceKey; } extern "C" { - static NSURLUbiquitousItemHasUnresolvedConflictsKey: &'static NSURLResourceKey; + pub static NSURLUbiquitousItemHasUnresolvedConflictsKey: &'static NSURLResourceKey; } extern "C" { - static NSURLUbiquitousItemIsDownloadedKey: &'static NSURLResourceKey; + pub static NSURLUbiquitousItemIsDownloadedKey: &'static NSURLResourceKey; } extern "C" { - static NSURLUbiquitousItemIsDownloadingKey: &'static NSURLResourceKey; + pub static NSURLUbiquitousItemIsDownloadingKey: &'static NSURLResourceKey; } extern "C" { - static NSURLUbiquitousItemIsUploadedKey: &'static NSURLResourceKey; + pub static NSURLUbiquitousItemIsUploadedKey: &'static NSURLResourceKey; } extern "C" { - static NSURLUbiquitousItemIsUploadingKey: &'static NSURLResourceKey; + pub static NSURLUbiquitousItemIsUploadingKey: &'static NSURLResourceKey; } extern "C" { - static NSURLUbiquitousItemPercentDownloadedKey: &'static NSURLResourceKey; + pub static NSURLUbiquitousItemPercentDownloadedKey: &'static NSURLResourceKey; } extern "C" { - static NSURLUbiquitousItemPercentUploadedKey: &'static NSURLResourceKey; + pub static NSURLUbiquitousItemPercentUploadedKey: &'static NSURLResourceKey; } extern "C" { - static NSURLUbiquitousItemDownloadingStatusKey: &'static NSURLResourceKey; + pub static NSURLUbiquitousItemDownloadingStatusKey: &'static NSURLResourceKey; } extern "C" { - static NSURLUbiquitousItemDownloadingErrorKey: &'static NSURLResourceKey; + pub static NSURLUbiquitousItemDownloadingErrorKey: &'static NSURLResourceKey; } extern "C" { - static NSURLUbiquitousItemUploadingErrorKey: &'static NSURLResourceKey; + pub static NSURLUbiquitousItemUploadingErrorKey: &'static NSURLResourceKey; } extern "C" { - static NSURLUbiquitousItemDownloadRequestedKey: &'static NSURLResourceKey; + pub static NSURLUbiquitousItemDownloadRequestedKey: &'static NSURLResourceKey; } extern "C" { - static NSURLUbiquitousItemContainerDisplayNameKey: &'static NSURLResourceKey; + pub static NSURLUbiquitousItemContainerDisplayNameKey: &'static NSURLResourceKey; } extern "C" { - static NSURLUbiquitousItemIsExcludedFromSyncKey: &'static NSURLResourceKey; + pub static NSURLUbiquitousItemIsExcludedFromSyncKey: &'static NSURLResourceKey; } extern "C" { - static NSURLUbiquitousItemIsSharedKey: &'static NSURLResourceKey; + pub static NSURLUbiquitousItemIsSharedKey: &'static NSURLResourceKey; } extern "C" { - static NSURLUbiquitousSharedItemCurrentUserRoleKey: &'static NSURLResourceKey; + pub static NSURLUbiquitousSharedItemCurrentUserRoleKey: &'static NSURLResourceKey; } extern "C" { - static NSURLUbiquitousSharedItemCurrentUserPermissionsKey: &'static NSURLResourceKey; + pub static NSURLUbiquitousSharedItemCurrentUserPermissionsKey: &'static NSURLResourceKey; } extern "C" { - static NSURLUbiquitousSharedItemOwnerNameComponentsKey: &'static NSURLResourceKey; + pub static NSURLUbiquitousSharedItemOwnerNameComponentsKey: &'static NSURLResourceKey; } extern "C" { - static NSURLUbiquitousSharedItemMostRecentEditorNameComponentsKey: &'static NSURLResourceKey; + pub static NSURLUbiquitousSharedItemMostRecentEditorNameComponentsKey: + &'static NSURLResourceKey; } pub type NSURLUbiquitousItemDownloadingStatus = NSString; extern "C" { - static NSURLUbiquitousItemDownloadingStatusNotDownloaded: + pub static NSURLUbiquitousItemDownloadingStatusNotDownloaded: &'static NSURLUbiquitousItemDownloadingStatus; } extern "C" { - static NSURLUbiquitousItemDownloadingStatusDownloaded: + pub static NSURLUbiquitousItemDownloadingStatusDownloaded: &'static NSURLUbiquitousItemDownloadingStatus; } extern "C" { - static NSURLUbiquitousItemDownloadingStatusCurrent: + pub static NSURLUbiquitousItemDownloadingStatusCurrent: &'static NSURLUbiquitousItemDownloadingStatus; } pub type NSURLUbiquitousSharedItemRole = NSString; extern "C" { - static NSURLUbiquitousSharedItemRoleOwner: &'static NSURLUbiquitousSharedItemRole; + pub static NSURLUbiquitousSharedItemRoleOwner: &'static NSURLUbiquitousSharedItemRole; } extern "C" { - static NSURLUbiquitousSharedItemRoleParticipant: &'static NSURLUbiquitousSharedItemRole; + pub static NSURLUbiquitousSharedItemRoleParticipant: &'static NSURLUbiquitousSharedItemRole; } pub type NSURLUbiquitousSharedItemPermissions = NSString; extern "C" { - static NSURLUbiquitousSharedItemPermissionsReadOnly: + pub static NSURLUbiquitousSharedItemPermissionsReadOnly: &'static NSURLUbiquitousSharedItemPermissions; } extern "C" { - static NSURLUbiquitousSharedItemPermissionsReadWrite: + pub static NSURLUbiquitousSharedItemPermissionsReadWrite: &'static NSURLUbiquitousSharedItemPermissions; } diff --git a/icrate/src/Foundation/generated/NSURLCredentialStorage.rs b/icrate/src/Foundation/generated/NSURLCredentialStorage.rs index b16a5a1bc..c43f6cf7b 100644 --- a/icrate/src/Foundation/generated/NSURLCredentialStorage.rs +++ b/icrate/src/Foundation/generated/NSURLCredentialStorage.rs @@ -112,9 +112,9 @@ extern_methods!( ); extern "C" { - static NSURLCredentialStorageChangedNotification: &'static NSNotificationName; + pub static NSURLCredentialStorageChangedNotification: &'static NSNotificationName; } extern "C" { - static NSURLCredentialStorageRemoveSynchronizableCredentials: &'static NSString; + pub static NSURLCredentialStorageRemoveSynchronizableCredentials: &'static NSString; } diff --git a/icrate/src/Foundation/generated/NSURLError.rs b/icrate/src/Foundation/generated/NSURLError.rs index eed9761ee..f3c4dd4b1 100644 --- a/icrate/src/Foundation/generated/NSURLError.rs +++ b/icrate/src/Foundation/generated/NSURLError.rs @@ -4,27 +4,27 @@ use crate::common::*; use crate::Foundation::*; extern "C" { - static NSURLErrorDomain: &'static NSErrorDomain; + pub static NSURLErrorDomain: &'static NSErrorDomain; } extern "C" { - static NSURLErrorFailingURLErrorKey: &'static NSString; + pub static NSURLErrorFailingURLErrorKey: &'static NSString; } extern "C" { - static NSURLErrorFailingURLStringErrorKey: &'static NSString; + pub static NSURLErrorFailingURLStringErrorKey: &'static NSString; } extern "C" { - static NSErrorFailingURLStringKey: &'static NSString; + pub static NSErrorFailingURLStringKey: &'static NSString; } extern "C" { - static NSURLErrorFailingURLPeerTrustErrorKey: &'static NSString; + pub static NSURLErrorFailingURLPeerTrustErrorKey: &'static NSString; } extern "C" { - static NSURLErrorBackgroundTaskCancelledReasonKey: &'static NSString; + pub static NSURLErrorBackgroundTaskCancelledReasonKey: &'static NSString; } pub const NSURLErrorCancelledReasonUserForceQuitApplication: i32 = 0; @@ -32,7 +32,7 @@ pub const NSURLErrorCancelledReasonBackgroundUpdatesDisabled: i32 = 1; pub const NSURLErrorCancelledReasonInsufficientSystemResources: i32 = 2; extern "C" { - static NSURLErrorNetworkUnavailableReasonKey: &'static NSErrorUserInfoKey; + pub static NSURLErrorNetworkUnavailableReasonKey: &'static NSErrorUserInfoKey; } pub type NSURLErrorNetworkUnavailableReason = NSInteger; diff --git a/icrate/src/Foundation/generated/NSURLHandle.rs b/icrate/src/Foundation/generated/NSURLHandle.rs index 59b3d3d01..6dc157a2a 100644 --- a/icrate/src/Foundation/generated/NSURLHandle.rs +++ b/icrate/src/Foundation/generated/NSURLHandle.rs @@ -4,47 +4,47 @@ use crate::common::*; use crate::Foundation::*; extern "C" { - static NSHTTPPropertyStatusCodeKey: Option<&'static NSString>; + pub static NSHTTPPropertyStatusCodeKey: Option<&'static NSString>; } extern "C" { - static NSHTTPPropertyStatusReasonKey: Option<&'static NSString>; + pub static NSHTTPPropertyStatusReasonKey: Option<&'static NSString>; } extern "C" { - static NSHTTPPropertyServerHTTPVersionKey: Option<&'static NSString>; + pub static NSHTTPPropertyServerHTTPVersionKey: Option<&'static NSString>; } extern "C" { - static NSHTTPPropertyRedirectionHeadersKey: Option<&'static NSString>; + pub static NSHTTPPropertyRedirectionHeadersKey: Option<&'static NSString>; } extern "C" { - static NSHTTPPropertyErrorPageDataKey: Option<&'static NSString>; + pub static NSHTTPPropertyErrorPageDataKey: Option<&'static NSString>; } extern "C" { - static NSHTTPPropertyHTTPProxy: Option<&'static NSString>; + pub static NSHTTPPropertyHTTPProxy: Option<&'static NSString>; } extern "C" { - static NSFTPPropertyUserLoginKey: Option<&'static NSString>; + pub static NSFTPPropertyUserLoginKey: Option<&'static NSString>; } extern "C" { - static NSFTPPropertyUserPasswordKey: Option<&'static NSString>; + pub static NSFTPPropertyUserPasswordKey: Option<&'static NSString>; } extern "C" { - static NSFTPPropertyActiveTransferModeKey: Option<&'static NSString>; + pub static NSFTPPropertyActiveTransferModeKey: Option<&'static NSString>; } extern "C" { - static NSFTPPropertyFileOffsetKey: Option<&'static NSString>; + pub static NSFTPPropertyFileOffsetKey: Option<&'static NSString>; } extern "C" { - static NSFTPPropertyFTPProxy: Option<&'static NSString>; + pub static NSFTPPropertyFTPProxy: Option<&'static NSString>; } pub type NSURLHandleStatus = NSUInteger; diff --git a/icrate/src/Foundation/generated/NSURLProtectionSpace.rs b/icrate/src/Foundation/generated/NSURLProtectionSpace.rs index 52134b661..c52c03b80 100644 --- a/icrate/src/Foundation/generated/NSURLProtectionSpace.rs +++ b/icrate/src/Foundation/generated/NSURLProtectionSpace.rs @@ -4,63 +4,63 @@ use crate::common::*; use crate::Foundation::*; extern "C" { - static NSURLProtectionSpaceHTTP: &'static NSString; + pub static NSURLProtectionSpaceHTTP: &'static NSString; } extern "C" { - static NSURLProtectionSpaceHTTPS: &'static NSString; + pub static NSURLProtectionSpaceHTTPS: &'static NSString; } extern "C" { - static NSURLProtectionSpaceFTP: &'static NSString; + pub static NSURLProtectionSpaceFTP: &'static NSString; } extern "C" { - static NSURLProtectionSpaceHTTPProxy: &'static NSString; + pub static NSURLProtectionSpaceHTTPProxy: &'static NSString; } extern "C" { - static NSURLProtectionSpaceHTTPSProxy: &'static NSString; + pub static NSURLProtectionSpaceHTTPSProxy: &'static NSString; } extern "C" { - static NSURLProtectionSpaceFTPProxy: &'static NSString; + pub static NSURLProtectionSpaceFTPProxy: &'static NSString; } extern "C" { - static NSURLProtectionSpaceSOCKSProxy: &'static NSString; + pub static NSURLProtectionSpaceSOCKSProxy: &'static NSString; } extern "C" { - static NSURLAuthenticationMethodDefault: &'static NSString; + pub static NSURLAuthenticationMethodDefault: &'static NSString; } extern "C" { - static NSURLAuthenticationMethodHTTPBasic: &'static NSString; + pub static NSURLAuthenticationMethodHTTPBasic: &'static NSString; } extern "C" { - static NSURLAuthenticationMethodHTTPDigest: &'static NSString; + pub static NSURLAuthenticationMethodHTTPDigest: &'static NSString; } extern "C" { - static NSURLAuthenticationMethodHTMLForm: &'static NSString; + pub static NSURLAuthenticationMethodHTMLForm: &'static NSString; } extern "C" { - static NSURLAuthenticationMethodNTLM: &'static NSString; + pub static NSURLAuthenticationMethodNTLM: &'static NSString; } extern "C" { - static NSURLAuthenticationMethodNegotiate: &'static NSString; + pub static NSURLAuthenticationMethodNegotiate: &'static NSString; } extern "C" { - static NSURLAuthenticationMethodClientCertificate: &'static NSString; + pub static NSURLAuthenticationMethodClientCertificate: &'static NSString; } extern "C" { - static NSURLAuthenticationMethodServerTrust: &'static NSString; + pub static NSURLAuthenticationMethodServerTrust: &'static NSString; } extern_class!( diff --git a/icrate/src/Foundation/generated/NSURLSession.rs b/icrate/src/Foundation/generated/NSURLSession.rs index 78368cbc4..84e4b497e 100644 --- a/icrate/src/Foundation/generated/NSURLSession.rs +++ b/icrate/src/Foundation/generated/NSURLSession.rs @@ -4,7 +4,7 @@ use crate::common::*; use crate::Foundation::*; extern "C" { - static NSURLSessionTransferSizeUnknown: i64; + pub static NSURLSessionTransferSizeUnknown: i64; } extern_class!( @@ -325,15 +325,15 @@ extern_methods!( ); extern "C" { - static NSURLSessionTaskPriorityDefault: c_float; + pub static NSURLSessionTaskPriorityDefault: c_float; } extern "C" { - static NSURLSessionTaskPriorityLow: c_float; + pub static NSURLSessionTaskPriorityLow: c_float; } extern "C" { - static NSURLSessionTaskPriorityHigh: c_float; + pub static NSURLSessionTaskPriorityHigh: c_float; } extern_class!( @@ -830,7 +830,7 @@ pub type NSURLSessionStreamDelegate = NSObject; pub type NSURLSessionWebSocketDelegate = NSObject; extern "C" { - static NSURLSessionDownloadTaskResumeData: &'static NSString; + pub static NSURLSessionDownloadTaskResumeData: &'static NSString; } extern_methods!( diff --git a/icrate/src/Foundation/generated/NSUbiquitousKeyValueStore.rs b/icrate/src/Foundation/generated/NSUbiquitousKeyValueStore.rs index 255a38175..75c57d105 100644 --- a/icrate/src/Foundation/generated/NSUbiquitousKeyValueStore.rs +++ b/icrate/src/Foundation/generated/NSUbiquitousKeyValueStore.rs @@ -85,15 +85,16 @@ extern_methods!( ); extern "C" { - static NSUbiquitousKeyValueStoreDidChangeExternallyNotification: &'static NSNotificationName; + pub static NSUbiquitousKeyValueStoreDidChangeExternallyNotification: + &'static NSNotificationName; } extern "C" { - static NSUbiquitousKeyValueStoreChangeReasonKey: &'static NSString; + pub static NSUbiquitousKeyValueStoreChangeReasonKey: &'static NSString; } extern "C" { - static NSUbiquitousKeyValueStoreChangedKeysKey: &'static NSString; + pub static NSUbiquitousKeyValueStoreChangedKeysKey: &'static NSString; } pub const NSUbiquitousKeyValueStoreServerChange: i32 = 0; diff --git a/icrate/src/Foundation/generated/NSUndoManager.rs b/icrate/src/Foundation/generated/NSUndoManager.rs index 2c74a446e..68a59aba4 100644 --- a/icrate/src/Foundation/generated/NSUndoManager.rs +++ b/icrate/src/Foundation/generated/NSUndoManager.rs @@ -3,10 +3,10 @@ use crate::common::*; use crate::Foundation::*; -static NSUndoCloseGroupingRunLoopOrdering: NSUInteger = 350000; +pub static NSUndoCloseGroupingRunLoopOrdering: NSUInteger = 350000; extern "C" { - static NSUndoManagerGroupIsDiscardableKey: &'static NSString; + pub static NSUndoManagerGroupIsDiscardableKey: &'static NSString; } extern_class!( @@ -140,33 +140,33 @@ extern_methods!( ); extern "C" { - static NSUndoManagerCheckpointNotification: &'static NSNotificationName; + pub static NSUndoManagerCheckpointNotification: &'static NSNotificationName; } extern "C" { - static NSUndoManagerWillUndoChangeNotification: &'static NSNotificationName; + pub static NSUndoManagerWillUndoChangeNotification: &'static NSNotificationName; } extern "C" { - static NSUndoManagerWillRedoChangeNotification: &'static NSNotificationName; + pub static NSUndoManagerWillRedoChangeNotification: &'static NSNotificationName; } extern "C" { - static NSUndoManagerDidUndoChangeNotification: &'static NSNotificationName; + pub static NSUndoManagerDidUndoChangeNotification: &'static NSNotificationName; } extern "C" { - static NSUndoManagerDidRedoChangeNotification: &'static NSNotificationName; + pub static NSUndoManagerDidRedoChangeNotification: &'static NSNotificationName; } extern "C" { - static NSUndoManagerDidOpenUndoGroupNotification: &'static NSNotificationName; + pub static NSUndoManagerDidOpenUndoGroupNotification: &'static NSNotificationName; } extern "C" { - static NSUndoManagerWillCloseUndoGroupNotification: &'static NSNotificationName; + pub static NSUndoManagerWillCloseUndoGroupNotification: &'static NSNotificationName; } extern "C" { - static NSUndoManagerDidCloseUndoGroupNotification: &'static NSNotificationName; + pub static NSUndoManagerDidCloseUndoGroupNotification: &'static NSNotificationName; } diff --git a/icrate/src/Foundation/generated/NSUserActivity.rs b/icrate/src/Foundation/generated/NSUserActivity.rs index 3fd5b3561..1e286821f 100644 --- a/icrate/src/Foundation/generated/NSUserActivity.rs +++ b/icrate/src/Foundation/generated/NSUserActivity.rs @@ -159,7 +159,7 @@ extern_methods!( ); extern "C" { - static NSUserActivityTypeBrowsingWeb: &'static NSString; + pub static NSUserActivityTypeBrowsingWeb: &'static NSString; } pub type NSUserActivityDelegate = NSObject; diff --git a/icrate/src/Foundation/generated/NSUserDefaults.rs b/icrate/src/Foundation/generated/NSUserDefaults.rs index f5eb7bef9..c212882db 100644 --- a/icrate/src/Foundation/generated/NSUserDefaults.rs +++ b/icrate/src/Foundation/generated/NSUserDefaults.rs @@ -4,15 +4,15 @@ use crate::common::*; use crate::Foundation::*; extern "C" { - static NSGlobalDomain: &'static NSString; + pub static NSGlobalDomain: &'static NSString; } extern "C" { - static NSArgumentDomain: &'static NSString; + pub static NSArgumentDomain: &'static NSString; } extern "C" { - static NSRegistrationDomain: &'static NSString; + pub static NSRegistrationDomain: &'static NSString; } extern_class!( @@ -174,125 +174,126 @@ extern_methods!( ); extern "C" { - static NSUserDefaultsSizeLimitExceededNotification: &'static NSNotificationName; + pub static NSUserDefaultsSizeLimitExceededNotification: &'static NSNotificationName; } extern "C" { - static NSUbiquitousUserDefaultsNoCloudAccountNotification: &'static NSNotificationName; + pub static NSUbiquitousUserDefaultsNoCloudAccountNotification: &'static NSNotificationName; } extern "C" { - static NSUbiquitousUserDefaultsDidChangeAccountsNotification: &'static NSNotificationName; + pub static NSUbiquitousUserDefaultsDidChangeAccountsNotification: &'static NSNotificationName; } extern "C" { - static NSUbiquitousUserDefaultsCompletedInitialSyncNotification: &'static NSNotificationName; + pub static NSUbiquitousUserDefaultsCompletedInitialSyncNotification: + &'static NSNotificationName; } extern "C" { - static NSUserDefaultsDidChangeNotification: &'static NSNotificationName; + pub static NSUserDefaultsDidChangeNotification: &'static NSNotificationName; } extern "C" { - static NSWeekDayNameArray: &'static NSString; + pub static NSWeekDayNameArray: &'static NSString; } extern "C" { - static NSShortWeekDayNameArray: &'static NSString; + pub static NSShortWeekDayNameArray: &'static NSString; } extern "C" { - static NSMonthNameArray: &'static NSString; + pub static NSMonthNameArray: &'static NSString; } extern "C" { - static NSShortMonthNameArray: &'static NSString; + pub static NSShortMonthNameArray: &'static NSString; } extern "C" { - static NSTimeFormatString: &'static NSString; + pub static NSTimeFormatString: &'static NSString; } extern "C" { - static NSDateFormatString: &'static NSString; + pub static NSDateFormatString: &'static NSString; } extern "C" { - static NSTimeDateFormatString: &'static NSString; + pub static NSTimeDateFormatString: &'static NSString; } extern "C" { - static NSShortTimeDateFormatString: &'static NSString; + pub static NSShortTimeDateFormatString: &'static NSString; } extern "C" { - static NSCurrencySymbol: &'static NSString; + pub static NSCurrencySymbol: &'static NSString; } extern "C" { - static NSDecimalSeparator: &'static NSString; + pub static NSDecimalSeparator: &'static NSString; } extern "C" { - static NSThousandsSeparator: &'static NSString; + pub static NSThousandsSeparator: &'static NSString; } extern "C" { - static NSDecimalDigits: &'static NSString; + pub static NSDecimalDigits: &'static NSString; } extern "C" { - static NSAMPMDesignation: &'static NSString; + pub static NSAMPMDesignation: &'static NSString; } extern "C" { - static NSHourNameDesignations: &'static NSString; + pub static NSHourNameDesignations: &'static NSString; } extern "C" { - static NSYearMonthWeekDesignations: &'static NSString; + pub static NSYearMonthWeekDesignations: &'static NSString; } extern "C" { - static NSEarlierTimeDesignations: &'static NSString; + pub static NSEarlierTimeDesignations: &'static NSString; } extern "C" { - static NSLaterTimeDesignations: &'static NSString; + pub static NSLaterTimeDesignations: &'static NSString; } extern "C" { - static NSThisDayDesignations: &'static NSString; + pub static NSThisDayDesignations: &'static NSString; } extern "C" { - static NSNextDayDesignations: &'static NSString; + pub static NSNextDayDesignations: &'static NSString; } extern "C" { - static NSNextNextDayDesignations: &'static NSString; + pub static NSNextNextDayDesignations: &'static NSString; } extern "C" { - static NSPriorDayDesignations: &'static NSString; + pub static NSPriorDayDesignations: &'static NSString; } extern "C" { - static NSDateTimeOrdering: &'static NSString; + pub static NSDateTimeOrdering: &'static NSString; } extern "C" { - static NSInternationalCurrencyString: &'static NSString; + pub static NSInternationalCurrencyString: &'static NSString; } extern "C" { - static NSShortDateFormatString: &'static NSString; + pub static NSShortDateFormatString: &'static NSString; } extern "C" { - static NSPositiveCurrencyFormatString: &'static NSString; + pub static NSPositiveCurrencyFormatString: &'static NSString; } extern "C" { - static NSNegativeCurrencyFormatString: &'static NSString; + pub static NSNegativeCurrencyFormatString: &'static NSString; } diff --git a/icrate/src/Foundation/generated/NSUserNotification.rs b/icrate/src/Foundation/generated/NSUserNotification.rs index eccb5e5e4..2a4d7c0b2 100644 --- a/icrate/src/Foundation/generated/NSUserNotification.rs +++ b/icrate/src/Foundation/generated/NSUserNotification.rs @@ -177,7 +177,7 @@ extern_methods!( ); extern "C" { - static NSUserNotificationDefaultSoundName: &'static NSString; + pub static NSUserNotificationDefaultSoundName: &'static NSString; } extern_class!( diff --git a/icrate/src/Foundation/generated/NSValueTransformer.rs b/icrate/src/Foundation/generated/NSValueTransformer.rs index 42e16a31c..421a9a87c 100644 --- a/icrate/src/Foundation/generated/NSValueTransformer.rs +++ b/icrate/src/Foundation/generated/NSValueTransformer.rs @@ -6,27 +6,27 @@ use crate::Foundation::*; pub type NSValueTransformerName = NSString; extern "C" { - static NSNegateBooleanTransformerName: &'static NSValueTransformerName; + pub static NSNegateBooleanTransformerName: &'static NSValueTransformerName; } extern "C" { - static NSIsNilTransformerName: &'static NSValueTransformerName; + pub static NSIsNilTransformerName: &'static NSValueTransformerName; } extern "C" { - static NSIsNotNilTransformerName: &'static NSValueTransformerName; + pub static NSIsNotNilTransformerName: &'static NSValueTransformerName; } extern "C" { - static NSUnarchiveFromDataTransformerName: &'static NSValueTransformerName; + pub static NSUnarchiveFromDataTransformerName: &'static NSValueTransformerName; } extern "C" { - static NSKeyedUnarchiveFromDataTransformerName: &'static NSValueTransformerName; + pub static NSKeyedUnarchiveFromDataTransformerName: &'static NSValueTransformerName; } extern "C" { - static NSSecureUnarchiveFromDataTransformerName: &'static NSValueTransformerName; + pub static NSSecureUnarchiveFromDataTransformerName: &'static NSValueTransformerName; } extern_class!( diff --git a/icrate/src/Foundation/generated/NSXMLParser.rs b/icrate/src/Foundation/generated/NSXMLParser.rs index 899db060d..7d3bd64e6 100644 --- a/icrate/src/Foundation/generated/NSXMLParser.rs +++ b/icrate/src/Foundation/generated/NSXMLParser.rs @@ -105,7 +105,7 @@ extern_methods!( pub type NSXMLParserDelegate = NSObject; extern "C" { - static NSXMLParserErrorDomain: &'static NSErrorDomain; + pub static NSXMLParserErrorDomain: &'static NSErrorDomain; } pub type NSXMLParserError = NSInteger;