summaryrefslogtreecommitdiff
path: root/src/recipe.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/recipe.h')
-rw-r--r--src/recipe.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/recipe.h b/src/recipe.h
index 631030f..0082d58 100644
--- a/src/recipe.h
+++ b/src/recipe.h
@@ -52,6 +52,12 @@ struct Ingredient
std::string item;
};
+struct IngredientGroup
+{
+ std::string title;
+ std::vector<Ingredient> ingredients;
+};
+
struct Recipe
{
DatabaseSource db;
@@ -60,7 +66,7 @@ struct Recipe
std::string description;
std::string image;
std::string instructions;
- std::vector<Ingredient> ingredients;
+ std::vector<IngredientGroup> ingredient_groups;
std::string source;
std::string cuisine;