diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-04-12 22:58:36 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-04-12 22:58:36 +0000 |
commit | c0a45be4e0b8957e6c054cf668c4c7af47b4da57 (patch) | |
tree | 56dfbd4e24949ea11df368aa9e04b41cf987b5f7 /TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp | |
parent | a9bd1cd38f154d5252a55a8fc37f74a26d07b035 (diff) | |
download | ATCD-c0a45be4e0b8957e6c054cf668c4c7af47b4da57.tar.gz |
ChangeLogTag: Tue Apr 12 17:51:58 2005 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp b/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp index 530d25e9c3b..1a410049325 100644 --- a/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp +++ b/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp @@ -228,7 +228,26 @@ be_visitor_interface_ch::visit_interface (be_interface *node) << "::Components::CCMException" << be_uidt_nl << "));" << be_uidt_nl << be_nl; } - +/* + if (node->n_inherits () > 0) + { + const char *id = node->inherits ()[0]->repoID (); + const char *ecb_id = "IDL:omg.org/Components/EventConsumerBase:1.0"; + + if (ACE_OS::strcmp (id, ecb_id) == 0) + { + *os << "// Check that enables substitution of base class events." + << be_nl + << "virtual CORBA::Boolean tao_is_substitutable (" + << be_idt << be_idt_nl + << "const char *repo_id" << be_nl + << "ACE_ENV_ARG_DECL_WITH_DEFAULTS" << be_uidt_nl + << ")" << be_nl + << "ACE_THROW_SPEC ((CORBA::SystemException));" + << be_uidt_nl << be_nl; + } + } +*/ if (! node->is_abstract ()) { node->analyze_parentage (); @@ -377,7 +396,7 @@ be_visitor_interface_ch::visit_interface (be_interface *node) os->gen_endif (); - if (be_global->tc_support ()) + if (be_global->tc_support () && !node->home_equiv ()) { be_visitor_typecode_decl td_visitor (&ctx); |