tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / sal / textenc / convertsimple.hxx
blobf7154989af3fb9505483739defbe6159ee7a3bbc
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef INCLUDED_SAL_TEXTENC_CONVERTSIMPLE_HXX
11 #define INCLUDED_SAL_TEXTENC_CONVERTSIMPLE_HXX
13 #include <sal/config.h>
15 #include <sal/saldllapi.h>
16 #include <sal/types.h>
18 // Internal, non-stable ABI
20 namespace sal::detail::textenc {
22 sal_Size SAL_DLLPUBLIC convertCharToUnicode(
23 void const * pData, void * pContext, char const * pSrcBuf,
24 sal_Size nSrcBytes, sal_Unicode * pDestBuf, sal_Size nDestChars,
25 sal_uInt32 nFlags, sal_uInt32 * pInfo, sal_Size * pSrcCvtBytes);
27 sal_Size SAL_DLLPUBLIC convertUnicodeToChar(
28 void const * pData, void * pContext, sal_Unicode const * pSrcBuf,
29 sal_Size nSrcChars, char * pDestBuf, sal_Size nDestBytes, sal_uInt32 nFlags,
30 sal_uInt32 * pInfo, sal_Size * pSrcCvtChars);
34 #endif