[gnome-games] core: Add Icon



commit 929f0dd27c8dc73477c3e954254a28504b8b233f
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Wed May 11 18:06:59 2016 +0200

    core: Add Icon
    
    This will be used in next commits to represent different types of icon.

 src/Makefile.am    |    1 +
 src/core/icon.vala |    5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 58bd90c..fe3ccc8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -39,6 +39,7 @@ gnome_games_SOURCES = \
        core/cover.vala \
        core/game.vala \
        core/game-source.vala \
+       core/icon.vala \
        core/plugin.vala \
        core/plugin-register.vala \
        core/plugin-registrar.vala \
diff --git a/src/core/icon.vala b/src/core/icon.vala
new file mode 100644
index 0000000..3532d12
--- /dev/null
+++ b/src/core/icon.vala
@@ -0,0 +1,5 @@
+// This file is part of GNOME Games. License: GPLv3
+
+public interface Games.Icon : Object {
+       public abstract GLib.Icon? get_icon ();
+}


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