// -*- C++ -*- //============================================================================= /** * @file SStringfwd.h * * Forward declarations and typedefs of ACE string types. * * @author Douglas C. Schmidt * @author Nanbor Wang * @author Ossama Othman */ //============================================================================= #ifndef ACE_SSTRINGFWD_H #define ACE_SSTRINGFWD_H #include /**/ "ace/pre.h" #include "ace/Basic_Types.h" /* ACE_WCHAR_T definition */ #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ ACE_BEGIN_VERSIONED_NAMESPACE_DECL template class ACE_String_Base; // Forward declaration. typedef ACE_WCHAR_T ACE_WSTRING_TYPE; typedef ACE_String_Base ACE_CString; typedef ACE_String_Base ACE_WString; // This allows one to use W or C String based on the Unicode // setting #if defined (ACE_USES_WCHAR) typedef ACE_WString ACE_TString; #else /* ACE_USES_WCHAR */ typedef ACE_CString ACE_TString; #endif /* ACE_USES_WCHAR */ ACE_END_VERSIONED_NAMESPACE_DECL #include /**/ "ace/post.h" #endif /* ACE_SSTRINGFWD_H */