From bd45fdf1e16e7d4ff49e1472ee30f269867f531e Mon Sep 17 00:00:00 2001 From: Marvin W Date: Tue, 17 Dec 2019 23:52:05 +0100 Subject: Add version and adjust some cmake --- libdino/src/application.vala | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libdino/src') diff --git a/libdino/src/application.vala b/libdino/src/application.vala index 9c53d88a..86283823 100644 --- a/libdino/src/application.vala +++ b/libdino/src/application.vala @@ -1,6 +1,9 @@ using Dino.Entities; -public interface Dino.Application : GLib.Application { +namespace Dino { +extern const string VERSION; + +public interface Application : GLib.Application { public abstract Database db { get; set; } public abstract Dino.Entities.Settings settings { get; set; } @@ -76,7 +79,7 @@ public interface Dino.Application : GLib.Application { jid = jid.substring(1); } string query = "message"; - Gee.Map options = new Gee.HashMap(); + Gee.Map options = new Gee.HashMap(); if (m.length == 2) { string[] cmds = m[1].split(";"); query = cmds[0]; @@ -127,3 +130,4 @@ public interface Dino.Application : GLib.Application { } } +} \ No newline at end of file -- cgit v1.2.3-70-g09d2