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