[gnome-games] core: Add Developer & Publisher



commit a119e69c3afa1293a676ccb698330f6123e0609c
Author: 1PunMan <saurabhsingh412 gmail com>
Date:   Thu May 10 15:46:01 2018 +0530

    core: Add Developer & Publisher
    
    These will be used in a subsequent commit to create a generic game storing its
    developer and publisher source.

 src/core/developer.vala | 7 +++++++
 src/core/publisher.vala | 7 +++++++
 src/meson.build         | 2 ++
 3 files changed, 16 insertions(+)
---
diff --git a/src/core/developer.vala b/src/core/developer.vala
new file mode 100644
index 0000000..abee572
--- /dev/null
+++ b/src/core/developer.vala
@@ -0,0 +1,7 @@
+// This file is part of GNOME Games. License: GPL-3.0+.
+
+public interface Games.Developer : Object {
+       public signal void changed ();
+
+       public abstract string get_developer ();
+}
diff --git a/src/core/publisher.vala b/src/core/publisher.vala
new file mode 100644
index 0000000..f50ea2c
--- /dev/null
+++ b/src/core/publisher.vala
@@ -0,0 +1,7 @@
+// This file is part of GNOME Games. License: GPL-3.0+.
+
+public interface Games.Publisher : Object {
+       public signal void changed ();
+
+       public abstract string get_publisher ();
+}
diff --git a/src/meson.build b/src/meson.build
index 6e67c0f..f2a19c9 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -16,6 +16,7 @@ vala_sources = [
 
   'core/cooperative.vala',
   'core/cover.vala',
+  'core/developer.vala',
   'core/game.vala',
   'core/game-callback.vala',
   'core/game-collection.vala',
@@ -32,6 +33,7 @@ vala_sources = [
   'core/plugin-register.vala',
   'core/plugin-register-iterator.vala',
   'core/plugin-registrar.vala',
+  'core/publisher.vala',
   'core/release-date.vala',
   'core/runner.vala',
   'core/title.vala',


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