diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-03-27 22:44:44 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-03-27 22:44:44 +0000 |
commit | 2e6cb0fb38222c1e7a415ead27209ae3de2c0559 (patch) | |
tree | a111620913ee73bb7f7077a2f71fdc1aa7fb44c0 /TAO/tao/params.cpp | |
parent | 253b913040d71ff31542de066d85b6cb22d5038a (diff) | |
download | ATCD-2e6cb0fb38222c1e7a415ead27209ae3de2c0559.tar.gz |
#include the .i file in the .h/.cpp files instead of corba.h
Diffstat (limited to 'TAO/tao/params.cpp')
-rw-r--r-- | TAO/tao/params.cpp | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/TAO/tao/params.cpp b/TAO/tao/params.cpp index 2f1eea5dd06..83fa58fcea8 100644 --- a/TAO/tao/params.cpp +++ b/TAO/tao/params.cpp @@ -1,5 +1,11 @@ +// $Id$ + #include "tao/corba.h" +#if !defined (__ACE_INLINE__) +# include "tao/params.i" +#endif /* __ACE_INLINE__ */ + TAO_ORB_Parameters::TAO_ORB_Parameters (void) : name_service_ior_ (0), name_service_port_ (0), @@ -26,7 +32,7 @@ TAO_ORB_Parameters::addr (void) return this->addr_; } -void +void TAO_ORB_Parameters::name_service_ior (CORBA::String ns) { this->name_service_ior_ = ns; @@ -34,7 +40,7 @@ TAO_ORB_Parameters::name_service_ior (CORBA::String ns) // Set the IOR of our name service. -CORBA::String +CORBA::String TAO_ORB_Parameters::name_service_ior (void) { return this->name_service_ior_; @@ -42,7 +48,7 @@ TAO_ORB_Parameters::name_service_ior (void) // Get the IOR of our name service. -void +void TAO_ORB_Parameters::name_service_port (CORBA::UShort port) { this->name_service_port_ = port; @@ -50,14 +56,14 @@ TAO_ORB_Parameters::name_service_port (CORBA::UShort port) // Set the port of our name service. -CORBA::UShort +CORBA::UShort TAO_ORB_Parameters::name_service_port (void) { return this->name_service_port_; } -void +void TAO_ORB_Parameters::trading_service_ior (CORBA::String ns) { this->trading_service_ior_ = ns; @@ -65,7 +71,7 @@ TAO_ORB_Parameters::trading_service_ior (CORBA::String ns) // Set the IOR of our trading service. -CORBA::String +CORBA::String TAO_ORB_Parameters::trading_service_ior (void) { return this->trading_service_ior_; @@ -73,7 +79,7 @@ TAO_ORB_Parameters::trading_service_ior (void) // Get the IOR of our trading service. -void +void TAO_ORB_Parameters::trading_service_port (CORBA::UShort port) { this->trading_service_port_ = port; @@ -81,13 +87,13 @@ TAO_ORB_Parameters::trading_service_port (CORBA::UShort port) // Set the port of our trading service. -CORBA::UShort +CORBA::UShort TAO_ORB_Parameters::trading_service_port (void) { return this->trading_service_port_; } -void +void TAO_OA_Parameters::demux_strategy (const char* strategy) { // Determine the demux strategy based on the given name |