summaryrefslogtreecommitdiff
path: root/src/recipe.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/recipe.h')
-rw-r--r--src/recipe.h10
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;