office-gobmx/sal/textenc/convertisciidevangari.hxx
Caolán McNamara bfeeed3e98 implement a new iscii (devangari) <-> unicode converter
this time with support for the multi-byte encodings possible
in ISCII

Change-Id: I1dc09e8836676ab614b531e8dc10f91a90b7c4fd
2012-11-27 13:31:31 +00:00

34 lines
1.3 KiB
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <sal/types.h>
sal_Size ImplConvertIsciiDevanagariToUnicode(void const * pData,
void * pContext, char const * pSrcBuf, sal_Size nSrcBytes,
sal_Unicode * pDestBuf, sal_Size nDestChars, sal_uInt32 nFlags,
sal_uInt32 * pInfo, sal_Size * pSrcCvtBytes);
sal_Size ImplConvertUnicodeToIsciiDevanagari(void const * pData,
void * pContext, sal_Unicode const * pSrcBuf, sal_Size nSrcChars,
char * pDestBuf, sal_Size nDestBytes, sal_uInt32 nFlags,
sal_uInt32 * pInfo, sal_Size * pSrcCvtChars);
void *ImplCreateIsciiDevanagariToUnicodeContext();
void ImplDestroyIsciiDevanagariToUnicodeContext(void * pContext);
void ImplResetIsciiDevanagariToUnicodeContext(void * pContext);
void *ImplCreateUnicodeToIsciiDevanagariContext();
void ImplResetUnicodeToIsciiDevanagariContext(void * pContext);
void ImplDestroyUnicodeToIsciiDevanagariContext(void * pContext);
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */