use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern "C" {
#[deprecated = "Use Twitter SDK instead"]
pub static ACAccountTypeIdentifierTwitter: Option<&'static NSString>;
}
extern "C" {
#[deprecated = "Use Facebook SDK instead"]
pub static ACAccountTypeIdentifierFacebook: Option<&'static NSString>;
}
extern "C" {
#[deprecated = "Use Sina Weibo SDK instead"]
pub static ACAccountTypeIdentifierSinaWeibo: Option<&'static NSString>;
}
extern "C" {
#[deprecated = "Use Tencent Weibo SDK instead"]
pub static ACAccountTypeIdentifierTencentWeibo: Option<&'static NSString>;
}
extern "C" {
#[deprecated = "Use LinkedIn SDK instead"]
pub static ACAccountTypeIdentifierLinkedIn: Option<&'static NSString>;
}
extern "C" {
#[deprecated = "Use Facebook SDK instead"]
pub static ACFacebookAppIdKey: Option<&'static NSString>;
}
extern "C" {
#[deprecated = "Use Facebook SDK instead"]
pub static ACFacebookPermissionsKey: Option<&'static NSString>;
}
extern "C" {
#[deprecated = "Use Facebook SDK instead"]
pub static ACFacebookAudienceKey: Option<&'static NSString>;
}
extern "C" {
#[deprecated = "Use Facebook SDK instead"]
pub static ACFacebookAudienceEveryone: Option<&'static NSString>;
}
extern "C" {
#[deprecated = "Use Facebook SDK instead"]
pub static ACFacebookAudienceFriends: Option<&'static NSString>;
}
extern "C" {
#[deprecated = "Use Facebook SDK instead"]
pub static ACFacebookAudienceOnlyMe: Option<&'static NSString>;
}
extern "C" {
#[deprecated = "Use LinkedIn SDK instead"]
pub static ACLinkedInAppIdKey: Option<&'static NSString>;
}
extern "C" {
#[deprecated = "Use LinkedIn SDK instead"]
pub static ACLinkedInPermissionsKey: Option<&'static NSString>;
}
extern "C" {
#[deprecated = "Use Tencent Weibo SDK instead"]
pub static ACTencentWeiboAppIdKey: Option<&'static NSString>;
}
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[deprecated = "Use appropriate non-Apple SDK corresponding to the type of account you want to reference instead"]
pub struct ACAccountType;
);
extern_conformance!(
unsafe impl NSObjectProtocol for ACAccountType {}
);
impl ACAccountType {
extern_methods!(
#[deprecated = "Use appropriate non-Apple SDK corresponding to the type of account you want to reference instead"]
#[unsafe(method(accountTypeDescription))]
#[unsafe(method_family = none)]
pub unsafe fn accountTypeDescription(&self) -> Option<Retained<NSString>>;
#[deprecated = "Use appropriate non-Apple SDK corresponding to the type of account you want to reference instead"]
#[unsafe(method(identifier))]
#[unsafe(method_family = none)]
pub unsafe fn identifier(&self) -> Option<Retained<NSString>>;
#[deprecated = "Use appropriate non-Apple SDK corresponding to the type of account you want to reference instead"]
#[unsafe(method(accessGranted))]
#[unsafe(method_family = none)]
pub unsafe fn accessGranted(&self) -> bool;
);
}
impl ACAccountType {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}