00001 // destination.h 00002 // 00003 // Copyright (C) 2001, Chris Laurel <claurel@shatters.net> 00004 // 00005 // This program is free software; you can redistribute it and/or 00006 // modify it under the terms of the GNU General Public License 00007 // as published by the Free Software Foundation; either version 2 00008 // of the License, or (at your option) any later version. 00009 00010 #ifndef _DESTINATION_H_ 00011 #define _DESTINATION_H_ 00012 00013 #include <string> 00014 #include <vector> 00015 #include <iostream> 00016 00017 00018 class Destination 00019 { 00020 public: 00021 Destination(); 00022 00023 public: 00024 std::string name; 00025 std::string target; 00026 double distance; 00027 std::string description; 00028 }; 00029 00030 typedef std::vector<Destination*> DestinationList; 00031 00032 DestinationList* ReadDestinationList(std::istream&); 00033 00034 #endif // _DESTINATION_H_
1.4.1