Skip to content

Commit d58aaac

Browse files
committed
Event: correct indentation for enum (NFC)
Adjust indentation for Event enumerations to reflect the Swift style.
1 parent f8c7022 commit d58aaac

File tree

1 file changed

+19
-14
lines changed
  • Sources/SwiftWin32/Touches, Presses, and Gestures

1 file changed

+19
-14
lines changed

Sources/SwiftWin32/Touches, Presses, and Gestures/Event.swift

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,31 @@ import struct Foundation.TimeInterval
66
extension Event {
77
/// Specifies the general type of event.
88
public enum EventType: Int {
9-
/// The event is related to touches on the screen.
10-
case touches
11-
/// The event is related to motion of the device.
12-
case motion
13-
/// The event is a remote-control event.
14-
case remoteControl
15-
/// The event is related to the press of a physical button.
16-
case presses
9+
/// The event is related to touches on the screen.
10+
case touches
11+
12+
/// The event is related to motion of the device.
13+
case motion
14+
15+
/// The event is a remote-control event.
16+
case remoteControl
17+
18+
/// The event is related to the press of a physical button.
19+
case presses
1720
}
1821
}
1922

2023
extension Event {
2124
/// Specifies the subtype of the event in relation to its general type.
2225
public enum EventSubtype: Int {
23-
/// The event has no subtype.
24-
case none
25-
/// The event is related to the user shaking the device.
26-
case motionShake
27-
/// A remote-control event for playing audio or video.
28-
case remoteControlPlay
26+
/// The event has no subtype.
27+
case none
28+
29+
/// The event is related to the user shaking the device.
30+
case motionShake
31+
32+
/// A remote-control event for playing audio or video.
33+
case remoteControlPlay
2934
}
3035
}
3136

0 commit comments

Comments
 (0)