[gnome-games] utils: Add CueSheetTrackNode
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] utils: Add CueSheetTrackNode
- Date: Thu, 28 Jul 2016 09:48:58 +0000 (UTC)
commit 6c9fb2b9d9129494e774aa264c4e38148231d421
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu Jul 28 10:53:56 2016 +0200
utils: Add CueSheetTrackNode
This will be used in a later commit to improve cue sheets handling.
src/Makefile.am | 1 +
src/utils/cue-sheet/cue-sheet-track-node.vala | 11 +++++++++++
2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 2ff36ea..bb780b0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -107,6 +107,7 @@ gnome_games_SOURCES = \
utils/cue-sheet/cue-sheet-file-format.vala \
utils/cue-sheet/cue-sheet-file-node.vala \
utils/cue-sheet/cue-sheet-track-mode.vala \
+ utils/cue-sheet/cue-sheet-track-node.vala \
utils/filename-title.vala \
utils/fingerprint.vala \
utils/generic-game.vala \
diff --git a/src/utils/cue-sheet/cue-sheet-track-node.vala b/src/utils/cue-sheet/cue-sheet-track-node.vala
new file mode 100644
index 0000000..ed319c7
--- /dev/null
+++ b/src/utils/cue-sheet/cue-sheet-track-node.vala
@@ -0,0 +1,11 @@
+// This file is part of GNOME Games. License: GPLv3
+
+public class Games.CueSheetTrackNode : Object {
+ public CueSheetFileNode file { construct; get; }
+ public int track_number { construct; get; }
+ public CueSheetTrackMode track_mode { construct; get; }
+
+ public CueSheetTrackNode (CueSheetFileNode file, int track_number, CueSheetTrackMode track_mode) {
+ Object (file: file, track_number: track_number, track_mode: track_mode);
+ }
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]