1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/textandloc/fontservices/textshaperplugin/IcuSource/common/ustr_cnv.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,42 @@
1.4 +/*
1.5 +**********************************************************************
1.6 +* Copyright (C) 1999-2004, International Business Machines
1.7 +* Corporation and others. All Rights Reserved.
1.8 +**********************************************************************
1.9 +* file name: ustr_cnv.h
1.10 +* encoding: US-ASCII
1.11 +* tab size: 8 (not used)
1.12 +* indentation:4
1.13 +*
1.14 +* created on: 2004Aug27
1.15 +* created by: George Rhoten
1.16 +*/
1.17 +
1.18 +#ifndef USTR_CNV_IMP_H
1.19 +#define USTR_CNV_IMP_H
1.20 +
1.21 +#include "unicode/utypes.h"
1.22 +#include "unicode/ucnv.h"
1.23 +
1.24 +#if !UCONFIG_NO_CONVERSION
1.25 +
1.26 +/**
1.27 + * Get the default converter. This is a commonly used converter
1.28 + * that is used for the ustring and UnicodeString API.
1.29 + * Remember to use the u_releaseDefaultConverter when you are done.
1.30 + * @internal
1.31 + */
1.32 +U_CAPI UConverter* U_EXPORT2
1.33 +u_getDefaultConverter(UErrorCode *status);
1.34 +
1.35 +
1.36 +/**
1.37 + * Release the default converter to the converter cache.
1.38 + * @internal
1.39 + */
1.40 +U_CAPI void U_EXPORT2
1.41 +u_releaseDefaultConverter(UConverter *converter);
1.42 +
1.43 +#endif
1.44 +
1.45 +#endif