diff options
author | Sebastian Reichel <sre@ring0.de> | 2013-05-23 23:45:40 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2013-05-23 23:45:40 +0200 |
commit | 1105c32181ebaed1aebad6b44624227e9c83e9ee (patch) | |
tree | 667262b1a74c51f30ff05e7805f11dc21865ec85 | |
parent | a6e127bbf9fb53a048c0f5a884b055b40634cae6 (diff) | |
download | serial-barcode-scanner-1105c32181ebaed1aebad6b44624227e9c83e9ee.tar.bz2 |
web: add_supplier is void
-rw-r--r-- | src/database/db-interface.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/db-interface.vala b/src/database/db-interface.vala index c1df782..610dff7 100644 --- a/src/database/db-interface.vala +++ b/src/database/db-interface.vala @@ -46,7 +46,7 @@ public interface Database : Object { public abstract int64 get_timestamp_of_last_purchase() throws IOError; public abstract Supplier[] get_supplier_list() throws IOError; public abstract Supplier get_supplier(int id) throws IOError; - public abstract bool add_supplier(string name, string postal_code, string city, string street, string phone, string website) throws IOError, DatabaseError; + public abstract void add_supplier(string name, string postal_code, string city, string street, string phone, string website) throws IOError, DatabaseError; public abstract int[] get_users_with_sales(int64 timestamp_from, int64 timestamp_to) throws IOError; public abstract Price get_user_invoice_sum(int user, int64 timestamp_from, int64 timestamp_to) throws IOError; } |