From e5d35d6b643dbb8ecbd3ece2a0d84ec93cadbfc1 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 23 Apr 2022 22:02:06 +0200 Subject: First contact --- src/recipe.h | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 src/recipe.h (limited to 'src/recipe.h') diff --git a/src/recipe.h b/src/recipe.h new file mode 100644 index 0000000..8e4b579 --- /dev/null +++ b/src/recipe.h @@ -0,0 +1,47 @@ +/* -*- c++ -*- */ +/*************************************************************************** + * recipe.h + * + * Sat Apr 23 21:29:02 CEST 2022 + * Copyright 2022 Bent Bisballe Nyeng + * deva@aasimon.org + ****************************************************************************/ + +/* + * This file is part of Qookie. + * + * 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 + * (at your option) any later version. + * + * Qookie is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Qookie; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + */ +#pragma once + +#include + +struct RecipeItem +{ + int id; + std::string title; + std::string image; +}; + +struct Recipe +{ + int id; + std::string title; + std::string image; + + // . + // . + // . +}; -- cgit v1.2.3