Версия 0.5.0 #6

Merged
kor-elf merged 6 commits from develop into main 2024-03-08 00:59:42 +05:00
2 changed files with 12 additions and 12 deletions
Showing only changes of commit 1f9f646f51 - Show all commits

View File

@ -10,6 +10,18 @@ import (
"strings"
)
type File struct {
Path string
Name string
Ext string
}
type ConvertSetting struct {
VideoFileInput File
VideoFileOut File
OverwriteOutputFiles bool
}
type ConvertorContract interface {
RunConvert(setting ConvertSetting, progress ProgressContract) error
GetTotalDuration(file *File) (float64, error)

View File

@ -10,18 +10,6 @@ type Queue struct {
Error error
}
type File struct {
Path string
Name string
Ext string
}
type ConvertSetting struct {
VideoFileInput File
VideoFileOut File
OverwriteOutputFiles bool
}
type StatusContract interface {
name() string
ordinal() int