[gnome-games/wip/exalm/platform-preferences: 77/80] plugin: Add get_platforms()
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/platform-preferences: 77/80] plugin: Add get_platforms()
- Date: Wed, 12 Sep 2018 11:55:14 +0000 (UTC)
commit 6aa23954f5a9aa7ae6e3ddcd5e33c9469eeeeea4
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Sun May 20 21:39:06 2018 +0000
plugin: Add get_platforms()
This allows plugins to register platforms.
src/core/plugin.vala | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/core/plugin.vala b/src/core/plugin.vala
index 74d8a3eb..98407724 100644
--- a/src/core/plugin.vala
+++ b/src/core/plugin.vala
@@ -5,6 +5,10 @@ public interface Games.Plugin : Object {
return {};
}
+ public virtual Platform[] get_platforms () {
+ return {};
+ }
+
public virtual UriSource[] get_uri_sources () {
return {};
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]