truelight@9649: /* $Id$ */ truelight@9649: truebrain@9829: /** @file ai_industrylist.hpp List all the industries. */ truelight@9649: truelight@9649: #ifndef AI_INDUSTRYLIST_HPP truelight@9649: #define AI_INDUSTRYLIST_HPP truelight@9649: truelight@9649: #include "ai_abstractlist.hpp" truelight@9649: truelight@9649: /** truebrain@9778: * Creates a list of industries that are currently on the map. truebrain@9829: * @ingroup AIList truelight@9649: */ truelight@9649: class AIIndustryList : public AIAbstractList { truelight@9649: public: truelight@9649: static const char *GetClassName() { return "AIIndustryList"; } truelight@9649: AIIndustryList(); truelight@9649: }; truelight@9649: truebrain@9776: /** truebrain@9778: * Creates a list of industries that accepts a given cargo. truebrain@9829: * @ingroup AIList truebrain@9776: */ truebrain@9776: class AIIndustryList_CargoAccepting : public AIAbstractList { truebrain@9776: public: truebrain@9776: static const char *GetClassName() { return "AIIndustryList_CargoAccepting"; } truebrain@9776: truebrain@9776: /** truebrain@9778: * @param cargo_id The cargo this industry should accept. truebrain@9776: */ truebrain@9776: AIIndustryList_CargoAccepting(CargoID cargo_id); truebrain@9776: }; truebrain@9776: truebrain@9776: /** truebrain@9797: * Creates a list of industries that can produce a given cargo. truebrain@9797: * @note It also contains industries that currently produces 0 units of the cargo. truebrain@9829: * @ingroup AIList truebrain@9776: */ truebrain@9776: class AIIndustryList_CargoProducing : public AIAbstractList { truebrain@9776: public: truebrain@9776: static const char *GetClassName() { return "AIIndustryList_CargoProducing"; } truebrain@9776: truebrain@9776: /** truebrain@9778: * @param cargo_id The cargo this industry should produce. truebrain@9776: */ truebrain@9776: AIIndustryList_CargoProducing(CargoID cargo_id); truebrain@9776: }; truebrain@9776: truelight@9649: #endif /* AI_INDUSTRYLIST_HPP */