aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/application.vala
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2019-12-17 23:52:05 +0100
committerMarvin W <git@larma.de>2019-12-18 00:51:49 +0100
commitbd45fdf1e16e7d4ff49e1472ee30f269867f531e (patch)
tree4e9766553fa0dbb48eebe77ab9a4f0a9ad8d2627 /libdino/src/application.vala
parenta4a795af333d6bcf378e11df456a858af2fa4603 (diff)
downloaddino-bd45fdf1e16e7d4ff49e1472ee30f269867f531e.tar.gz
dino-bd45fdf1e16e7d4ff49e1472ee30f269867f531e.zip
Add version and adjust some cmake
Diffstat (limited to 'libdino/src/application.vala')
-rw-r--r--libdino/src/application.vala8
1 files changed, 6 insertions, 2 deletions
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<string, string> options = new Gee.HashMap<string,string>();
+ Gee.Map<string, string> options = new Gee.HashMap<string, string>();
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