Thu, 25 Oct 2018 20:22:18 +0200
Improved recipes import.
0 | 1 | /** |
2 | * @file recipes.h | |
4 | 3 | * @brief Recipes management. If new beerxml recipes are detected in |
4 | * the /recipe directory on the SD card they will be imported | |
5 | * when you enter the recipes menu. After successfull import the | |
6 | * xml file extensions will be changed to xok to prevent that | |
7 | * the recipe is imported again. After the import the recipe | |
8 | * editor is shown. | |
0 | 9 | */ |
10 | ||
11 | #ifndef _RECIPES_H | |
12 | #define _RECIPES_H | |
13 | ||
14 | ||
15 | /** | |
16 | * @brief Parse a Beerxml file and add the recipe. | |
1
ad2c8b13eb88
Updated lots of doxygen comments
Michiel Broek <mbroek@mbse.eu>
parents:
0
diff
changeset
|
17 | * @param fn The recipe filename. |
ad2c8b13eb88
Updated lots of doxygen comments
Michiel Broek <mbroek@mbse.eu>
parents:
0
diff
changeset
|
18 | * @param code The recipe code serial. |
0 | 19 | * @return Zero if no errors were found. |
20 | */ | |
21 | int ParseRecipe(char *fn, char *code); | |
22 | ||
23 | /** | |
24 | * @brief Recipes init fases. | |
25 | */ | |
26 | void Recipes_Init(void); | |
27 | ||
28 | /** | |
29 | * @brief Revipes loop screens. Bob-blocking. | |
30 | */ | |
31 | void Recipes_Loop(void); | |
32 | ||
33 | #endif |