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/recipe.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/recipe.h')
-rw-r--r-- | src/recipe.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/recipe.h b/src/recipe.h index f33c07c..631030f 100644 --- a/src/recipe.h +++ b/src/recipe.h @@ -28,9 +28,18 @@ #include <string> #include <vector> +#include <cstdint> + +enum class DatabaseSource +{ + KRecipes, + Gourmet, + Qookie, +}; struct RecipeItem { + DatabaseSource db; int id; std::string title; std::string image; @@ -45,6 +54,7 @@ struct Ingredient struct Recipe { + DatabaseSource db; int id; std::string title; std::string description; |