home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wpentk.zip / WBPENTK4.DSK / IDMRECO.IH < prev    next >
Text File  |  1994-10-07  |  8KB  |  249 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: ..\..\pentkt\h\idmreco.ih.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.7
  7.  *     SOM Emitter emitih: 2.22
  8.  */
  9.  
  10. /*
  11.  * 
  12.  *   idmreco.idl
  13.  * 
  14.  *   CLASS: IDMRecoResult
  15.  * 
  16.  *   CLASS HIERARCHY:
  17.  * 
  18.  *      SOMObject
  19.  *        └── IDMResult
  20.  *              └── IDMRecoResult
  21.  * 
  22.  *   DESCRIPTION:
  23.  * 
  24.  *      Input Data Reco Result class.
  25.  * 
  26.  */
  27.  
  28.  
  29. #ifndef SOM_IDMRecoResult_ih
  30. #define SOM_IDMRecoResult_ih
  31.  
  32. #pragma checkout(suspend)
  33.  
  34. #include <idmreco.h>
  35.  
  36. /*
  37.  * Set the scope of methods functions
  38.  */
  39. #ifndef SOM_Scope
  40. #ifdef __cplusplus
  41.   #define SOM_Scope extern "C"
  42. #else
  43.   #define SOM_Scope extern
  44. #endif  /* __cplusplus */
  45. #endif  /* SOM_Scope */
  46.  
  47. #ifndef SOM_CurrentClass
  48.     #define SOM_CurrentClass IDMRecoResultCClassData.parentMtab
  49. #endif  /* SOM_CurrentClass */
  50.  
  51. #define IDMRecoResult_MaxNoMethods 1
  52.  
  53. /*
  54.  * Instance data
  55.  */
  56. typedef void IDMRecoResultData;
  57.  
  58. /*
  59.  * Begin stuff that only goes in the primary file
  60.  */
  61. #if (defined(IDMRecoResult_Class_Source) || defined(SOM_Module_idmreco_Source))
  62.  
  63. /*
  64.  * Trace/Debug macro
  65.  */
  66. #ifndef IDMRecoResultMethodDebug
  67.    #define IDMRecoResultMethodDebug(c,m) SOMMethodDebug(c,m)
  68. #endif  /* IDMRecoResultMethodDebug */
  69.  
  70. /*
  71.  * Current class macros for Instance and Meta classes.
  72.  */
  73. #undef SOMMeta
  74. #define SOMMeta M_IDMRecoResultCClassData.parentMtab
  75. #undef SOMInstance
  76. #define SOMInstance IDMRecoResultCClassData.parentMtab
  77.  
  78. #ifndef M_IDMRecoResult_Class_Source
  79.    #define M_IDMRecoResult_Class_Source
  80. #endif    /* M_IDMRecoResult_Class_Source */
  81.  
  82. /*
  83.  * Generate the Apply Stubs.
  84.  */
  85. #pragma linkage(somAP_IDMReco_idmresGetRecoTrigger, system)
  86. static void SOMLINK somAP_IDMReco_idmresGetRecoTrigger(IDMRecoResult *somSelf,
  87.         ULONG *__retVal,
  88.         somMethodProc *__methodPtr,
  89.         va_list __ap)
  90. {
  91.     void *__somSelf = va_arg(__ap, void*);
  92.     Environment *ev = va_arg(__ap, Environment*);
  93.     SOM_IgnoreWarning(__ap);
  94.  
  95.     *__retVal = ((somTD_IDMRecoResult_idmresGetRecoTrigger) __methodPtr) (somSelf, ev);
  96. }
  97.  
  98.  
  99. /*
  100.  * Overridden method: idmresInitIdmResult
  101.  */
  102. #pragma linkage(IDMReco_idmresInitIdmResult, system)
  103. SOM_Scope void  SOMLINK IDMReco_idmresInitIdmResult(IDMRecoResult *somSelf, Environment *ev,
  104.         IDMObject* idmObject);
  105. #ifndef somMN_idmresInitIdmResult_defined
  106. #define somMN_idmresInitIdmResult_defined
  107.    static char *somMN_idmresInitIdmResult = "idmresInitIdmResult";
  108.    static somId somId_idmresInitIdmResult = &somMN_idmresInitIdmResult;
  109. #endif  /* somMN_idmresInitIdmResult_defined */
  110. #define IDMRecoResult_parent_IDMResult_idmresInitIdmResult(somSelf,ev,idmObject) \
  111.     ((SOM_ParentNumResolve(IDMResult, 1, IDMRecoResultCClassData.parentMtab, idmresInitIdmResult)) \
  112.      (somSelf,ev,idmObject))
  113. #ifndef SOMGD_pmc_IDMResult_idmresInitIdmResult
  114.   #ifdef parent_IDMResult_idmresInitIdmResult
  115.      #undef parent_IDMResult_idmresInitIdmResult
  116.      #define SOMGD_pmc_IDMResult_idmresInitIdmResult 1
  117.   #else
  118.      #define parent_IDMResult_idmresInitIdmResult IDMRecoResult_parent_IDMResult_idmresInitIdmResult
  119.   #endif /* parent_IDMResult_idmresInitIdmResult */
  120. #endif /* SOMGD_pmc_IDMResult_idmresInitIdmResult */
  121. #ifndef parent_idmresInitIdmResult
  122.    #define parent_idmresInitIdmResult(somSelf,ev,idmObject) \
  123.     ((SOM_ParentNumResolve(IDMResult, 1, SOM_CurrentClass, idmresInitIdmResult)) \
  124.      (somSelf,ev,idmObject))
  125. #endif  /* parent_idmresInitIdmResult */
  126. #define IDMRecoResult_parents_idmresInitIdmResult(arg0,arg1) \
  127.   (void) IDMRecoResult_parent_IDMResult_idmresInitIdmResult(arg0,arg1);
  128.  
  129. /*
  130.  * Initialize the class data structure
  131.  */
  132. struct IDMRecoResultClassDataStructure IDMRecoResultClassData = {(SOMAny *) NULL};
  133.  
  134. /*
  135.  * Define the C class data structure
  136.  */
  137. struct IDMRecoResultCClassDataStructure IDMRecoResultCClassData = {(somMethodTabs) NULL};
  138.  
  139. /*
  140.  * New Method: idmresGetRecoTrigger
  141.  */
  142. #pragma linkage(IDMReco_idmresGetRecoTrigger, system)
  143. SOM_Scope ULONG  SOMLINK IDMReco_idmresGetRecoTrigger(IDMRecoResult *somSelf, Environment *ev);
  144. #ifndef somMN_idmresGetRecoTrigger_defined
  145. #define somMN_idmresGetRecoTrigger_defined
  146. static char *somMN_idmresGetRecoTrigger = "idmresGetRecoTrigger";
  147. static somId somId_idmresGetRecoTrigger = &somMN_idmresGetRecoTrigger;
  148. #endif  /* somMN_idmresGetRecoTrigger_defined */
  149. #ifndef somDS_idmresGetRecoTrigger_defined
  150. #define somDS_idmresGetRecoTrigger_defined
  151. static char *somDS_idmresGetRecoTrigger = somMD_IDMRecoResult_idmresGetRecoTrigger;
  152. static somId somDI_idmresGetRecoTrigger = &somDS_idmresGetRecoTrigger;
  153. #endif  /* somDS_idmresGetRecoTrigger_defined */
  154. #pragma linkage(somRD_IDMReco_idmresGetRecoTrigger, system)
  155. static ULONG  SOMLINK somRD_IDMReco_idmresGetRecoTrigger(IDMRecoResult *somSelf, Environment *ev)
  156. {
  157.     ULONG __retVal;
  158.  
  159.     va_somDispatch(somSelf, (void **)&__retVal, somId_idmresGetRecoTrigger, somSelf , ev
  160.         );
  161.     return __retVal;
  162. }
  163.  
  164. /*
  165.  * Routines and Structures to create the class object
  166.  */
  167.  
  168. /*
  169.  * Declare the Static Methods table.
  170.  */
  171. static somStaticMethod_t IDMRecoResultSM[] = {
  172.     {    &IDMRecoResultClassData.idmresGetRecoTrigger,
  173.          &somId_idmresGetRecoTrigger,
  174.          &somDI_idmresGetRecoTrigger,
  175.          (somMethodProc *) IDMReco_idmresGetRecoTrigger,
  176.          (somMethodProc *) somRD_IDMReco_idmresGetRecoTrigger,
  177.          (somMethodProc *) somAP_IDMReco_idmresGetRecoTrigger    },
  178. };
  179.  
  180.  
  181. /*
  182.  * Declare the Override Methods table.
  183.  */
  184. static somOverrideMethod_t IDMRecoResultOM[] = {
  185.     {    &somId_idmresInitIdmResult,
  186.          (somMethodProc *) IDMReco_idmresInitIdmResult    },
  187. };
  188.  
  189.  
  190. /*
  191.  *  Initializers for class Ids
  192.  */
  193. static char * somCN_IDMRecoResult = "IDMRecoResult";
  194. static char * somPCN_IDMRecoResult_IDMResult = "IDMResult";
  195.  
  196. static somId somPCIDMRecoResult[] = {
  197.     &somPCN_IDMRecoResult_IDMResult,
  198. };
  199.  
  200. static somStaticClassInfo IDMRecoResultSCI = {
  201.     3, 1, 1, 0, 0, 0,
  202.     IDMRecoResult_MajorVersion, IDMRecoResult_MinorVersion,
  203.     0, IDMRecoResult_MaxNoMethods, 1,
  204.     &somCN_IDMRecoResult,
  205.     (somId) NULL, 1,
  206.     somPCIDMRecoResult,
  207.     (somClassDataStructure *) &IDMRecoResultClassData,
  208.     (somCClassDataStructure *) &IDMRecoResultCClassData,
  209.     IDMRecoResultSM, IDMRecoResultOM,
  210.     (char *) NULL,
  211.     (somNonInternalData_t *) NULL,  (somProcMethods_t *) NULL,
  212.     (somVarargsFuncs_t *) NULL,
  213.     (somTP_somClassInitFunc *) NULL,
  214.     0,
  215.     0,  /* old style class, zero directinitclasses */
  216.     0, /* no directinitclasses */
  217.     0, /* number of methods */
  218.     0, /* methods of the class */
  219.     0, /* dataOffset1 */
  220.     0, /* dataOffset2 */
  221.     0, /* number of SelectInheritedMethods */
  222.     0, /* SelectInheritedMethods */
  223.     0, /* number of releaseorder entries */
  224.     0, /* ReleaseOrder */
  225.     0, /* number of migrated methods */
  226.     0, /* migrated method implementations */
  227.     0, /* number of initializers */
  228.     0, /* initializers */
  229.     0, /* used to identify a DTS class */
  230.     0, /* used to register dynamically computed info */
  231. };
  232.  
  233.  
  234. IDMRecoResult * SOMLINK IDMRecoResultNewClass (integer4 somtmajorVersion,
  235.         integer4 somtminorVersion)
  236. {
  237.     IDMResultNewClass(IDMResult_MajorVersion,IDMResult_MinorVersion);    /* static reference */
  238.     return (somBuildClass(1,&IDMRecoResultSCI, somtmajorVersion, somtminorVersion));
  239. }
  240.  
  241. /*
  242.  * Functions for attributes.
  243.  */
  244.  
  245. #endif                   /* IDMRecoResult_Class_Source */
  246. #pragma checkout(resume)
  247.  
  248. #endif       /* SOM_IDMRecoResult_ih */
  249.