//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ffi::*;
use objc2::__framework_prelude::*;

use crate::*;

/// UIActivityItemsConfiguration.
#[cfg(feature = "UIResponder")]
impl UIResponder {
    extern_methods!(
        #[cfg(feature = "UIActivityItemsConfigurationReading")]
        #[unsafe(method(activityItemsConfiguration))]
        #[unsafe(method_family = none)]
        pub fn activityItemsConfiguration(
            &self,
        ) -> Option<Retained<ProtocolObject<dyn UIActivityItemsConfigurationReading>>>;

        #[cfg(feature = "UIActivityItemsConfigurationReading")]
        /// Setter for [`activityItemsConfiguration`][Self::activityItemsConfiguration].
        #[unsafe(method(setActivityItemsConfiguration:))]
        #[unsafe(method_family = none)]
        pub fn setActivityItemsConfiguration(
            &self,
            activity_items_configuration: Option<
                &ProtocolObject<dyn UIActivityItemsConfigurationReading>,
            >,
        );
    );
}

#[cfg(all(
    feature = "UIActivityItemsConfigurationReading",
    feature = "UIResponder"
))]
extern_conformance!(
    unsafe impl UIActivityItemsConfigurationProviding for UIResponder {}
);
