Last change
on this file was 373, checked in by cinc, 17 years ago |
Replaced forward class declarations in idl files by includes for the respective class idl files.
|
File size:
1.8 KB
|
Line | |
---|
1 | /*
|
---|
2 | * This file was generated by the NOM IDL compiler for Voyager - DO NOT EDIT!
|
---|
3 | *
|
---|
4 | *
|
---|
5 | * And remember, phase 3 is near...
|
---|
6 | */
|
---|
7 | /*
|
---|
8 | * Built from /Users/cinc/svn-sources/nom/trunk/nom/idl/nommethod.idl
|
---|
9 | */
|
---|
10 | #ifndef NOM_NOMMethod_IMPLEMENTATION_FILE
|
---|
11 | #define NOM_NOMMethod_IMPLEMENTATION_FILE
|
---|
12 | #endif
|
---|
13 |
|
---|
14 | #if __OS2__
|
---|
15 | #define INCL_DOS
|
---|
16 | #include <os2.h>
|
---|
17 | #endif /* __OS2__ */
|
---|
18 |
|
---|
19 | #include <nom.h>
|
---|
20 | #include <nomtk.h>
|
---|
21 |
|
---|
22 | #include "nommethod.ih"
|
---|
23 |
|
---|
24 |
|
---|
25 | /*
|
---|
26 | We donËt precalculate any instance data but just take the pointer to the static method info
|
---|
27 | generated by the IDL compiler.
|
---|
28 | */
|
---|
29 | NOMDLLEXPORT NOM_Scope void NOMLINK impl_NOMMethod_initData(NOMMethod* nomSelf,
|
---|
30 | const gpointer ptrMethodInfo,
|
---|
31 | CORBA_Environment *ev)
|
---|
32 | {
|
---|
33 | NOMMethodData* nomThis = NOMMethodGetData(nomSelf);
|
---|
34 |
|
---|
35 | _ptrMethodInfo=ptrMethodInfo;
|
---|
36 | }
|
---|
37 |
|
---|
38 |
|
---|
39 | NOMDLLEXPORT NOM_Scope NOMString* NOMLINK impl_NOMMethod_getName(NOMMethod* nomSelf,
|
---|
40 | CORBA_Environment *ev)
|
---|
41 | {
|
---|
42 | NOMMethodData* nomThis = NOMMethodGetData(nomSelf);
|
---|
43 | NOMString* nomRetval=NOMStringNew();
|
---|
44 | nomStaticMethodDesc* ptrMethodDesc=(nomStaticMethodDesc*)_ptrMethodInfo;
|
---|
45 |
|
---|
46 | if(ptrMethodDesc){
|
---|
47 | _assignString(nomRetval, (char*) *ptrMethodDesc->nomMethodId, NULL);
|
---|
48 | }
|
---|
49 |
|
---|
50 | return nomRetval;
|
---|
51 | }
|
---|
52 |
|
---|
53 | NOMDLLEXPORT NOM_Scope gpointer NOMLINK impl_NOMMethod_queryMethodToken(NOMMethod* nomSelf,
|
---|
54 | CORBA_Environment *ev)
|
---|
55 | {
|
---|
56 | NOMMethodData* nomThis = NOMMethodGetData(nomSelf);
|
---|
57 | gpointer nomRetval=NULL;
|
---|
58 | nomStaticMethodDesc* ptrMethodDesc=(nomStaticMethodDesc*)_ptrMethodInfo;
|
---|
59 |
|
---|
60 | if(ptrMethodDesc){
|
---|
61 | return ptrMethodDesc->nomMethod;
|
---|
62 | }
|
---|
63 |
|
---|
64 | return nomRetval;
|
---|
65 | }
|
---|
66 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.