summaryrefslogtreecommitdiffstats
path: root/src/pdf-stock/pdf-stock-interface.vala
diff options
context:
space:
mode:
authorHolger Cremer <HolgerCremer@gmail.com>2018-07-26 20:09:26 +0200
committerHolger Cremer <HolgerCremer@gmail.com>2018-07-26 20:09:26 +0200
commitbb55e121576a5b5d225bfc68c5062f386cc32db9 (patch)
tree21fe043175183944fe2d9fc0a2e08012c3d195fd /src/pdf-stock/pdf-stock-interface.vala
parent567dadcd9d8816b447591c266c9ffd5a1c290390 (diff)
downloadserial-barcode-scanner-bb55e121576a5b5d225bfc68c5062f386cc32db9.tar.bz2
adds an inventory function
Diffstat (limited to 'src/pdf-stock/pdf-stock-interface.vala')
-rw-r--r--src/pdf-stock/pdf-stock-interface.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pdf-stock/pdf-stock-interface.vala b/src/pdf-stock/pdf-stock-interface.vala
index 415916f..be49a20 100644
--- a/src/pdf-stock/pdf-stock-interface.vala
+++ b/src/pdf-stock/pdf-stock-interface.vala
@@ -15,5 +15,6 @@
[DBus (name = "io.mainframe.shopsystem.StockPDF")]
public interface PDFStock : Object {
- public abstract uint8[] generate() throws IOError;
+ // if false, only products with an amount > 0 are selected
+ public abstract uint8[] generate(bool allProducts) throws IOError;
}