home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / devtools / toolkt21 / c / os2h / wpsound.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-01  |  5.5 KB  |  219 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: wpsound.h.
  5.  * Generated using:
  6.  *     SOM Precompiler spc: 1.22
  7.  *     SOM Emitter emith: 1.11
  8.  */
  9.  
  10. /*
  11.  * 
  12.  *  Module Header
  13.  * 
  14.  *  Module Name: WPSOUND
  15.  * 
  16.  *  OS/2 Presentation Manager Workplace class definitions
  17.  * 
  18.  *  Copyright (c) International Business Machines Corporation 1991, 1992
  19.  * 
  20.  */
  21.  
  22.  
  23. #ifndef wpsound_h
  24. #define wpsound_h
  25.  
  26.  
  27. #include <som.h>
  28.  
  29. /*
  30.  * Define the class name as an object type
  31.  */
  32. #ifndef WPSound
  33. #define WPSound SOMAny
  34. #endif
  35. #include "wpabs.h"
  36.  
  37. #define WPSound_MajorVersion 1
  38. #define WPSound_MinorVersion 2
  39.  
  40. /*
  41.  * External name shortening if required
  42.  */
  43. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  44. #define WPSoundNewClass WPsouc
  45. #pragma linkage(WPsouc, system)
  46. #define WPSoundClassData WPsoud
  47. #define WPSoundCClassData WPsoux
  48. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  49. /*--------------Migration------------*/
  50. #define WPSound_classObj WPSoundClassData.classObject
  51. #define _WPSound WPSound_classObj
  52.  
  53. /*
  54.  * New and Renew macros for WPSound
  55.  */
  56. #define _WPSoundNew() (_somNew(WPSoundClassData.classObject))
  57. #define WPSoundNew() \
  58.     ( WPSoundClassData.classObject \
  59.         ? _WPSoundNew() \
  60.         : ( WPSoundNewClass(WPSound_MajorVersion, WPSound_MinorVersion), _WPSoundNew() ) )
  61. #define WPSoundRenew(buf) \
  62.     ( _somRenew(WPSoundClassData.classObject, buf) )
  63.  
  64. /*
  65.  * Override method: wpAddSettingsPages
  66.  */
  67. #define WPSound_wpAddSettingsPages(somSelf,hwndNotebook) \
  68.     WPObject_wpAddSettingsPages(somSelf,hwndNotebook)
  69.  
  70. /*
  71.  * Override method: wpAddObjectWindowPage
  72.  */
  73. #define WPSound_wpAddObjectWindowPage(somSelf,hwndNotebook) \
  74.     WPObject_wpAddObjectWindowPage(somSelf,hwndNotebook)
  75.  
  76. /*
  77.  * Override method: wpFilterPopupMenu
  78.  */
  79. #define WPSound_wpFilterPopupMenu(somSelf,ulFlags,hwndCnr,fMultiSelect) \
  80.     WPObject_wpFilterPopupMenu(somSelf,ulFlags,hwndCnr,fMultiSelect)
  81.  
  82. /*
  83.  * New Method: wpAddSoundWarningBeepPage
  84.  */
  85. typedef ULONG    SOMLINK somTP_WPSound_wpAddSoundWarningBeepPage(WPSound *somSelf,
  86.         HWND hwndNotebook);
  87. #pragma linkage(somTP_WPSound_wpAddSoundWarningBeepPage, system)
  88. typedef somTP_WPSound_wpAddSoundWarningBeepPage *somTD_WPSound_wpAddSoundWarningBeepPage;
  89. #define somMD_WPSound_wpAddSoundWarningBeepPage "----"
  90. #define WPSound_wpAddSoundWarningBeepPage(somSelf,hwndNotebook) \
  91.     (SOM_Resolve(somSelf, WPSound, wpAddSoundWarningBeepPage) \
  92.     (somSelf,hwndNotebook))
  93. #define _wpAddSoundWarningBeepPage WPSound_wpAddSoundWarningBeepPage
  94.  
  95. /*
  96.  * Declare the class creation procedure
  97.  */
  98. SOMEXTERN SOMAny * SOMLINK WPSoundNewClass(integer4 scemajorVersion,
  99.         integer4 sceminorVersion);
  100. #pragma linkage(WPSoundNewClass, system)
  101.  
  102. /*
  103.  * Declare the class data structure
  104.  */
  105. SOMEXTERN struct WPSoundClassDataStructure {
  106.     SOMAny *classObject;
  107.     somMToken wpAddSoundWarningBeepPage;
  108. } WPSoundClassData;
  109.  
  110. /*
  111.  * Declare the C specific class data structure
  112.  */
  113. SOMEXTERN struct WPSoundCClassDataStructure {
  114.     somMethodTab *parentMtab;
  115.     somDToken instanceDataToken;
  116. } WPSoundCClassData;
  117.  
  118. #endif       /* wpsound_h */
  119.  
  120. /*
  121.  * This file was generated by the SOM Compiler.
  122.  * FileName: wpsound.h.
  123.  * Generated using:
  124.  *     SOM Precompiler spc: 1.22
  125.  *     SOM Emitter emith: 1.11
  126.  */
  127.  
  128. #ifndef wpsound_mh
  129. #define wpsound_mh
  130.  
  131.  
  132. /*
  133.  * Define the class name as an object type
  134.  */
  135. #ifndef M_WPSound
  136. #define M_WPSound SOMAny
  137. #endif
  138.  
  139. #define M_WPSound_MajorVersion 1
  140. #define M_WPSound_MinorVersion 2
  141.  
  142. /*
  143.  * External name shortening if required
  144.  */
  145. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  146. #define M_WPSoundNewClass WPsouc
  147. #pragma linkage(WPsouc, system)
  148. #define M_WPSoundClassData WPsoud
  149. #define M_WPSoundCClassData WPsoux
  150. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  151. /*--------------Migration------------*/
  152. #define M_WPSound_classObj M_WPSoundClassData.classObject
  153. #define _M_WPSound M_WPSound_classObj
  154.  
  155. /*
  156.  * New and Renew macros for M_WPSound
  157.  */
  158. #define _M_WPSoundNew() (_somNew(M_WPSoundClassData.classObject))
  159. #define M_WPSoundNew() \
  160.     ( M_WPSoundClassData.classObject \
  161.         ? _M_WPSoundNew() \
  162.         : ( M_WPSoundNewClass(M_WPSound_MajorVersion, M_WPSound_MinorVersion), _M_WPSoundNew() ) )
  163. #define M_WPSoundRenew(buf) \
  164.     ( _somRenew(M_WPSoundClassData.classObject, buf) )
  165.  
  166. /*
  167.  * Override method: wpclsQueryTitle
  168.  */
  169. #define M_WPSound_wpclsQueryTitle(somSelf) \
  170.     M_WPObject_wpclsQueryTitle(somSelf)
  171.  
  172. /*
  173.  * Override method: wpclsQueryDefaultHelp
  174.  */
  175. #define M_WPSound_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
  176.     M_WPObject_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary)
  177.  
  178. /*
  179.  * Override method: wpclsQueryDefaultView
  180.  */
  181. #define M_WPSound_wpclsQueryDefaultView(somSelf) \
  182.     M_WPObject_wpclsQueryDefaultView(somSelf)
  183.  
  184. /*
  185.  * Override method: wpclsQueryStyle
  186.  */
  187. #define M_WPSound_wpclsQueryStyle(somSelf) \
  188.     M_WPObject_wpclsQueryStyle(somSelf)
  189.  
  190. /*
  191.  * Override method: wpclsQueryIconData
  192.  */
  193. #define M_WPSound_wpclsQueryIconData(somSelf,pIconInfo) \
  194.     M_WPObject_wpclsQueryIconData(somSelf,pIconInfo)
  195.  
  196. /*
  197.  * Declare the class creation procedure
  198.  */
  199. SOMEXTERN SOMAny * SOMLINK M_WPSoundNewClass(integer4 scemajorVersion,
  200.         integer4 sceminorVersion);
  201. #pragma linkage(M_WPSoundNewClass, system)
  202.  
  203. /*
  204.  * Declare the class data structure
  205.  */
  206. SOMEXTERN struct M_WPSoundClassDataStructure {
  207.     SOMAny *classObject;
  208. } M_WPSoundClassData;
  209.  
  210. /*
  211.  * Declare the C specific class data structure
  212.  */
  213. SOMEXTERN struct M_WPSoundCClassDataStructure {
  214.     somMethodTab *parentMtab;
  215.     somDToken instanceDataToken;
  216. } M_WPSoundCClassData;
  217.  
  218. #endif       /* wpsound_h */
  219.