00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file PortableServer_WFunctions.h 00006 * 00007 * $Id: PortableServer_WFunctions.h 71473 2006-03-10 07:19:20Z jtc $ 00008 * 00009 * PortableServer helper functions 00010 * 00011 * @author Irfan Pyarali <irfan@cs.wustl.edu> 00012 */ 00013 //============================================================================= 00014 00015 #ifndef TAO_PORTABLESERVER_WFUNCTIONS_H 00016 #define TAO_PORTABLESERVER_WFUNCTIONS_H 00017 00018 #include /**/ "ace/pre.h" 00019 00020 #include "tao/PortableServer/portableserver_export.h" 00021 00022 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00023 # pragma once 00024 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00025 00026 #include "tao/orbconf.h" 00027 00028 #if defined (TAO_EXPORT_MACRO) 00029 #undef TAO_EXPORT_MACRO 00030 #endif 00031 #define TAO_EXPORT_MACRO TAO_PortableServer_Export 00032 00033 #if defined (TAO_EXPORT_NESTED_CLASSES) 00034 # if defined (TAO_EXPORT_NESTED_MACRO) 00035 # undef TAO_EXPORT_NESTED_MACRO 00036 # endif /* defined (TAO_EXPORT_NESTED_MACRO) */ 00037 # define TAO_EXPORT_NESTED_MACRO TAO_PortableServer_Export 00038 #endif /* TAO_EXPORT_NESTED_CLASSES */ 00039 00040 #include "tao/PortableServer/PS_ForwardC.h" 00041 #include "ace/OS_NS_wchar.h" 00042 00043 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00044 00045 namespace PortableServer 00046 { 00047 TAO_NAMESPACE_STORAGE_CLASS CORBA::WChar* ObjectId_to_wstring ( 00048 const PortableServer::ObjectId &id); 00049 00050 TAO_NAMESPACE_STORAGE_CLASS PortableServer::ObjectId *wstring_to_ObjectId ( 00051 const CORBA::WChar *id); 00052 } 00053 00054 TAO_END_VERSIONED_NAMESPACE_DECL 00055 00056 #include /**/ "ace/post.h" 00057 00058 #endif /* TAO_PORTABLESERVER_WFUNCTIONS_H */