diff options
Diffstat (limited to 'ACE/TAO/TAO_IDL/be/be_visitor_component/facet_svh.cpp')
-rw-r--r-- | ACE/TAO/TAO_IDL/be/be_visitor_component/facet_svh.cpp | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/ACE/TAO/TAO_IDL/be/be_visitor_component/facet_svh.cpp b/ACE/TAO/TAO_IDL/be/be_visitor_component/facet_svh.cpp new file mode 100644 index 00000000000..f101db9a78b --- /dev/null +++ b/ACE/TAO/TAO_IDL/be/be_visitor_component/facet_svh.cpp @@ -0,0 +1,46 @@ +// +// $Id$ +// + +// ============================================================================ +// +// = LIBRARY +// TAO IDL +// +// = FILENAME +// facet_svh.cpp +// +// = DESCRIPTION +// Visitor generating code for a facet servant class in the +// servant header. +// +// = AUTHOR +// Jeff Parsons +// +// ============================================================================ + +be_visitor_facet_svh::be_visitor_facet_svh (be_visitor_context *ctx) + : be_visitor_component_scope (ctx) +{ +} + +be_visitor_facet_svh::~be_visitor_facet_svh (void) +{ +} + +int +be_visitor_facet_svh::visit_provides (be_provides *node) +{ + if (node->gen_facet_svnt_decl (os_) == -1) + { + ACE_ERROR_RETURN ((LM_ERROR, + ACE_TEXT ("be_visitor_facet_svh") + ACE_TEXT ("::visit_provides - ") + ACE_TEXT ("gen_facet_svnt_decl() ") + ACE_TEXT ("failed\n")), + -1); + } + + return 0; +} + |