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