diff -r 769496a7b02e -r c1035f0ac732 src/ai/api/ai_stationlist.hpp --- a/src/ai/api/ai_stationlist.hpp Tue Feb 26 10:47:22 2008 +0000 +++ b/src/ai/api/ai_stationlist.hpp Tue Feb 26 10:55:07 2008 +0000 @@ -23,6 +23,12 @@ * @param type The type of station you want a list of. */ AIStationList(AIStation::StationType type); + +private: + /** + * The name of this list, to check if a Valuator can be used on this list. + */ + const char *GetListName() const { return "AIStationList"; } }; /** @@ -40,6 +46,12 @@ * @param vehicle_id The vehicles to get the list of stations he goes to from. */ AIStationList_Vehicle(VehicleID vehicle_id); + +private: + /** + * The name of this list, to check if a Valuator can be used on this list. + */ + const char *GetListName() const { return "AIStationList"; } }; #endif /* AI_STATIONLIST_HPP */