1 | // tlb2java |
2 | package com.moesol.tests.disp.com_server; |
3 | |
4 | /** |
5 | * <code>IDL: [ helpstring("Dual Class"), creatable ]</code> |
6 | * <p/> |
7 | * <code>coclass Dual {<br/> |
8 | * [default] dispatch {@link IDual}<br/> |
9 | * dispatch {@link IExtraDual}<br/> |
10 | * dispatch {@link IDual2}<br/> |
11 | * [default, source] dispatch {@link DTestServerEvents}<br/> |
12 | * };</code> |
13 | */ |
14 | public class Dual extends com.moesol.tests.disp.com_server.IDual.Jni { |
15 | public static final Class TYPELIB = TYPELIB_E149EE62_34AE_4D0A_B9E2_3ACA3FAD59F8.class; |
16 | /** |
17 | * <code>IDL: [uuid(19C11C21-3A15-47E2-A436-846664DA2E8D)]</code> |
18 | */ |
19 | public static final com.moesol.bindings.platform_sdk.component_services.GUID CLSID = new com.moesol.bindings.platform_sdk.component_services.GUID( |
20 | 0x19c11c21, (short)0x3a15, (short)0x47e2, |
21 | new byte[] { |
22 | (byte)0xa4, (byte)0x36, |
23 | (byte)0x84, (byte)0x66, (byte)0x64, (byte)0xda, (byte)0x2e, (byte)0x8d |
24 | } ); |
25 | /** |
26 | * Create a new instance using <code>CLSCTX_ALL</code>. |
27 | */ |
28 | public Dual() { |
29 | MoeSolInternal.coclassConstruct(this, CLSID, com.moesol.tests.disp.com_server.IDual.IID); |
30 | } |
31 | /** |
32 | * Create a new instance. |
33 | * @param clsctx Context in which the code that manages the newly created object will run. |
34 | * The values are taken from the enumeration <code>CLSCTX</code>. |
35 | */ |
36 | public Dual(int clsctx) { |
37 | MoeSolInternal.coclassConstruct(this, CLSID, com.moesol.tests.disp.com_server.IDual.IID, clsctx); |
38 | } |
39 | |
40 | |
41 | /** |
42 | * Add a listener for DTestServerEvents. |
43 | */ |
44 | public int addDTestServerEventsListener( DTestServerEvents l) { |
45 | return MoeSolInternal.addListener(this, l, DTestServerEvents.IID); |
46 | } |
47 | |
48 | /** |
49 | * Remove listener for DTestServerEvents. |
50 | */ |
51 | public void removeDTestServerEventsListener( DTestServerEvents l) { |
52 | MoeSolInternal.removeListener(this, l, DTestServerEvents.IID); |
53 | } |
54 | |
55 | } |