# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0

import enum
import typing
import uuid as _uuid

import winrt.system
from winrt._winrt_windows_storage import (
    AppDataPaths,
    ApplicationData,
    ApplicationDataCompositeValue,
    ApplicationDataContainer,
    ApplicationDataContainerSettings,
    CachedFileManager,
    DownloadsFolder,
    FileIO,
    KnownFolders,
    PathIO,
    SetVersionDeferral,
    SetVersionRequest,
    StorageFile,
    StorageFolder,
    StorageLibrary,
    StorageLibraryChange,
    StorageLibraryChangeReader,
    StorageLibraryChangeTracker,
    StorageLibraryChangeTrackerOptions,
    StorageLibraryLastChangeId,
    StorageProvider,
    StorageStreamTransaction,
    StreamedFileDataRequest,
    SystemAudioProperties,
    SystemDataPaths,
    SystemGPSProperties,
    SystemImageProperties,
    SystemMediaProperties,
    SystemMusicProperties,
    SystemPhotoProperties,
    SystemProperties,
    SystemVideoProperties,
    UserDataPaths,
    _IStorageFile,
    IStorageFile,
    _IStorageFile2,
    IStorageFile2,
    _IStorageFilePropertiesWithAvailability,
    IStorageFilePropertiesWithAvailability,
    _IStorageFolder,
    IStorageFolder,
    _IStorageFolder2,
    IStorageFolder2,
    _IStorageItem,
    IStorageItem,
    _IStorageItem2,
    IStorageItem2,
    _IStorageItemProperties,
    IStorageItemProperties,
    _IStorageItemProperties2,
    IStorageItemProperties2,
    _IStorageItemPropertiesWithProvider,
    IStorageItemPropertiesWithProvider,
    _IStreamedFileDataRequest,
    IStreamedFileDataRequest,
)

__all__ = [
    "ApplicationDataCreateDisposition",
    "ApplicationDataLocality",
    "CreationCollisionOption",
    "FileAccessMode",
    "FileAttributes",
    "KnownFolderId",
    "KnownFoldersAccessStatus",
    "KnownLibraryId",
    "NameCollisionOption",
    "StorageDeleteOption",
    "StorageItemTypes",
    "StorageLibraryChangeType",
    "StorageOpenOptions",
    "StreamedFileFailureMode",
    "AppDataPaths",
    "ApplicationData",
    "ApplicationDataCompositeValue",
    "ApplicationDataContainer",
    "ApplicationDataContainerSettings",
    "CachedFileManager",
    "DownloadsFolder",
    "FileIO",
    "KnownFolders",
    "PathIO",
    "SetVersionDeferral",
    "SetVersionRequest",
    "StorageFile",
    "StorageFolder",
    "StorageLibrary",
    "StorageLibraryChange",
    "StorageLibraryChangeReader",
    "StorageLibraryChangeTracker",
    "StorageLibraryChangeTrackerOptions",
    "StorageLibraryLastChangeId",
    "StorageProvider",
    "StorageStreamTransaction",
    "StreamedFileDataRequest",
    "SystemAudioProperties",
    "SystemDataPaths",
    "SystemGPSProperties",
    "SystemImageProperties",
    "SystemMediaProperties",
    "SystemMusicProperties",
    "SystemPhotoProperties",
    "SystemProperties",
    "SystemVideoProperties",
    "UserDataPaths",
    "IStorageFile",
    "IStorageFile2",
    "IStorageFilePropertiesWithAvailability",
    "IStorageFolder",
    "IStorageFolder2",
    "IStorageItem",
    "IStorageItem2",
    "IStorageItemProperties",
    "IStorageItemProperties2",
    "IStorageItemPropertiesWithProvider",
    "IStreamedFileDataRequest",
    "ApplicationDataSetVersionHandler",
    "StreamedFileDataRequestedHandler",
]

class ApplicationDataCreateDisposition(enum.IntEnum):
    ALWAYS = 0
    EXISTING = 1

class ApplicationDataLocality(enum.IntEnum):
    LOCAL = 0
    ROAMING = 1
    TEMPORARY = 2
    LOCAL_CACHE = 3
    SHARED_LOCAL = 4

class CreationCollisionOption(enum.IntEnum):
    GENERATE_UNIQUE_NAME = 0
    REPLACE_EXISTING = 1
    FAIL_IF_EXISTS = 2
    OPEN_IF_EXISTS = 3

class FileAccessMode(enum.IntEnum):
    READ = 0
    READ_WRITE = 1

class FileAttributes(enum.IntFlag):
    NORMAL = 0x0
    READ_ONLY = 0x1
    DIRECTORY = 0x10
    ARCHIVE = 0x20
    TEMPORARY = 0x100
    LOCALLY_INCOMPLETE = 0x200

class KnownFolderId(enum.IntEnum):
    APP_CAPTURES = 0
    CAMERA_ROLL = 1
    DOCUMENTS_LIBRARY = 2
    HOME_GROUP = 3
    MEDIA_SERVER_DEVICES = 4
    MUSIC_LIBRARY = 5
    OBJECTS_3D = 6
    PICTURES_LIBRARY = 7
    PLAYLISTS = 8
    RECORDED_CALLS = 9
    REMOVABLE_DEVICES = 10
    SAVED_PICTURES = 11
    SCREENSHOTS = 12
    VIDEOS_LIBRARY = 13
    ALL_APP_MODS = 14
    CURRENT_APP_MODS = 15
    DOWNLOADS_FOLDER = 16

class KnownFoldersAccessStatus(enum.IntEnum):
    DENIED_BY_SYSTEM = 0
    NOT_DECLARED_BY_APP = 1
    DENIED_BY_USER = 2
    USER_PROMPT_REQUIRED = 3
    ALLOWED = 4
    ALLOWED_PER_APP_FOLDER = 5

class KnownLibraryId(enum.IntEnum):
    MUSIC = 0
    PICTURES = 1
    VIDEOS = 2
    DOCUMENTS = 3

class NameCollisionOption(enum.IntEnum):
    GENERATE_UNIQUE_NAME = 0
    REPLACE_EXISTING = 1
    FAIL_IF_EXISTS = 2

class StorageDeleteOption(enum.IntEnum):
    DEFAULT = 0
    PERMANENT_DELETE = 1

class StorageItemTypes(enum.IntFlag):
    NONE = 0x0
    FILE = 0x1
    FOLDER = 0x2

class StorageLibraryChangeType(enum.IntEnum):
    CREATED = 0
    DELETED = 1
    MOVED_OR_RENAMED = 2
    CONTENTS_CHANGED = 3
    MOVED_OUT_OF_LIBRARY = 4
    MOVED_INTO_LIBRARY = 5
    CONTENTS_REPLACED = 6
    INDEXING_STATUS_CHANGED = 7
    ENCRYPTION_CHANGED = 8
    CHANGE_TRACKING_LOST = 9

class StorageOpenOptions(enum.IntFlag):
    NONE = 0x0
    ALLOW_ONLY_READERS = 0x1
    ALLOW_READERS_AND_WRITERS = 0x2

class StreamedFileFailureMode(enum.IntEnum):
    FAILED = 0
    CURRENTLY_UNAVAILABLE = 1
    INCOMPLETE = 2

winrt.system._mixin_mutable_mapping(ApplicationDataCompositeValue)
winrt.system._mixin_mutable_mapping(ApplicationDataContainerSettings)
ApplicationDataSetVersionHandler = typing.Callable[[SetVersionRequest], None]
StreamedFileDataRequestedHandler = typing.Callable[[StreamedFileDataRequest], None]
