-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathHelperConstants.swift
39 lines (32 loc) · 1.07 KB
/
HelperConstants.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//
// HelperConstants.swift
// ImageWriter
//
// Copyright © 2020 xxmicloxx. All rights reserved.
//
import Foundation
class HelperConstants {
@available(*, unavailable) private init() {}
static let Identifier = "com.xxmicloxx.ImageWriterHelper"
static let WritePermission = "com.xxmicloxx.ImageWriterHelper.write"
static let CancelPermission = "com.xxmicloxx.ImageWriterHelper.cancel"
static let SubscribePermission = "com.xxmicloxx.ImageWriterHelper.subscribe"
static let StopPermission = "com.xxmicloxx.ImageWriterHelper.stop"
static let EjectPermission = "com.xxmicloxx.ImageWriterHelper.eject"
static let AllPermissions = [
HelperConstants.WritePermission,
HelperConstants.CancelPermission,
HelperConstants.SubscribePermission,
HelperConstants.StopPermission,
HelperConstants.EjectPermission
]
static let Version = "1.1.28"
}
@objc enum HelperError: Int {
case unknownError
case claimError
case cancelledError
case readError
case writeError
case outOfSpaceError
}