diff options
Diffstat (limited to 'TAO/tao/Codeset_Manager.h')
-rw-r--r-- | TAO/tao/Codeset_Manager.h | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/TAO/tao/Codeset_Manager.h b/TAO/tao/Codeset_Manager.h index 163014327b1..e0cdc9710cb 100644 --- a/TAO/tao/Codeset_Manager.h +++ b/TAO/tao/Codeset_Manager.h @@ -1,4 +1,4 @@ -// -*- C++ -*- +// This may look like C, but it's really -*- C++ -*- //============================================================================= /* @@ -8,7 +8,7 @@ * * Interface for the TAO CodeSet Manager. * - * @author Mahesh Vedantam <mahesh@ociweb.com> + * @author Mahesh Vedantam <mahesh#ociweb.com> */ //============================================================================= @@ -17,19 +17,15 @@ #include /**/ "ace/pre.h" -#include "tao/TAO_Export.h" +#include "tao/CONV_FRAMEC.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -#include "tao/CONV_FRAMEC.h" +#include "TAO_Export.h" -ACE_BEGIN_VERSIONED_NAMESPACE_DECL class ACE_WChar_Codeset_Translator; -ACE_END_VERSIONED_NAMESPACE_DECL - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL class TAO_Profile; class TAO_Transport; @@ -59,18 +55,17 @@ class TAO_Codeset_Descriptor_Base; * context attached to the first request sent on the new connection. * */ + class TAO_Export TAO_Codeset_Manager { public: + virtual ~TAO_Codeset_Manager(); - /// Destructor. - virtual ~TAO_Codeset_Manager (void); - - /// Called by an object of TAO_Acceptor to set NCS and CCS values for - /// Char/Wchar in to the Object Reference. + /// Called by an object of TAO_Acceptor to set NCS and CCS values for + /// Char/Wchar in to the Object Reference. virtual void set_codeset (TAO_Tagged_Components& ) const = 0; - + /// /// Called from an object of "TAO_GIOP_Invocation" to set TCS on the /// Transport virtual void set_tcs (TAO_Profile &theProfile, TAO_Transport &) = 0; @@ -92,12 +87,8 @@ public: virtual TAO_Codeset_Descriptor_Base *char_codeset_descriptor (void) = 0; virtual TAO_Codeset_Descriptor_Base *wchar_codeset_descriptor (void) = 0; - virtual void get_ncs (CONV_FRAME::CodeSetId &ncsc, - CONV_FRAME::CodeSetId &ncsw) = 0; }; -TAO_END_VERSIONED_NAMESPACE_DECL - #include /**/ "ace/post.h" #endif /* TAO_CODESET_MANAGER_H */ |