X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FTraffic%2FSchedFlight.hxx;h=4f85ed9931d098d53dc1d3bcd78c1be204791e3a;hb=b452234cb203c3336cfc5299be8ff4789a0eb416;hp=b6541bd46469dae1ce9b8b49a5d674fce25ba959;hpb=62a359cc4a338b2f8b720edf8183ab5b69710b14;p=flightgear.git diff --git a/src/Traffic/SchedFlight.hxx b/src/Traffic/SchedFlight.hxx index b6541bd46..4f85ed993 100644 --- a/src/Traffic/SchedFlight.hxx +++ b/src/Traffic/SchedFlight.hxx @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * **************************************************************************/ @@ -67,7 +67,7 @@ public: FGScheduledFlight(); FGScheduledFlight(const FGScheduledFlight &other); // FGScheduledFlight(const string); - FGScheduledFlight::FGScheduledFlight(const string& cs, + FGScheduledFlight(const string& cs, const string& fr, const string& depPrt, const string& arrPrt, @@ -95,13 +95,16 @@ public: { return (departureTime < other.departureTime); }; + string& getFlightRules() { return fltRules; }; time_t processTimeString(const string& time); const string& getCallSign() {return callsign; }; }; -typedef vector FGScheduledFlightVec; -typedef vector::iterator FGScheduledFlightVecIterator; +typedef vector FGScheduledFlightVec; +typedef vector::iterator FGScheduledFlightVecIterator; + +bool compareScheduledFlights(FGScheduledFlight *a, FGScheduledFlight *b); #endif