From e242295d2d1bbfaaca3da0807308478c1d5ad0f8 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 24 Apr 2022 16:28:35 +0200 Subject: Added more fields to database, recipe and viewer. --- src/recipe.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/recipe.h') diff --git a/src/recipe.h b/src/recipe.h index 3b6ef3e..f33c07c 100644 --- a/src/recipe.h +++ b/src/recipe.h @@ -47,7 +47,17 @@ struct Recipe { int id; std::string title; + std::string description; std::string image; std::string instructions; std::vector ingredients; + + std::string source; + std::string cuisine; + int cooktime; + int preptime; + + double yields; + std::string yield_unit; + std::vector tags; }; -- cgit v1.2.3