]> git.r.bdr.sh - rbdr/captura/blame_incremental - Captura/Data/SettingsStructs.swift
Add clipboard
[rbdr/captura] / Captura / Data / SettingsStructs.swift
... / ...
CommitLineData
1import Foundation
2
3enum OutputFormatSetting: Int {
4 case gifOnly = 0
5 case mp4Only = 1
6 case all = 2
7
8 func shouldSaveGif() -> Bool {
9 return self == .gifOnly || self == .all
10 }
11
12 func shouldSaveMp4() -> Bool {
13 return self == .mp4Only || self == .all
14 }
15}