sync: add a new section to allow locking file waiting flag validation
This commit is contained in:
parent
da2a88a3a6
commit
f9e1cf6691
2 changed files with 11 additions and 0 deletions
|
|
@ -26,6 +26,12 @@ type ExerciceFlag struct {
|
|||
Raw string
|
||||
IgnoreCase bool `toml:",omitempty"`
|
||||
Help string `toml:",omitempty"`
|
||||
LockedFile []ExerciceFlag `toml:unlock_file",omitempty"`
|
||||
}
|
||||
|
||||
// ExerciceUnlockFile holds parameters related to a locked file.
|
||||
type ExerciceFlag struct {
|
||||
Filename string `toml:",omitempty"`
|
||||
}
|
||||
|
||||
// ExerciceFlagMCQChoice holds a choice for an MCQ flag.
|
||||
|
|
@ -54,6 +60,7 @@ type ExerciceFlagUCQ struct {
|
|||
DisplayAs string `toml:",omitempty"`
|
||||
Choices_Cost int64 `toml:",omitempty"`
|
||||
Choice []ExerciceFlagUCQChoice
|
||||
LockedFile []ExerciceFlag `toml:unlock_file",omitempty"`
|
||||
}
|
||||
|
||||
// ExerciceParams contains values parsed from defines.txt.
|
||||
|
|
|
|||
Reference in a new issue