summaryrefslogtreecommitdiffstats
path: root/src/web/main.vala
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2018-08-31 00:31:08 +0200
committerGitHub <noreply@github.com>2018-08-31 00:31:08 +0200
commit684e9dd1ef04301287e99590254e71907e67f785 (patch)
treec008d2878905e03df7a8bf8bd3330762cc2d8f43 /src/web/main.vala
parent3fc3ea6c6df237dbdf48d14703118b747bf5d647 (diff)
parent8f2ba2050ee78d0e4a47f1277c6bc4422d06170c (diff)
downloadserial-barcode-scanner-684e9dd1ef04301287e99590254e71907e67f785.tar.bz2
Merge pull request #43 from smilix/better_inventory
Better inventory
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 761bba9..4c89e40 100644
--- a/src/web/main.vala
+++ b/src/web/main.vala
@@ -18,6 +18,7 @@ public CSVMemberFile csvimport;
public PGP pgp;
public Config cfg;
public AudioPlayer audio;
+public PDFStock pdfStock;
string templatedir;
string? shortname;
@@ -35,6 +36,7 @@ public static int main(string[] args) {
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");
+ pdfStock = Bus.get_proxy_sync(BusType.SYSTEM, "io.mainframe.shopsystem.StockPDF", "/io/mainframe/shopsystem/stockpdf");
var datapath = cfg.get_string("GENERAL", "datapath");
templatedir = Path.build_filename(datapath, "templates");
port = cfg.get_integer("WEB", "port");