/*
***************************************************************************
-* Copyright (C) 2008-2010, International Business Machines Corporation
+* Copyright (C) 2008-2012, International Business Machines Corporation
* and others. All Rights Reserved.
***************************************************************************
* file name: uspoof.h
#if U_SHOW_CPLUSPLUS_API
#include "unicode/unistr.h"
#include "unicode/uniset.h"
-
-U_NAMESPACE_USE
#endif
* @stable ICU 4.2
*/
U_STABLE void U_EXPORT2
-uspoof_setAllowedUnicodeSet(USpoofChecker *sc, const UnicodeSet *chars, UErrorCode *status);
+uspoof_setAllowedUnicodeSet(USpoofChecker *sc, const icu::UnicodeSet *chars, UErrorCode *status);
/**
* the USPOOF_CHAR_LIMIT test.
* @stable ICU 4.2
*/
-U_STABLE const UnicodeSet * U_EXPORT2
+U_STABLE const icu::UnicodeSet * U_EXPORT2
uspoof_getAllowedUnicodeSet(const USpoofChecker *sc, UErrorCode *status);
#endif
*/
U_STABLE int32_t U_EXPORT2
uspoof_checkUnicodeString(const USpoofChecker *sc,
- const U_NAMESPACE_QUALIFIER UnicodeString &text,
+ const icu::UnicodeString &text,
int32_t *position,
UErrorCode *status);
*/
U_STABLE int32_t U_EXPORT2
uspoof_areConfusableUnicodeString(const USpoofChecker *sc,
- const U_NAMESPACE_QUALIFIER UnicodeString &s1,
- const U_NAMESPACE_QUALIFIER UnicodeString &s2,
+ const icu::UnicodeString &s1,
+ const icu::UnicodeString &s2,
UErrorCode *status);
#endif
*
* @stable ICU 4.2
*/
-U_STABLE UnicodeString & U_EXPORT2
+U_STABLE icu::UnicodeString & U_EXPORT2
uspoof_getSkeletonUnicodeString(const USpoofChecker *sc,
uint32_t type,
- const UnicodeString &s,
- UnicodeString &dest,
+ const icu::UnicodeString &s,
+ icu::UnicodeString &dest,
UErrorCode *status);
#endif /* U_SHOW_CPLUSPLUS_API */