[gnome-games] core: Add Title



commit 8abbe4928559c8ec5dc281dd538705ddc4b35b9e
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Tue Mar 22 18:19:26 2016 +0100

    core: Add Title
    
    This will be used in a subsequent commit to create a generic game
    storing its title source.

 src/Makefile.am     |    1 +
 src/core/title.vala |    5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 86b9f2c..53dc333 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -42,6 +42,7 @@ gnome_games_SOURCES = \
        core/plugin-register.vala \
        core/plugin-registrar.vala \
        core/runner.vala \
+       core/title.vala \
        core/uid.vala \
        \
        dummy/dummy-game.vala \
diff --git a/src/core/title.vala b/src/core/title.vala
new file mode 100644
index 0000000..3d7780b
--- /dev/null
+++ b/src/core/title.vala
@@ -0,0 +1,5 @@
+// This file is part of GNOME Games. License: GPLv3
+
+public interface Games.Title : Object {
+       public abstract string get_title () throws Error;
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]