summaryrefslogtreecommitdiffstats
path: root/src/web/main.vala
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2017-04-18 22:15:34 +0200
committerGitHub <noreply@github.com>2017-04-18 22:15:34 +0200
commitb1bd88ef5355ea1b8edbf777215bb44fce36f32a (patch)
tree665b0df5b26f55cf845723a4b1629937ed1fa422 /src/web/main.vala
parent529d6dd34f9209efef18c04121075be9ac310c9c (diff)
parentcee8d7e8684ec03240e95f8443e4f5cbc04bec5a (diff)
downloadserial-barcode-scanner-b1bd88ef5355ea1b8edbf777215bb44fce36f32a.tar.bz2
Merge pull request #24 from smilix/customizable_user_sounds
Customizable user sounds
Diffstat (limited to 'src/web/main.vala')
-rw-r--r--src/web/main.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/web/main.vala b/src/web/main.vala
index c0fd77f..7070e66 100644
--- a/src/web/main.vala
+++ b/src/web/main.vala
@@ -17,6 +17,7 @@ Database db;
public CSVMemberFile csvimport;
public PGP pgp;
public Config cfg;
+public AudioPlayer audio;
string templatedir;
public static int main(string[] args) {
@@ -29,6 +30,7 @@ public static int main(string[] args) {
db = Bus.get_proxy_sync(BusType.SYSTEM, "io.mainframe.shopsystem.Database", "/io/mainframe/shopsystem/database");
pgp = Bus.get_proxy_sync(BusType.SYSTEM, "io.mainframe.shopsystem.PGP", "/io/mainframe/shopsystem/pgp");
cfg = Bus.get_proxy_sync(BusType.SYSTEM, "io.mainframe.shopsystem.Config", "/io/mainframe/shopsystem/config");
+ audio = Bus.get_proxy_sync(BusType.SYSTEM, "io.mainframe.shopsystem.AudioPlayer", "/io/mainframe/shopsystem/audio");
templatedir = cfg.get_string("WEB", "filepath");
port = cfg.get_integer("WEB", "port");