00001 /* $Id: ai_industrylist.hpp 20563 2010-08-19 15:37:28Z yexo $ */ 00002 00003 /* 00004 * This file is part of OpenTTD. 00005 * OpenTTD 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, version 2. 00006 * OpenTTD 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. 00007 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>. 00008 */ 00009 00012 #ifndef AI_INDUSTRYLIST_HPP 00013 #define AI_INDUSTRYLIST_HPP 00014 00015 #include "ai_list.hpp" 00016 00021 class AIIndustryList : public AIList { 00022 public: 00024 static const char *GetClassName() { return "AIIndustryList"; } 00025 AIIndustryList(); 00026 }; 00027 00032 class AIIndustryList_CargoAccepting : public AIList { 00033 public: 00035 static const char *GetClassName() { return "AIIndustryList_CargoAccepting"; } 00036 00040 AIIndustryList_CargoAccepting(CargoID cargo_id); 00041 }; 00042 00048 class AIIndustryList_CargoProducing : public AIList { 00049 public: 00051 static const char *GetClassName() { return "AIIndustryList_CargoProducing"; } 00052 00056 AIIndustryList_CargoProducing(CargoID cargo_id); 00057 }; 00058 00059 #endif /* AI_INDUSTRYLIST_HPP */