[gnome-games/wip/aplazas/781334-refactor-game-source: 8/35] core: Add Plugin.get_uri_sources ()



commit 3248a0b6c425e2ed5051f450417d8134152997a2
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Thu May 4 15:50:13 2017 +0200

    core: Add Plugin.get_uri_sources ()
    
    This will allow plugins to expose URI sources.

 src/core/plugin.vala |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/core/plugin.vala b/src/core/plugin.vala
index 3358f04..ce1b83b 100644
--- a/src/core/plugin.vala
+++ b/src/core/plugin.vala
@@ -8,4 +8,8 @@ public interface Games.Plugin : Object {
        public virtual string[] get_mime_types () {
                return {};
        }
+
+       public virtual UriSource[] get_uri_sources () {
+               return {};
+       }
 }


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