summaryrefslogtreecommitdiff
path: root/src/database_gourmet.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2022-04-30 21:12:44 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2022-05-26 18:41:21 +0200
commit0dea7c3dad15f397600458ae9a81af29e95752fa (patch)
treeb6b17f93f907e139274b967c02ac356b56422b20 /src/database_gourmet.h
parent0ae26aded59f09b969592c2e600dba176954c619 (diff)
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.
Diffstat (limited to 'src/database_gourmet.h')
-rw-r--r--src/database_gourmet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database_gourmet.h b/src/database_gourmet.h
index 70ee04d..0d21990 100644
--- a/src/database_gourmet.h
+++ b/src/database_gourmet.h
@@ -37,10 +37,10 @@ public:
DatabaseGourmet(const std::string& file);
~DatabaseGourmet();
- std::uint64_t id() const override { return 1UL << 63; }
+ int id() const override { return 1UL << 30; }
std::deque<RecipeItem> getRecipes() override;
- Recipe getRecipe(std::uint64_t id) override;
+ Recipe getRecipe(int id) override;
private:
sqlite3 *db{nullptr};