*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)

*Fix a possible crash in Spell::DoAllEffectOnTarget

--HG--
branch : trunk
This commit is contained in:
maximius
2009-10-17 15:35:07 -07:00
parent f21f47005d
commit 26b5e033ff
2257 changed files with 750 additions and 103852 deletions
-13
View File
@@ -1,5 +1,4 @@
// -*- C++ -*-
//=========================================================================
/**
* @file Encoding_Converter.h
@@ -12,19 +11,13 @@
* @author Chad Elliott <[email protected]>
*/
//=========================================================================
#ifndef ACE_ENCODING_CONVERTER_H
#define ACE_ENCODING_CONVERTER_H
#include /**/ "ace/pre.h"
#include "ace/Basic_Types.h"
#if defined (ACE_USES_WCHAR)
#include /**/ "ace/ACE_export.h"
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
/** The base class for all ACE UTF Encoding Converters.
* This class provides a generic interface that is used to implement
* various UTF encoding conversion classes.
@@ -40,11 +33,9 @@ public:
TARGET_EXHAUSTED,
SOURCE_ILLEGAL
};
/// This destructor is here (and virtual) because we have virtual
/// functions.
virtual ~ACE_Encoding_Converter (void);
/// Convert the source (which can be in any encoding) to UTF-8 and
/// store it in the provided target buffer.
virtual Result to_utf8 (const void* source,
@@ -52,7 +43,6 @@ public:
ACE_Byte* target,
size_t target_size,
bool strict = true) = 0;
/// Convert the UTF-8 source into an alternate encoding and store it
/// in the provided target buffer.
virtual Result from_utf8 (const ACE_Byte* source,
@@ -61,11 +51,8 @@ public:
size_t target_size,
bool strict = true) = 0;
};
ACE_END_VERSIONED_NAMESPACE_DECL
#endif /* ACE_USES_WCHAR */
#include /**/ "ace/post.h"
#endif /* ACE_ENCODING_CONVERTER_H */