[gnome-games] core: Add Cover



commit 48f6ff8bf2020895d4adb4b4c1789ae0b9bae253
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Wed Mar 23 16:24:58 2016 +0100

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

 src/Makefile.am     |    1 +
 src/core/cover.vala |    5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 6e0c9f3..53ea33e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -36,6 +36,7 @@ gnome_games_SOURCES = \
        command/command-error.vala \
        command/command-runner.vala \
        \
+       core/cover.vala \
        core/game.vala \
        core/game-source.vala \
        core/plugin.vala \
diff --git a/src/core/cover.vala b/src/core/cover.vala
new file mode 100644
index 0000000..8b894bb
--- /dev/null
+++ b/src/core/cover.vala
@@ -0,0 +1,5 @@
+// This file is part of GNOME Games. License: GPLv3
+
+public interface Games.Cover : Object {
+       public abstract Icon? get_cover ();
+}


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