home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / devtools / os2tk21j / c / os2h / wpctry.h__ / wpctry.h
Encoding:
C/C++ Source or Header  |  1993-04-26  |  7.5 KB  |  268 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: wpctry.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: WPCTRY
  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 wpctry_h
  24. #define wpctry_h
  25.  
  26.  
  27. #include <som.h>
  28.  
  29. /*
  30.  * Define the class name as an object type
  31.  */
  32. #ifndef WPCountry
  33. #define WPCountry SOMAny
  34. #endif
  35. #include "wpabs.h"
  36.  
  37. #define WPCountry_MajorVersion 1
  38. #define WPCountry_MinorVersion 2
  39.  
  40. /*
  41.  * External name shortening if required
  42.  */
  43. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  44. #define WPCountryNewClass WPcouc
  45. #pragma linkage(WPcouc, system)
  46. #define WPCountryClassData WPcoud
  47. #define WPCountryCClassData WPcoux
  48. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  49. /*--------------Migration------------*/
  50. #define WPCountry_classObj WPCountryClassData.classObject
  51. #define _WPCountry WPCountry_classObj
  52.  
  53. /*
  54.  * New and Renew macros for WPCountry
  55.  */
  56. #define _WPCountryNew() (_somNew(WPCountryClassData.classObject))
  57. #define WPCountryNew() \
  58.     ( WPCountryClassData.classObject \
  59.         ? _WPCountryNew() \
  60.         : ( WPCountryNewClass(WPCountry_MajorVersion, WPCountry_MinorVersion), _WPCountryNew() ) )
  61. #define WPCountryRenew(buf) \
  62.     ( _somRenew(WPCountryClassData.classObject, buf) )
  63.  
  64. /*
  65.  * Override method: wpAddSettingsPages
  66.  */
  67. #define WPCountry_wpAddSettingsPages(somSelf,hwndNotebook) \
  68.     WPObject_wpAddSettingsPages(somSelf,hwndNotebook)
  69.  
  70. /*
  71.  * Override method: wpAddObjectWindowPage
  72.  */
  73. #define WPCountry_wpAddObjectWindowPage(somSelf,hwndNotebook) \
  74.     WPObject_wpAddObjectWindowPage(somSelf,hwndNotebook)
  75.  
  76. /*
  77.  * Override method: wpFilterPopupMenu
  78.  */
  79. #define WPCountry_wpFilterPopupMenu(somSelf,ulFlags,hwndCnr,fMultiSelect) \
  80.     WPObject_wpFilterPopupMenu(somSelf,ulFlags,hwndCnr,fMultiSelect)
  81.  
  82. /*
  83.  * Override method: wpInitData
  84.  */
  85. #define WPCountry_wpInitData(somSelf) \
  86.     WPObject_wpInitData(somSelf)
  87.  
  88. /*
  89.  * New Method: wpAddCountryTimePage
  90.  */
  91. typedef ULONG    SOMLINK somTP_WPCountry_wpAddCountryTimePage(WPCountry *somSelf,
  92.         HWND hwndNotebook);
  93. #pragma linkage(somTP_WPCountry_wpAddCountryTimePage, system)
  94. typedef somTP_WPCountry_wpAddCountryTimePage *somTD_WPCountry_wpAddCountryTimePage;
  95. #define somMD_WPCountry_wpAddCountryTimePage "----"
  96. #define WPCountry_wpAddCountryTimePage(somSelf,hwndNotebook) \
  97.     (SOM_Resolve(somSelf, WPCountry, wpAddCountryTimePage) \
  98.     (somSelf,hwndNotebook))
  99. #define _wpAddCountryTimePage WPCountry_wpAddCountryTimePage
  100.  
  101. /*
  102.  * New Method: wpAddCountryDatePage
  103.  */
  104. typedef ULONG    SOMLINK somTP_WPCountry_wpAddCountryDatePage(WPCountry *somSelf,
  105.         HWND hwndNotebook);
  106. #pragma linkage(somTP_WPCountry_wpAddCountryDatePage, system)
  107. typedef somTP_WPCountry_wpAddCountryDatePage *somTD_WPCountry_wpAddCountryDatePage;
  108. #define somMD_WPCountry_wpAddCountryDatePage "----"
  109. #define WPCountry_wpAddCountryDatePage(somSelf,hwndNotebook) \
  110.     (SOM_Resolve(somSelf, WPCountry, wpAddCountryDatePage) \
  111.     (somSelf,hwndNotebook))
  112. #define _wpAddCountryDatePage WPCountry_wpAddCountryDatePage
  113.  
  114. /*
  115.  * New Method: wpAddCountryNumbersPage
  116.  */
  117. typedef ULONG    SOMLINK somTP_WPCountry_wpAddCountryNumbersPage(WPCountry *somSelf,
  118.         HWND hwndNotebook);
  119. #pragma linkage(somTP_WPCountry_wpAddCountryNumbersPage, system)
  120. typedef somTP_WPCountry_wpAddCountryNumbersPage *somTD_WPCountry_wpAddCountryNumbersPage;
  121. #define somMD_WPCountry_wpAddCountryNumbersPage "----"
  122. #define WPCountry_wpAddCountryNumbersPage(somSelf,hwndNotebook) \
  123.     (SOM_Resolve(somSelf, WPCountry, wpAddCountryNumbersPage) \
  124.     (somSelf,hwndNotebook))
  125. #define _wpAddCountryNumbersPage WPCountry_wpAddCountryNumbersPage
  126.  
  127. /*
  128.  * New Method: wpAddCountryPage
  129.  */
  130. typedef ULONG    SOMLINK somTP_WPCountry_wpAddCountryPage(WPCountry *somSelf,
  131.         HWND hwndNotebook);
  132. #pragma linkage(somTP_WPCountry_wpAddCountryPage, system)
  133. typedef somTP_WPCountry_wpAddCountryPage *somTD_WPCountry_wpAddCountryPage;
  134. #define somMD_WPCountry_wpAddCountryPage "----"
  135. #define WPCountry_wpAddCountryPage(somSelf,hwndNotebook) \
  136.     (SOM_Resolve(somSelf, WPCountry, wpAddCountryPage) \
  137.     (somSelf,hwndNotebook))
  138. #define _wpAddCountryPage WPCountry_wpAddCountryPage
  139.  
  140. /*
  141.  * Declare the class creation procedure
  142.  */
  143. SOMEXTERN SOMAny * SOMLINK WPCountryNewClass(integer4 scemajorVersion,
  144.         integer4 sceminorVersion);
  145. #pragma linkage(WPCountryNewClass, system)
  146.  
  147. /*
  148.  * Declare the class data structure
  149.  */
  150. SOMEXTERN struct WPCountryClassDataStructure {
  151.     SOMAny *classObject;
  152.     somMToken wpAddCountryTimePage;
  153.     somMToken wpAddCountryDatePage;
  154.     somMToken withdrawn;
  155.     somMToken wpAddCountryPage;
  156.     somMToken wpAddCountryNumbersPage;
  157. } WPCountryClassData;
  158.  
  159. /*
  160.  * Declare the C specific class data structure
  161.  */
  162. SOMEXTERN struct WPCountryCClassDataStructure {
  163.     somMethodTab *parentMtab;
  164.     somDToken instanceDataToken;
  165. } WPCountryCClassData;
  166.  
  167. #endif       /* wpctry_h */
  168.  
  169. /*
  170.  * This file was generated by the SOM Compiler.
  171.  * FileName: wpctry.h.
  172.  * Generated using:
  173.  *     SOM Precompiler spc: 1.22
  174.  *     SOM Emitter emith: 1.11
  175.  */
  176.  
  177. #ifndef wpctry_mh
  178. #define wpctry_mh
  179.  
  180.  
  181. /*
  182.  * Define the class name as an object type
  183.  */
  184. #ifndef M_WPCountry
  185. #define M_WPCountry SOMAny
  186. #endif
  187.  
  188. #define M_WPCountry_MajorVersion 1
  189. #define M_WPCountry_MinorVersion 2
  190.  
  191. /*
  192.  * External name shortening if required
  193.  */
  194. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  195. #define M_WPCountryNewClass WPcouc
  196. #pragma linkage(WPcouc, system)
  197. #define M_WPCountryClassData WPcoud
  198. #define M_WPCountryCClassData WPcoux
  199. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  200. /*--------------Migration------------*/
  201. #define M_WPCountry_classObj M_WPCountryClassData.classObject
  202. #define _M_WPCountry M_WPCountry_classObj
  203.  
  204. /*
  205.  * New and Renew macros for M_WPCountry
  206.  */
  207. #define _M_WPCountryNew() (_somNew(M_WPCountryClassData.classObject))
  208. #define M_WPCountryNew() \
  209.     ( M_WPCountryClassData.classObject \
  210.         ? _M_WPCountryNew() \
  211.         : ( M_WPCountryNewClass(M_WPCountry_MajorVersion, M_WPCountry_MinorVersion), _M_WPCountryNew() ) )
  212. #define M_WPCountryRenew(buf) \
  213.     ( _somRenew(M_WPCountryClassData.classObject, buf) )
  214.  
  215. /*
  216.  * Override method: wpclsQueryTitle
  217.  */
  218. #define M_WPCountry_wpclsQueryTitle(somSelf) \
  219.     M_WPObject_wpclsQueryTitle(somSelf)
  220.  
  221. /*
  222.  * Override method: wpclsQueryDefaultHelp
  223.  */
  224. #define M_WPCountry_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
  225.     M_WPObject_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary)
  226.  
  227. /*
  228.  * Override method: wpclsQueryDefaultView
  229.  */
  230. #define M_WPCountry_wpclsQueryDefaultView(somSelf) \
  231.     M_WPObject_wpclsQueryDefaultView(somSelf)
  232.  
  233. /*
  234.  * Override method: wpclsQueryStyle
  235.  */
  236. #define M_WPCountry_wpclsQueryStyle(somSelf) \
  237.     M_WPObject_wpclsQueryStyle(somSelf)
  238.  
  239. /*
  240.  * Override method: wpclsQueryIconData
  241.  */
  242. #define M_WPCountry_wpclsQueryIconData(somSelf,pIconInfo) \
  243.     M_WPObject_wpclsQueryIconData(somSelf,pIconInfo)
  244.  
  245. /*
  246.  * Declare the class creation procedure
  247.  */
  248. SOMEXTERN SOMAny * SOMLINK M_WPCountryNewClass(integer4 scemajorVersion,
  249.         integer4 sceminorVersion);
  250. #pragma linkage(M_WPCountryNewClass, system)
  251.  
  252. /*
  253.  * Declare the class data structure
  254.  */
  255. SOMEXTERN struct M_WPCountryClassDataStructure {
  256.     SOMAny *classObject;
  257. } M_WPCountryClassData;
  258.  
  259. /*
  260.  * Declare the C specific class data structure
  261.  */
  262. SOMEXTERN struct M_WPCountryCClassDataStructure {
  263.     somMethodTab *parentMtab;
  264.     somDToken instanceDataToken;
  265. } M_WPCountryCClassData;
  266.  
  267. #endif       /* wpctry_h */
  268.