//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use crate::common::*;
use crate::CoreAnimation::*;
use crate::Foundation::*;

extern_class!(
    #[derive(Debug, PartialEq, Eq, Hash)]
    #[cfg(feature = "CoreAnimation_CARemoteLayerServer")]
    pub struct CARemoteLayerServer;

    #[cfg(feature = "CoreAnimation_CARemoteLayerServer")]
    unsafe impl ClassType for CARemoteLayerServer {
        type Super = NSObject;
        type Mutability = InteriorMutable;
    }
);

#[cfg(feature = "CoreAnimation_CARemoteLayerServer")]
unsafe impl NSObjectProtocol for CARemoteLayerServer {}

extern_methods!(
    #[cfg(feature = "CoreAnimation_CARemoteLayerServer")]
    unsafe impl CARemoteLayerServer {
        #[method_id(@__retain_semantics Other sharedServer)]
        pub unsafe fn sharedServer() -> Id<CARemoteLayerServer>;
    }
);

extern_methods!(
    /// Methods declared on superclass `NSObject`
    #[cfg(feature = "CoreAnimation_CARemoteLayerServer")]
    unsafe impl CARemoteLayerServer {
        #[method_id(@__retain_semantics Init init)]
        pub unsafe fn init(this: Option<Allocated<Self>>) -> Id<Self>;

        #[method_id(@__retain_semantics New new)]
        pub unsafe fn new() -> Id<Self>;
    }
);

extern_methods!(
    /// CARemoteLayerServer
    #[cfg(feature = "CoreAnimation_CALayer")]
    unsafe impl CALayer {
        #[method_id(@__retain_semantics Other layerWithRemoteClientId:)]
        pub unsafe fn layerWithRemoteClientId(client_id: u32) -> Id<CALayer>;
    }
);
