objc2_app_kit/generated/
NSApplicationScripting.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9/// NSScripting.
10#[cfg(all(feature = "NSApplication", feature = "NSResponder"))]
11impl NSApplication {
12    extern_methods!(
13        #[cfg(feature = "NSDocument")]
14        #[unsafe(method(orderedDocuments))]
15        #[unsafe(method_family = none)]
16        pub unsafe fn orderedDocuments(&self) -> Retained<NSArray<NSDocument>>;
17
18        #[cfg(feature = "NSWindow")]
19        #[unsafe(method(orderedWindows))]
20        #[unsafe(method_family = none)]
21        pub unsafe fn orderedWindows(&self) -> Retained<NSArray<NSWindow>>;
22    );
23}