-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #385 from NeoCoderMatrix86/373-enhance-text-import…
…-to-use-fixed-timestamps2 Enhance text import to use fixed timestamps
- Loading branch information
Showing
59 changed files
with
2,256 additions
and
1,643 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
AudioCuesheetEditor/Data/Options/ILocalStorageOptionsProvider.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
//This file is part of AudioCuesheetEditor. | ||
|
||
//AudioCuesheetEditor is free software: you can redistribute it and/or modify | ||
//it under the terms of the GNU General Public License as published by | ||
//the Free Software Foundation, either version 3 of the License, or | ||
//(at your option) any later version. | ||
|
||
//AudioCuesheetEditor is distributed in the hope that it will be useful, | ||
//but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
//GNU General Public License for more details. | ||
|
||
//You should have received a copy of the GNU General Public License | ||
//along with Foobar. If not, see | ||
//<http: //www.gnu.org/licenses />. | ||
using AudioCuesheetEditor.Model.Options; | ||
using System.Linq.Expressions; | ||
|
||
namespace AudioCuesheetEditor.Data.Options | ||
{ | ||
public interface ILocalStorageOptionsProvider | ||
{ | ||
event EventHandler<IOptions>? OptionSaved; | ||
Task<T> GetOptions<T>() where T : IOptions; | ||
Task SaveOptions(IOptions options); | ||
Task SaveOptionsValue<T>(Expression<Func<T, object>> propertyExpression, object value) where T : class, IOptions, new(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
//This file is part of AudioCuesheetEditor. | ||
|
||
//AudioCuesheetEditor is free software: you can redistribute it and/or modify | ||
//it under the terms of the GNU General Public License as published by | ||
//the Free Software Foundation, either version 3 of the License, or | ||
//(at your option) any later version. | ||
|
||
//AudioCuesheetEditor is distributed in the hope that it will be useful, | ||
//but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
//GNU General Public License for more details. | ||
|
||
//You should have received a copy of the GNU General Public License | ||
//along with Foobar. If not, see | ||
//<http: //www.gnu.org/licenses />. | ||
namespace AudioCuesheetEditor.Model.AudioCuesheet | ||
{ | ||
public interface ITrack | ||
{ | ||
string? Artist { get; set; } | ||
string? Title { get; set; } | ||
uint? Position { get; set; } | ||
TimeSpan? Begin { get; set; } | ||
TimeSpan? End { get; set; } | ||
TimeSpan? Length { get; set; } | ||
IReadOnlyCollection<Flag> Flags { get; } | ||
TimeSpan? PreGap { get; set; } | ||
TimeSpan? PostGap { get; set; } | ||
void SetFlags(IEnumerable<Flag> flags); | ||
} | ||
} |
Oops, something went wrong.