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

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: ..\..\pentkt\h\idmgest.ih.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.7
  7.  *     SOM Emitter emitih: 2.22
  8.  */
  9.  
  10. /*
  11.  * 
  12.  *   idmgest.idl
  13.  * 
  14.  *   CLASS: IDMGestureResult
  15.  * 
  16.  *   CLASS HIERARCHY:
  17.  * 
  18.  *      SOMObject
  19.  *        └── IDMResult
  20.  *              └── IDMRecoResult
  21.  *                    └── IDMGestureResult
  22.  * 
  23.  *   DESCRIPTION:
  24.  * 
  25.  *      Input Data Gesture Result class.
  26.  * 
  27.  */
  28.  
  29.  
  30. #ifndef SOM_IDMGestureResult_ih
  31. #define SOM_IDMGestureResult_ih
  32.  
  33. #pragma checkout(suspend)
  34.  
  35. #include <idmgest.h>
  36.  
  37. /*
  38.  * Set the scope of methods functions
  39.  */
  40. #ifndef SOM_Scope
  41. #ifdef __cplusplus
  42.   #define SOM_Scope extern "C"
  43. #else
  44.   #define SOM_Scope extern
  45. #endif  /* __cplusplus */
  46. #endif  /* SOM_Scope */
  47.  
  48. #ifndef SOM_CurrentClass
  49.     #define SOM_CurrentClass IDMGestureResultCClassData.parentMtab
  50. #endif  /* SOM_CurrentClass */
  51.  
  52. #define IDMGestureResult_MaxNoMethods 0
  53.  
  54. /*
  55.  * Instance data
  56.  */
  57. typedef void IDMGestureResultData;
  58.  
  59. /*
  60.  * Begin stuff that only goes in the primary file
  61.  */
  62. #if (defined(IDMGestureResult_Class_Source) || defined(SOM_Module_idmgest_Source))
  63.  
  64. /*
  65.  * Trace/Debug macro
  66.  */
  67. #ifndef IDMGestureResultMethodDebug
  68.    #define IDMGestureResultMethodDebug(c,m) SOMMethodDebug(c,m)
  69. #endif  /* IDMGestureResultMethodDebug */
  70.  
  71. /*
  72.  * Current class macros for Instance and Meta classes.
  73.  */
  74. #undef SOMMeta
  75. #define SOMMeta M_IDMGestureResultCClassData.parentMtab
  76. #undef SOMInstance
  77. #define SOMInstance IDMGestureResultCClassData.parentMtab
  78.  
  79. #ifndef M_IDMGestureResult_Class_Source
  80.    #define M_IDMGestureResult_Class_Source
  81. #endif    /* M_IDMGestureResult_Class_Source */
  82.  
  83. /*
  84.  * Generate the Apply Stubs.
  85.  */
  86.  
  87. /*
  88.  * Overridden method: idmresInitIdmResult
  89.  */
  90. #pragma linkage(IDMGest_idmresInitIdmResult, system)
  91. SOM_Scope void  SOMLINK IDMGest_idmresInitIdmResult(IDMGestureResult *somSelf, Environment *ev,
  92.         IDMObject* idmObject);
  93. #ifndef somMN_idmresInitIdmResult_defined
  94. #define somMN_idmresInitIdmResult_defined
  95.    static char *somMN_idmresInitIdmResult = "idmresInitIdmResult";
  96.    static somId somId_idmresInitIdmResult = &somMN_idmresInitIdmResult;
  97. #endif  /* somMN_idmresInitIdmResult_defined */
  98. #define IDMGestureResult_parent_IDMRecoResult_idmresInitIdmResult(somSelf,ev,idmObject) \
  99.     ((SOM_ParentNumResolve(IDMResult, 1, IDMGestureResultCClassData.parentMtab, idmresInitIdmResult)) \
  100.      (somSelf,ev,idmObject))
  101. #ifndef SOMGD_pmc_IDMRecoResult_idmresInitIdmResult
  102.   #ifdef parent_IDMRecoResult_idmresInitIdmResult
  103.      #undef parent_IDMRecoResult_idmresInitIdmResult
  104.      #define SOMGD_pmc_IDMRecoResult_idmresInitIdmResult 1
  105.   #else
  106.      #define parent_IDMRecoResult_idmresInitIdmResult IDMGestureResult_parent_IDMRecoResult_idmresInitIdmResult
  107.   #endif /* parent_IDMRecoResult_idmresInitIdmResult */
  108. #endif /* SOMGD_pmc_IDMRecoResult_idmresInitIdmResult */
  109. #ifndef parent_idmresInitIdmResult
  110.    #define parent_idmresInitIdmResult(somSelf,ev,idmObject) \
  111.     ((SOM_ParentNumResolve(IDMResult, 1, SOM_CurrentClass, idmresInitIdmResult)) \
  112.      (somSelf,ev,idmObject))
  113. #endif  /* parent_idmresInitIdmResult */
  114. #define IDMGestureResult_parents_idmresInitIdmResult(arg0,arg1) \
  115.   (void) IDMGestureResult_parent_IDMRecoResult_idmresInitIdmResult(arg0,arg1);
  116.  
  117. /*
  118.  * Initialize the class data structure
  119.  */
  120. struct IDMGestureResultClassDataStructure IDMGestureResultClassData = {(SOMAny *) NULL};
  121.  
  122. /*
  123.  * Define the C class data structure
  124.  */
  125. struct IDMGestureResultCClassDataStructure IDMGestureResultCClassData = {(somMethodTabs) NULL};
  126.  
  127. /*
  128.  * Routines and Structures to create the class object
  129.  */
  130.  
  131. /*
  132.  * Declare the Override Methods table.
  133.  */
  134. static somOverrideMethod_t IDMGestureResultOM[] = {
  135.     {    &somId_idmresInitIdmResult,
  136.          (somMethodProc *) IDMGest_idmresInitIdmResult    },
  137. };
  138.  
  139.  
  140. /*
  141.  *  Initializers for class Ids
  142.  */
  143. static char * somCN_IDMGestureResult = "IDMGestureResult";
  144. static char * somPCN_IDMGestureResult_IDMRecoResult = "IDMRecoResult";
  145.  
  146. static somId somPCIDMGestureResult[] = {
  147.     &somPCN_IDMGestureResult_IDMRecoResult,
  148. };
  149.  
  150. static somStaticClassInfo IDMGestureResultSCI = {
  151.     3, 0, 1, 0, 0, 0,
  152.     IDMGestureResult_MajorVersion, IDMGestureResult_MinorVersion,
  153.     0, IDMGestureResult_MaxNoMethods, 1,
  154.     &somCN_IDMGestureResult,
  155.     (somId) NULL, 1,
  156.     somPCIDMGestureResult,
  157.     (somClassDataStructure *) &IDMGestureResultClassData,
  158.     (somCClassDataStructure *) &IDMGestureResultCClassData,
  159.     (somStaticMethod_t *) NULL, IDMGestureResultOM,
  160.     (char *) NULL,
  161.     (somNonInternalData_t *) NULL,  (somProcMethods_t *) NULL,
  162.     (somVarargsFuncs_t *) NULL,
  163.     (somTP_somClassInitFunc *) NULL,
  164.     0,
  165.     0,  /* old style class, zero directinitclasses */
  166.     0, /* no directinitclasses */
  167.     0, /* number of methods */
  168.     0, /* methods of the class */
  169.     0, /* dataOffset1 */
  170.     0, /* dataOffset2 */
  171.     0, /* number of SelectInheritedMethods */
  172.     0, /* SelectInheritedMethods */
  173.     0, /* number of releaseorder entries */
  174.     0, /* ReleaseOrder */
  175.     0, /* number of migrated methods */
  176.     0, /* migrated method implementations */
  177.     0, /* number of initializers */
  178.     0, /* initializers */
  179.     0, /* used to identify a DTS class */
  180.     0, /* used to register dynamically computed info */
  181. };
  182.  
  183.  
  184. IDMGestureResult * SOMLINK IDMGestureResultNewClass (integer4 somtmajorVersion,
  185.         integer4 somtminorVersion)
  186. {
  187.     IDMRecoResultNewClass(IDMRecoResult_MajorVersion,IDMRecoResult_MinorVersion);    /* static reference */
  188.     return (somBuildClass(1,&IDMGestureResultSCI, somtmajorVersion, somtminorVersion));
  189. }
  190.  
  191. /*
  192.  * Functions for attributes.
  193.  */
  194.  
  195. #endif                   /* IDMGestureResult_Class_Source */
  196. #pragma checkout(resume)
  197.  
  198. #endif       /* SOM_IDMGestureResult_ih */
  199.