icrate 0.1.2

Bindings to Apple's frameworks
Documentation
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use crate::common::*;
use crate::AppKit::*;
use crate::CoreLocation::*;
use crate::Foundation::*;
use crate::PhotoKit::*;

extern_static!(PHPhotosErrorDomain: Option<&'static NSErrorDomain>);

extern_static!(PHLocalIdentifiersErrorKey: Option<&'static NSErrorUserInfoKey>);

ns_error_enum!(
    #[underlying(NSInteger)]
    pub enum PHPhotosError {
        PHPhotosErrorInternalError = -1,
        PHPhotosErrorUserCancelled = 3072,
        PHPhotosErrorLibraryVolumeOffline = 3114,
        PHPhotosErrorRelinquishingLibraryBundleToWriter = 3142,
        PHPhotosErrorSwitchingSystemPhotoLibrary = 3143,
        PHPhotosErrorNetworkAccessRequired = 3164,
        PHPhotosErrorNetworkError = 3169,
        PHPhotosErrorIdentifierNotFound = 3201,
        PHPhotosErrorMultipleIdentifiersFound = 3202,
        PHPhotosErrorChangeNotSupported = 3300,
        PHPhotosErrorOperationInterrupted = 3301,
        PHPhotosErrorInvalidResource = 3302,
        PHPhotosErrorMissingResource = 3303,
        PHPhotosErrorNotEnoughSpace = 3305,
        PHPhotosErrorRequestNotSupportedForAsset = 3306,
        PHPhotosErrorAccessRestricted = 3310,
        PHPhotosErrorAccessUserDenied = 3311,
        PHPhotosErrorLibraryInFileProviderSyncRoot = 5423,
        PHPhotosErrorPersistentChangeTokenExpired = 3105,
        PHPhotosErrorPersistentChangeDetailsUnavailable = 3210,
        #[deprecated]
        PHPhotosErrorInvalid = -1,
    }
);