|
From: <qua...@us...> - 2010-01-04 10:53:23
|
Revision: 45
http://dsim.svn.sourceforge.net/dsim/?rev=45&view=rev
Author: quannaus
Date: 2010-01-04 10:53:16 +0000 (Mon, 04 Jan 2010)
Log Message:
-----------
[Dev] Some small changes in the type definition.
Modified Paths:
--------------
trunk/dsim/dsim/command/Simulator.cpp
Modified: trunk/dsim/dsim/command/Simulator.cpp
===================================================================
--- trunk/dsim/dsim/command/Simulator.cpp 2010-01-03 17:04:17 UTC (rev 44)
+++ trunk/dsim/dsim/command/Simulator.cpp 2010-01-04 10:53:16 UTC (rev 45)
@@ -6,6 +6,8 @@
#include <string>
#include <vector>
#include <exception>
+// STDAIR
+#include <stdair/STDAIR_Types.hpp>
// Distribution
#include <simcrs/SIMCRS_Service.hpp>
// Dsim
@@ -23,10 +25,10 @@
DSIM_LOG_DEBUG ("The simulation is starting");
// Airline code
- std::string lAirlineCode ("LH");
+ stdair::AirlineCode_T lAirlineCode ("BA");
// Number of passengers in the travelling group
- SIMCRS::PartySize_T lPartySize = 5;
+ stdair::PartySize_T lPartySize = 5;
// Make a booking
ioSIMCRS_Service.sell (lAirlineCode, lPartySize);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|