summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQJpUnicodeConv.java
blob: f1a44ac4f7fe1b9dcaf260f66f43227b9356f11f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.TQt;

public class TQJpUnicodeConv implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQJpUnicodeConv(Class dummy){}

	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;

	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 TQJpUnicodeConv newConverter(int rule);
	public TQJpUnicodeConv(int r) {
		newTQJpUnicodeConv(r);
	}
	private native void newTQJpUnicodeConv(int r);
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}