[gnome-games] core: Add Plugin.get_mime_types ()
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] core: Add Plugin.get_mime_types ()
- Date: Thu, 4 May 2017 19:19:24 +0000 (UTC)
commit 2c07a4235ebfba5a761710322b08cf2f295af177
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu May 4 14:11:00 2017 +0200
core: Add Plugin.get_mime_types ()
This will allow plugins to describe MIME types which should be
registered for file URI search.
https://bugzilla.gnome.org/show_bug.cgi?id=781334
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 0658cc9..3358f04 100644
--- a/src/core/plugin.vala
+++ b/src/core/plugin.vala
@@ -4,4 +4,8 @@ public interface Games.Plugin : Object {
public virtual GameSource? get_game_source () throws Error {
return null;
}
+
+ public virtual string[] get_mime_types () {
+ return {};
+ }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]