home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / WPSDEM.ZIP / FOOT / FOOT.H < prev    next >
C/C++ Source or Header  |  1992-07-14  |  2KB  |  86 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: FOOT.h.
  5.  * Generated using:
  6.  *     SOM Precompiler spc: 1.22
  7.  *     SOM Emitter emith: 1.11
  8.  */
  9.  
  10. #ifndef FOOT_h
  11. #define FOOT_h
  12.  
  13.  
  14. #include <som.h>
  15.  
  16. /*
  17.  * Define the class name as an object type
  18.  */
  19. #ifndef OneFoot
  20. #define OneFoot SOMAny
  21. #endif
  22. #include "wpabs.h"
  23.  
  24. #define OneFoot_MajorVersion 1
  25. #define OneFoot_MinorVersion 1
  26.  
  27. /*
  28.  * External name shortening if required
  29.  */
  30. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  31. #define OneFootNewClass Footc
  32. #pragma linkage(Footc, system)
  33. #define OneFootClassData Footd
  34. #define OneFootCClassData Footx
  35. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  36. /*--------------Migration------------*/
  37. #define OneFoot_classObj OneFootClassData.classObject
  38. #define _OneFoot OneFoot_classObj
  39.  
  40. /*
  41.  * New and Renew macros for OneFoot
  42.  */
  43. #define _OneFootNew() (_somNew(OneFootClassData.classObject))
  44. #define OneFootNew() \
  45.     ( OneFootClassData.classObject \
  46.         ? _OneFootNew() \
  47.         : ( OneFootNewClass(OneFoot_MajorVersion, OneFoot_MinorVersion), _OneFootNew() ) )
  48. #define OneFootRenew(buf) \
  49.     ( _somRenew(OneFootClassData.classObject, buf) )
  50.  
  51. /*
  52.  * Override method: wpDrop
  53.  */
  54. #define OneFoot_wpDrop(somSelf,hwndCnr,pdrgInfo,pdrgItem) \
  55.     WPObject_wpDrop(somSelf,hwndCnr,pdrgInfo,pdrgItem)
  56.  
  57. /*
  58.  * Override method: wpOpen
  59.  */
  60. #define OneFoot_wpOpen(somSelf,hwndCnr,ulView,param) \
  61.     WPObject_wpOpen(somSelf,hwndCnr,ulView,param)
  62.  
  63. /*
  64.  * Declare the class creation procedure
  65.  */
  66. SOMEXTERN SOMAny * SOMLINK OneFootNewClass(integer4 scemajorVersion,
  67.         integer4 sceminorVersion);
  68. #pragma linkage(OneFootNewClass, system)
  69.  
  70. /*
  71.  * Declare the class data structure
  72.  */
  73. SOMEXTERN struct OneFootClassDataStructure {
  74.     SOMAny *classObject;
  75. } OneFootClassData;
  76.  
  77. /*
  78.  * Declare the C specific class data structure
  79.  */
  80. SOMEXTERN struct OneFootCClassDataStructure {
  81.     somMethodTab *parentMtab;
  82.     somDToken instanceDataToken;
  83. } OneFootCClassData;
  84.  
  85. #endif       /* FOOT_h */
  86.