]> git.r.bdr.sh - rbdr/captura/blob - Captura/Core Extensions/Notification+AppEvents.swift
46a57bbd5d1e26418fd3518e28bf33e21ec87a0d
[rbdr/captura] / Captura / Core Extensions / Notification+AppEvents.swift
1 /*
2 Copyright (C) 2024 Rubén Beltrán del Río
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see https://captura.tranquil.systems.
16 */
17 import Foundation
18
19 extension Notification.Name {
20 static let startAreaSelection = Notification.Name("startSelectingArea")
21 static let startRecording = Notification.Name("startRecording")
22 static let stopRecording = Notification.Name("stopRecording")
23 static let finalizeRecording = Notification.Name("finalizeRecording")
24 static let reset = Notification.Name("reset")
25 static let failedToStart = Notification.Name("failedToStart")
26 static let receivedFrame = Notification.Name("receivedFrame")
27 static let failedtoUpload = Notification.Name("failedToUpload")
28 static let reloadConfiguration = Notification.Name("reloadConfiguration")
29 static let setCaptureSessionConfiguration = Notification.Name("setCaptureSessionConfiguration")
30 static let setConfiguration = Notification.Name("setConfiguration")
31 }