diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-04-30 21:12:44 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-05-26 18:41:21 +0200 |
commit | 0dea7c3dad15f397600458ae9a81af29e95752fa (patch) | |
tree | b6b17f93f907e139274b967c02ac356b56422b20 /src/database_gourmet.h | |
parent | 0ae26aded59f09b969592c2e600dba176954c619 (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.h | 4 |
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}; |