/***************************************************************************
                            QJpUnicodeConv.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.qt;

import java.util.*;
import java.lang.Error;

/**

 $Id: QJpUnicodeConv.java,v 1.4 2001/11/22 00:50:27 rdale Exp $

 Definition of QJpUnicodeConv class

 Created : 990225

 Copyright (C) 1992-2000 Trolltech AS.  All rights reserved.

 This file is part of the tools module of the Qt GUI Toolkit.

 This file may be distributed under the terms of the Q Public License
 as defined by Trolltech AS of Norway and appearing in the file
 LICENSE.QPL included in the packaging of this file.

 This file may be distributed and/or modified under the terms of the
 GNU General Public License version 2 as published by the Free Software
 Foundation and appearing in the file LICENSE.GPL included in the
 packaging of this file.

 Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
 licenses may use this file in accordance with the Qt Commercial License
 Agreement provided with the Software.

 This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

 See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
   information about Qt Commercial License Agreements.
 See http://www.trolltech.com/qpl/ for QPL licensing information.
 See http://www.trolltech.com/gpl/ for GPL licensing information.

 Contact info@trolltech.com if any conditions of this licensing are
 not clear to you.


 @short 
* $Id:  qt/qjpunicode.
*/
public class  QJpUnicodeConv implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;

	protected QJpUnicodeConv(Class dummy){}

	public native int asciiToUnicode( int h, int l);
	public native int jisx0201ToUnicode( int h, int l);
	public native int jisx0201LatinToUnicode( int h, int l);
	public native int jisx0201KanaToUnicode( int h, int l);
	public native int jisx0208ToUnicode( int h, int l);
	public native int jisx0212ToUnicode( int h, int l);
	public native int asciiToUnicode( int ascii);
	public native int jisx0201ToUnicode( int jis);
	public native int jisx0201LatinToUnicode( int jis);
	public native int jisx0201KanaToUnicode( int jis);
	public native int jisx0208ToUnicode( int jis);
	public native int jisx0212ToUnicode( int jis);
	public native int unicodeToAscii( int h, int l);
	public native int unicodeToJisx0201( int h, int l);
	public native int unicodeToJisx0201Latin( int h, int l);
	public native int unicodeToJisx0201Kana( int h, int l);
	public native int unicodeToJisx0208( int h, int l);
	public native int unicodeToJisx0212( int h, int l);
	public native int unicodeToAscii( int unicode);
	public native int unicodeToJisx0201( int unicode);
	public native int unicodeToJisx0201Latin( int unicode);
	public native int unicodeToJisx0201Kana( int unicode);
	public native int unicodeToJisx0208( int unicode);
	public native int unicodeToJisx0212( int unicode);
	public native int sjisToUnicode( int h, int l);
	public native int unicodeToSjis( int h, int l);
	public native int sjisToUnicode( int sjis);
	public native int unicodeToSjis( int unicode);
	public static native QJpUnicodeConv newConverter( int rule);
	private native void newQJpUnicodeConv( int r);
	public QJpUnicodeConv( int r) {
		newQJpUnicodeConv( r);
	}
	public static final int Default = 0x0000;
	public static final int Unicode = 0x0001;
	public static final int Unicode_JISX0201 = 0x0001;
	public static final int Unicode_ASCII = 0x0002;
	public static final int JISX0221_JISX0201 = 0x0003;
	public static final int JISX0221_ASCII = 0x0004;
	public static final int Sun_JDK117 = 0x0005;
	public static final int Microsoft_CP932 = 0x0006;
	public static final int NEC_VDC = 0x0100;
	public static final int UDC = 0x0200;
	public static final int IBM_VDC = 0x0400;
}
