From 0dea7c3dad15f397600458ae9a81af29e95752fa Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 30 Apr 2022 21:12:44 +0200 Subject: Make 'super' database, encapsulating both the krecipes one and the gourmet one. Add small vignettes to the recipe list images to indicate from which soucre each item is coming from. --- src/database_krecipes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/database_krecipes.h') diff --git a/src/database_krecipes.h b/src/database_krecipes.h index 5f15a47..7e5f602 100644 --- a/src/database_krecipes.h +++ b/src/database_krecipes.h @@ -37,10 +37,10 @@ public: DatabaseKrecipes(const std::string& file); ~DatabaseKrecipes(); - std::uint64_t id() const override { return 1UL << 63; } + int id() const override { return 1UL << 29; } std::deque getRecipes() override; - Recipe getRecipe(std::uint64_t id) override; + Recipe getRecipe(int id) override; private: sqlite3 *db{nullptr}; -- cgit v1.2.3