diff options
Diffstat (limited to 'TAO/tao/diffs/Domain.diff')
-rw-r--r-- | TAO/tao/diffs/Domain.diff | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/TAO/tao/diffs/Domain.diff b/TAO/tao/diffs/Domain.diff new file mode 100644 index 00000000000..411a5e08b8d --- /dev/null +++ b/TAO/tao/diffs/Domain.diff @@ -0,0 +1,88 @@ +--- orig/DomainC.cpp 2005-04-23 20:41:36.569843200 +0200 ++++ DomainC.cpp 2005-04-23 20:42:48.202846400 +0200 +@@ -1,6 +1,6 @@ + // -*- C++ -*- + // +-// $Id$ ++// $Id$ + + // **** Code generated by the The ACE ORB (TAO) IDL Compiler **** + // TAO and the TAO IDL Compiler have been developed by: +@@ -39,6 +39,10 @@ + #include "tao/Special_Basic_Arguments.h" + #include "ace/OS_NS_string.h" + ++#include "tao/ORB_Core.h" ++#include "tao/IFR_Client_Adapter.h" ++#include "ace/Dynamic_Service.h" ++ + #if defined (__BORLANDC__) + #pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig + #endif /* __BORLANDC__ */ +@@ -50,6 +54,48 @@ + // TAO_IDL - Generated from + // be\be_visitor_arg_traits.cpp:69 + ++// TAO specific stuff. ++namespace CORBA ++{ ++ class InterfaceDef; ++ typedef InterfaceDef *InterfaceDef_ptr; ++ typedef TAO_Objref_Var_T<InterfaceDef> InterfaceDef_var; ++ typedef TAO_Objref_Out_T<InterfaceDef> InterfaceDef_out; ++} ++ ++namespace TAO ++{ ++ ++#if TAO_HAS_INTERCEPTORS == 1 ++ ++ template<> ++ void ++ In_Object_Argument_T<CORBA::InterfaceDef_ptr>::interceptor_param (Dynamic::Parameter & p) ++ { ++ TAO_IFR_Client_Adapter *adapter = ++ ACE_Dynamic_Service<TAO_IFR_Client_Adapter>::instance ( ++ TAO_ORB_Core::ifr_client_adapter_name () ++ ); ++ ++ adapter->interfacedef_any_insert (p.argument, this->x_); ++ p.mode = CORBA::PARAM_IN; ++ } ++ ++#endif /* TAO_HAS_INTERCEPTORS */ ++ ++ template<> ++ CORBA::Boolean ++ In_Object_Argument_T<CORBA::InterfaceDef_ptr>::marshal (TAO_OutputCDR & cdr) ++ { ++ TAO_IFR_Client_Adapter *adapter = ++ ACE_Dynamic_Service<TAO_IFR_Client_Adapter>::instance ( ++ TAO_ORB_Core::ifr_client_adapter_name () ++ ); ++ ++ return adapter->interfacedef_cdr_insert (cdr, this->x_); ++ } ++} ++ + // Arg traits specializations. + namespace TAO + { +--- orig/DomainC.h 2005-04-23 20:41:36.569843200 +0200 ++++ DomainC.h 2005-04-15 09:13:18.957705600 +0200 +@@ -1,6 +1,6 @@ + // -*- C++ -*- + // +-// $Id$ ++// $Id$ + + // **** Code generated by the The ACE ORB (TAO) IDL Compiler **** + // TAO and the TAO IDL Compiler have been developed by: +@@ -51,7 +51,6 @@ + #include "tao/Seq_Out_T.h" + + #include "tao/PolicyC.h" +-#include "tao/InterfaceDefC.h" + + #if defined (TAO_EXPORT_MACRO) + #undef TAO_EXPORT_MACRO |