Vendor dependencies for 0.3.0 release

This commit is contained in:
2025-09-27 10:29:08 -05:00
parent 0c8d39d483
commit 82ab7f317b
26803 changed files with 16134934 additions and 0 deletions

View File

@@ -0,0 +1,80 @@
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use objc2::__framework_prelude::*;
use crate::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "NSProxy")]
#[deprecated = "Use NSXPCConnection instead"]
pub struct NSDistantObject;
#[cfg(feature = "NSProxy")]
unsafe impl ClassType for NSDistantObject {
type Super = NSProxy;
type Mutability = InteriorMutable;
}
);
#[cfg(all(feature = "NSObject", feature = "NSProxy"))]
unsafe impl NSCoding for NSDistantObject {}
#[cfg(feature = "NSProxy")]
unsafe impl NSObjectProtocol for NSDistantObject {}
extern_methods!(
#[cfg(feature = "NSProxy")]
unsafe impl NSDistantObject {
#[cfg(feature = "NSConnection")]
#[deprecated = "Use NSXPCConnection instead"]
#[method_id(@__retain_semantics Other proxyWithTarget:connection:)]
pub unsafe fn proxyWithTarget_connection(
target: &AnyObject,
connection: &NSConnection,
) -> Option<Retained<AnyObject>>;
#[cfg(feature = "NSConnection")]
#[deprecated = "Use NSXPCConnection instead"]
#[method_id(@__retain_semantics Init initWithTarget:connection:)]
pub unsafe fn initWithTarget_connection(
this: Allocated<Self>,
target: &AnyObject,
connection: &NSConnection,
) -> Option<Retained<Self>>;
#[cfg(feature = "NSConnection")]
#[deprecated = "Use NSXPCConnection instead"]
#[method_id(@__retain_semantics Other proxyWithLocal:connection:)]
pub unsafe fn proxyWithLocal_connection(
target: &AnyObject,
connection: &NSConnection,
) -> Retained<AnyObject>;
#[cfg(feature = "NSConnection")]
#[deprecated = "Use NSXPCConnection instead"]
#[method_id(@__retain_semantics Init initWithLocal:connection:)]
pub unsafe fn initWithLocal_connection(
this: Allocated<Self>,
target: &AnyObject,
connection: &NSConnection,
) -> Retained<Self>;
#[cfg(feature = "NSCoder")]
#[deprecated = "Use NSXPCConnection instead"]
#[method_id(@__retain_semantics Init initWithCoder:)]
pub unsafe fn initWithCoder(
this: Allocated<Self>,
in_coder: &NSCoder,
) -> Option<Retained<Self>>;
#[deprecated = "Use NSXPCConnection instead"]
#[method(setProtocolForProxy:)]
pub unsafe fn setProtocolForProxy(&self, proto: Option<&AnyProtocol>);
#[cfg(feature = "NSConnection")]
#[deprecated = "Use NSXPCConnection instead"]
#[method_id(@__retain_semantics Other connectionForProxy)]
pub unsafe fn connectionForProxy(&self) -> Retained<NSConnection>;
}
);