]> git.r.bdr.sh - rbdr/captura/blame - Captura/Data/SettingsStructs.swift
Use framerate, control stop
[rbdr/captura] / Captura / Data / SettingsStructs.swift
CommitLineData
a4e80427
RBR
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}