1 | // tlb2java |
2 | package com.moesol.bindings.platform_sdk.data_services; |
3 | |
4 | |
5 | /** |
6 | * <code>IDL: [ helpstring(""), hidden, dual, nonextensible, oleautomation, dispatchable ] interface</code> |
7 | */ |
8 | public interface Command25 extends com.moesol.bindings.platform_sdk.data_services.Command15 { |
9 | public static final Class TYPELIB = TYPELIB_2A75196C_D9EB_4129_B803_931327F72D5C.class; |
10 | /** |
11 | * <code>IDL: [uuid(0000054E-0000-0010-8000-00AA006D2EA4)]</code> |
12 | */ |
13 | public static final com.moesol.bindings.platform_sdk.component_services.GUID IID = new com.moesol.bindings.platform_sdk.component_services.GUID( |
14 | 0x0000054e, (short)0x0000, (short)0x0010, |
15 | new byte[] { |
16 | (byte)0x80, (byte)0x00, |
17 | (byte)0x00, (byte)0xaa, (byte)0x00, (byte)0x6d, (byte)0x2e, (byte)0xa4 |
18 | } ); |
19 | |
20 | /** |
21 | * <code>IDL: [ helpstring("") ]</code> |
22 | * |
23 | * @return |
24 | * <code>IDL: [out] [retval] LONG*</code> |
25 | */ |
26 | public int getState(); |
27 | |
28 | /** |
29 | * <code>IDL: [ helpstring("") ]</code> |
30 | * |
31 | */ |
32 | public void Cancel(); |
33 | |
34 | |
35 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
36 | public static class Jni extends com.moesol.bindings.platform_sdk.data_services.Command15.Jni implements Command25 { |
37 | |
38 | protected Jni () { |
39 | } |
40 | |
41 | |
42 | private native int jni_getState(); |
43 | public int getState() { |
44 | |
45 | return jni_getState(); |
46 | } |
47 | |
48 | private native void jni_Cancel(); |
49 | public void Cancel() { |
50 | |
51 | jni_Cancel(); |
52 | } |
53 | |
54 | } |
55 | |
56 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
57 | public static class Disp extends com.moesol.bindings.platform_sdk.data_services.Command15.Disp { |
58 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
59 | return s_instance; |
60 | } |
61 | |
62 | private static Disp s_instance = new Disp(); |
63 | |
64 | protected Disp() { |
65 | addEntry(9, (short)2, "getState", "()I"); |
66 | addEntry(10, (short)1, "Cancel", "()V"); |
67 | } |
68 | } |
69 | } |