1 #pragma once 2 #ifndef CATA_SRC_CRAFTING_GUI_H 3 #define CATA_SRC_CRAFTING_GUI_H 4 5 #include <iosfwd> 6 #include <vector> 7 8 class JsonObject; 9 class recipe; 10 11 const recipe *select_crafting_recipe( int &batch_size_out ); 12 13 void load_recipe_category( const JsonObject &jsobj ); 14 void reset_recipe_categories(); 15 16 // Returns nullptr if the category does not exist, or a pointer to its vector 17 // of subcategories it the category does exist 18 const std::vector<std::string> *subcategories_for_category( const std::string &category ); 19 20 #endif // CATA_SRC_CRAFTING_GUI_H 21