use crate::common::*;
use crate::AppKit::*;
use crate::Contacts::*;
use crate::CoreLocation::*;
use crate::Foundation::*;
use crate::MapKit::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "MapKit_MKPitchControl")]
pub struct MKPitchControl;
#[cfg(feature = "MapKit_MKPitchControl")]
unsafe impl ClassType for MKPitchControl {
#[inherits(NSResponder, NSObject)]
type Super = NSView;
type Mutability = MainThreadOnly;
}
);
#[cfg(feature = "MapKit_MKPitchControl")]
unsafe impl NSAccessibility for MKPitchControl {}
#[cfg(feature = "MapKit_MKPitchControl")]
unsafe impl NSAccessibilityElementProtocol for MKPitchControl {}
#[cfg(feature = "MapKit_MKPitchControl")]
unsafe impl NSAnimatablePropertyContainer for MKPitchControl {}
#[cfg(feature = "MapKit_MKPitchControl")]
unsafe impl NSAppearanceCustomization for MKPitchControl {}
#[cfg(feature = "MapKit_MKPitchControl")]
unsafe impl NSCoding for MKPitchControl {}
#[cfg(feature = "MapKit_MKPitchControl")]
unsafe impl NSDraggingDestination for MKPitchControl {}
#[cfg(feature = "MapKit_MKPitchControl")]
unsafe impl NSObjectProtocol for MKPitchControl {}
#[cfg(feature = "MapKit_MKPitchControl")]
unsafe impl NSUserInterfaceItemIdentification for MKPitchControl {}
extern_methods!(
#[cfg(feature = "MapKit_MKPitchControl")]
unsafe impl MKPitchControl {
#[cfg(feature = "MapKit_MKMapView")]
#[method_id(@__retain_semantics Other pitchControlWithMapView:)]
pub unsafe fn pitchControlWithMapView(map_view: Option<&MKMapView>) -> Id<Self>;
#[cfg(feature = "MapKit_MKMapView")]
#[method_id(@__retain_semantics Other mapView)]
pub unsafe fn mapView(&self) -> Option<Id<MKMapView>>;
#[cfg(feature = "MapKit_MKMapView")]
#[method(setMapView:)]
pub unsafe fn setMapView(&self, map_view: Option<&MKMapView>);
}
);
extern_methods!(
#[cfg(feature = "MapKit_MKPitchControl")]
unsafe impl MKPitchControl {
#[method_id(@__retain_semantics Init initWithFrame:)]
pub unsafe fn initWithFrame(this: Allocated<Self>, frame_rect: NSRect) -> Id<Self>;
#[cfg(feature = "Foundation_NSCoder")]
#[method_id(@__retain_semantics Init initWithCoder:)]
pub unsafe fn initWithCoder(this: Allocated<Self>, coder: &NSCoder) -> Option<Id<Self>>;
}
);
extern_methods!(
#[cfg(feature = "MapKit_MKPitchControl")]
unsafe impl MKPitchControl {
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Id<Self>;
}
);
extern_methods!(
#[cfg(feature = "MapKit_MKPitchControl")]
unsafe impl MKPitchControl {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new(mtm: MainThreadMarker) -> Id<Self>;
}
);