src/ai/api/ai_vehiclelist.hpp
branchnoai
changeset 9647 c17046b1b8a2
parent 9632 1816329e9cdd
child 9740 a98f20bce404
--- a/src/ai/api/ai_vehiclelist.hpp	Fri Jul 13 10:49:57 2007 +0000
+++ b/src/ai/api/ai_vehiclelist.hpp	Fri Jul 13 11:04:00 2007 +0000
@@ -23,4 +23,21 @@
 	AIVehicleList();
 };
 
+/**
+ * Class that creates a list of vehicles that go to a given station.
+ */
+class AIStationVehicleList : public AIAbstractList {
+public:
+	/**
+	 * The name of the class, needed by several sub-processes.
+	 */
+	static const char *GetClassName() { return "AIStationVehicleList"; }
+
+	/**
+	 * The constructor to make a list of vehicles that goes to this station.
+	 * @param station The station to get the list of vehicles that go here from.
+	 */
+	AIStationVehicleList(StationID station);
+};
+
 #endif /* AI_VEHICLELIST_HPP */