summaryrefslogtreecommitdiff
path: root/src/recipe.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/recipe.h')
-rw-r--r--src/recipe.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/recipe.h b/src/recipe.h
index 8e4b579..3b6ef3e 100644
--- a/src/recipe.h
+++ b/src/recipe.h
@@ -12,7 +12,7 @@
*
* Qookie is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* Qookie is distributed in the hope that it will be useful,
@@ -27,6 +27,7 @@
#pragma once
#include <string>
+#include <vector>
struct RecipeItem
{
@@ -35,13 +36,18 @@ struct RecipeItem
std::string image;
};
+struct Ingredient
+{
+ std::string unit;
+ double amount;
+ std::string item;
+};
+
struct Recipe
{
int id;
std::string title;
std::string image;
-
- // .
- // .
- // .
+ std::string instructions;
+ std::vector<Ingredient> ingredients;
};