home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / header45.zip / wpctry.h < prev    next >
C/C++ Source or Header  |  1999-03-15  |  27KB  |  645 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: E:\cwpsh\rel\os2c\include\base\os2\wpctry.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.29.1.14
  7.  *     SOM Emitter emith: 2.43
  8.  */
  9.  
  10. /*
  11.  *   Module Header
  12.  * 
  13.  *   Module Name: WPCTRY
  14.  * 
  15.  *   OS/2 Presentation Manager Workplace class definitions
  16.  * 
  17.  *   Copyright (c) International Business Machines Corporation 1991, 1992
  18.  * 
  19.  */
  20.  
  21.  
  22. #ifndef SOM_WPCountry_h
  23. #define SOM_WPCountry_h
  24.  
  25.  
  26. #include <som.h>
  27.  
  28. /*
  29.  * -- This emitter treats Method Tokens as Thunks by default.
  30.  * -- Use the sc modifier "nothunks" to change this default
  31.  */
  32. #undef somresolve_
  33. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  34.  
  35. /*
  36.  * Define the class name as an object type
  37.  */
  38. #ifndef WPCountry
  39. #define WPCountry SOMObject
  40. #endif
  41. #include <wpabs.h>
  42.  
  43. /*
  44.  * Start of bindings for IDL types
  45.  */
  46.  
  47. #ifndef SOMClass
  48.     #define SOMClass SOMObject
  49. #endif /* SOMClass */
  50. #ifndef WPFolder
  51.     #define WPFolder SOMObject
  52. #endif /* WPFolder */
  53. #ifndef M_WPObject
  54.     #define M_WPObject SOMObject
  55. #endif /* M_WPObject */
  56. #ifndef WPObject
  57.     #define WPObject SOMObject
  58. #endif /* WPObject */
  59. #ifndef WPImageFile
  60.     #define WPImageFile SOMObject
  61. #endif /* WPImageFile */
  62. #ifndef M_WPAbstract
  63.     #define M_WPAbstract SOMObject
  64. #endif /* M_WPAbstract */
  65. #ifndef M_WPCountry
  66.     #define M_WPCountry SOMObject
  67. #endif /* M_WPCountry */
  68.  
  69. /*
  70.  * End of bindings for IDL types.
  71.  */
  72.  
  73. #define WPCountry_MajorVersion 1
  74. #define WPCountry_MinorVersion 2
  75.  
  76. /*
  77.  * External name shortening if required
  78.  */
  79. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  80. #define WPCountryNewClass WPcouc
  81. #pragma linkage(WPcouc, system)
  82. #define WPCountryClassData WPcoud
  83. #define WPCountryCClassData WPcoux
  84. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  85.  
  86. /*
  87.  * Include the meta class file
  88.  */
  89. #include <wpctry.h>
  90. /*--------------Migration------------*/
  91. #define WPCountry_classObj WPCountryClassData.classObject
  92. #define _WPCountry WPCountry_classObj
  93.  
  94. /*
  95.  * Declare the class creation procedure
  96.  */
  97. SOMEXTERN SOMClass * SOMLINK WPCountryNewClass(integer4 somtmajorVersion,
  98.         integer4 somtminorVersion);
  99. #pragma linkage(WPCountryNewClass, system)
  100.  
  101. /*
  102.  * Declare the class data structure
  103.  */
  104. SOMEXTERN struct WPCountryClassDataStructure {
  105.     SOMClass *classObject;
  106.     somMToken wpAddCountryTimePage;
  107.     somMToken wpAddCountryDatePage;
  108.     somMToken withdrawn;
  109.     somMToken wpAddCountryPage;
  110.     somMToken wpAddCountryNumbersPage;
  111. } SOMDLINK WPCountryClassData;
  112.  
  113. /*
  114.  * Declare the C specific class data structure
  115.  */
  116. SOMEXTERN struct WPCountryCClassDataStructure {
  117.     somMethodTabs parentMtab;
  118.     somDToken instanceDataToken;
  119. } SOMDLINK WPCountryCClassData;
  120.  
  121. /*
  122.  * New and Renew macros for WPCountry
  123.  */
  124. #define WPCountryNew() \
  125.    ( _WPCountry ? \
  126.     _somNew(_WPCountry) \
  127.     : ( WPCountryNewClass(\
  128.         WPCountry_MajorVersion, \
  129.         WPCountry_MinorVersion),\
  130.        _somNew(_WPCountry)))
  131. #define WPCountryRenew(buf) \
  132.    ( _WPCountry ? \
  133.     _somRenew(_WPCountry, buf) \
  134.     : ( WPCountryNewClass(\
  135.         WPCountry_MajorVersion, \
  136.         WPCountry_MinorVersion),\
  137.        _somRenew(_WPCountry, buf)))
  138.  
  139. /*
  140.  * Override method: wpAddSettingsPages
  141.  */
  142. #define WPCountry_wpAddSettingsPages(somSelf,hwndNotebook) \
  143.     WPObject_wpAddSettingsPages(somSelf,hwndNotebook)
  144.  
  145. /*
  146.  * Override method: wpAddObjectWindowPage
  147.  */
  148. #define WPCountry_wpAddObjectWindowPage(somSelf,hwndNotebook) \
  149.     WPObject_wpAddObjectWindowPage(somSelf,hwndNotebook)
  150.  
  151. /*
  152.  * Override method: wpInitData
  153.  */
  154. #define WPCountry_wpInitData(somSelf) \
  155.     WPObject_wpInitData(somSelf)
  156.  
  157. /*
  158.  * Override method: wpFilterMenu
  159.  */
  160. #define WPCountry_wpFilterMenu(somSelf,pFlags,hwndCnr,fMultiSelect,ulMenuType,ulView,ulReserved) \
  161.     WPObject_wpFilterMenu(somSelf,pFlags,hwndCnr,fMultiSelect,ulMenuType,ulView,ulReserved)
  162.  
  163. /*
  164.  * Override method: somDefaultInit
  165.  */
  166. #define WPCountry_somDefaultInit(somSelf,ctrl) \
  167.     SOMObject_somDefaultInit(somSelf,ctrl)
  168.  
  169. /*
  170.  * Override method: somDestruct
  171.  */
  172. #define WPCountry_somDestruct(somSelf,doFree,ctrl) \
  173.     SOMObject_somDestruct(somSelf,doFree,ctrl)
  174.  
  175. /*
  176.  * New Method: wpAddCountryTimePage
  177.  */
  178. typedef ULONG   SOMLINK somTP_WPCountry_wpAddCountryTimePage(WPCountry *somSelf, 
  179.         HWND hwndNotebook);
  180. #pragma linkage(somTP_WPCountry_wpAddCountryTimePage, system)
  181. typedef somTP_WPCountry_wpAddCountryTimePage *somTD_WPCountry_wpAddCountryTimePage;
  182. #define somMD_WPCountry_wpAddCountryTimePage "::WPCountry::wpAddCountryTimePage"
  183. #define WPCountry_wpAddCountryTimePage(somSelf,hwndNotebook) \
  184.     (SOM_Resolve(somSelf, WPCountry, wpAddCountryTimePage) \
  185.     (somSelf,hwndNotebook))
  186. #ifndef SOMGD_wpAddCountryTimePage
  187.     #if (defined(_wpAddCountryTimePage) || defined(__wpAddCountryTimePage))
  188.         #undef _wpAddCountryTimePage
  189.         #undef __wpAddCountryTimePage
  190.         #define SOMGD_wpAddCountryTimePage 1
  191.     #else
  192.         #define _wpAddCountryTimePage WPCountry_wpAddCountryTimePage
  193.     #endif /* _wpAddCountryTimePage */
  194. #endif /* SOMGD_wpAddCountryTimePage */
  195.  
  196. /*
  197.  * New Method: wpAddCountryDatePage
  198.  */
  199. typedef ULONG   SOMLINK somTP_WPCountry_wpAddCountryDatePage(WPCountry *somSelf, 
  200.         HWND hwndNotebook);
  201. #pragma linkage(somTP_WPCountry_wpAddCountryDatePage, system)
  202. typedef somTP_WPCountry_wpAddCountryDatePage *somTD_WPCountry_wpAddCountryDatePage;
  203. #define somMD_WPCountry_wpAddCountryDatePage "::WPCountry::wpAddCountryDatePage"
  204. #define WPCountry_wpAddCountryDatePage(somSelf,hwndNotebook) \
  205.     (SOM_Resolve(somSelf, WPCountry, wpAddCountryDatePage) \
  206.     (somSelf,hwndNotebook))
  207. #ifndef SOMGD_wpAddCountryDatePage
  208.     #if (defined(_wpAddCountryDatePage) || defined(__wpAddCountryDatePage))
  209.         #undef _wpAddCountryDatePage
  210.         #undef __wpAddCountryDatePage
  211.         #define SOMGD_wpAddCountryDatePage 1
  212.     #else
  213.         #define _wpAddCountryDatePage WPCountry_wpAddCountryDatePage
  214.     #endif /* _wpAddCountryDatePage */
  215. #endif /* SOMGD_wpAddCountryDatePage */
  216.  
  217. /*
  218.  * New Method: wpAddCountryNumbersPage
  219.  */
  220. typedef ULONG   SOMLINK somTP_WPCountry_wpAddCountryNumbersPage(WPCountry *somSelf, 
  221.         HWND hwndNotebook);
  222. #pragma linkage(somTP_WPCountry_wpAddCountryNumbersPage, system)
  223. typedef somTP_WPCountry_wpAddCountryNumbersPage *somTD_WPCountry_wpAddCountryNumbersPage;
  224. #define somMD_WPCountry_wpAddCountryNumbersPage "::WPCountry::wpAddCountryNumbersPage"
  225. #define WPCountry_wpAddCountryNumbersPage(somSelf,hwndNotebook) \
  226.     (SOM_Resolve(somSelf, WPCountry, wpAddCountryNumbersPage) \
  227.     (somSelf,hwndNotebook))
  228. #ifndef SOMGD_wpAddCountryNumbersPage
  229.     #if (defined(_wpAddCountryNumbersPage) || defined(__wpAddCountryNumbersPage))
  230.         #undef _wpAddCountryNumbersPage
  231.         #undef __wpAddCountryNumbersPage
  232.         #define SOMGD_wpAddCountryNumbersPage 1
  233.     #else
  234.         #define _wpAddCountryNumbersPage WPCountry_wpAddCountryNumbersPage
  235.     #endif /* _wpAddCountryNumbersPage */
  236. #endif /* SOMGD_wpAddCountryNumbersPage */
  237.  
  238. /*
  239.  * New Method: wpAddCountryPage
  240.  */
  241. typedef ULONG   SOMLINK somTP_WPCountry_wpAddCountryPage(WPCountry *somSelf, 
  242.         HWND hwndNotebook);
  243. #pragma linkage(somTP_WPCountry_wpAddCountryPage, system)
  244. typedef somTP_WPCountry_wpAddCountryPage *somTD_WPCountry_wpAddCountryPage;
  245. #define somMD_WPCountry_wpAddCountryPage "::WPCountry::wpAddCountryPage"
  246. #define WPCountry_wpAddCountryPage(somSelf,hwndNotebook) \
  247.     (SOM_Resolve(somSelf, WPCountry, wpAddCountryPage) \
  248.     (somSelf,hwndNotebook))
  249. #ifndef SOMGD_wpAddCountryPage
  250.     #if (defined(_wpAddCountryPage) || defined(__wpAddCountryPage))
  251.         #undef _wpAddCountryPage
  252.         #undef __wpAddCountryPage
  253.         #define SOMGD_wpAddCountryPage 1
  254.     #else
  255.         #define _wpAddCountryPage WPCountry_wpAddCountryPage
  256.     #endif /* _wpAddCountryPage */
  257. #endif /* SOMGD_wpAddCountryPage */
  258. #ifndef SOM_DONT_USE_INHERITED_MACROS
  259. #define WPCountry_wpQueryHandle WPObject_wpQueryHandle
  260. #define WPCountry_wpSaveImmediate WPObject_wpSaveImmediate
  261. #define WPCountry_wpSaveState WPObject_wpSaveState
  262. #define WPCountry_wpRestoreState WPObject_wpRestoreState
  263. #define WPCountry_wpSetTitle WPObject_wpSetTitle
  264. #define WPCountry_wpCopyObject WPObject_wpCopyObject
  265. #define WPCountry_wpMoveObject WPObject_wpMoveObject
  266. #define WPCountry_wpQueryIcon WPObject_wpQueryIcon
  267. #define WPCountry_wpQueryIconData WPObject_wpQueryIconData
  268. #define WPCountry_wpSetIconData WPObject_wpSetIconData
  269. #define WPCountry_wpDragOver WPObject_wpDragOver
  270. #define WPCountry_wpReplaceObject WPObject_wpReplaceObject
  271. #define WPCountry_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
  272. #define WPCountry_wpIdentify WPObject_wpIdentify
  273. #define WPCountry_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
  274. #define WPCountry_wpAddObjectGeneralPage2 WPObject_wpAddObjectGeneralPage2
  275. #define WPCountry_wpAddToObjUseList WPObject_wpAddToObjUseList
  276. #define WPCountry_wpAllocMem WPObject_wpAllocMem
  277. #define WPCountry_wpAppendObject WPObject_wpAppendObject
  278. #define WPCountry_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
  279. #define WPCountry_wpClose WPObject_wpClose
  280. #define WPCountry_wpCnrInsertObject WPObject_wpCnrInsertObject
  281. #define WPCountry_wpCnrRemoveObject WPObject_wpCnrRemoveObject
  282. #define WPCountry_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
  283. #define WPCountry_wpConfirmDelete WPObject_wpConfirmDelete
  284. #define WPCountry_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
  285. #define WPCountry_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
  286. #define WPCountry_wpCreateAnother WPObject_wpCreateAnother
  287. #define WPCountry_wpCreateFromTemplate WPObject_wpCreateFromTemplate
  288. #define WPCountry_wpCreateShadowObject WPObject_wpCreateShadowObject
  289. #define WPCountry_wpDelete WPObject_wpDelete
  290. #define WPCountry_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
  291. #define WPCountry_wpDisplayHelp WPObject_wpDisplayHelp
  292. #define WPCountry_wpDisplayMenu WPObject_wpDisplayMenu
  293. #define WPCountry_wpDoesObjectMatch WPObject_wpDoesObjectMatch
  294. #define WPCountry_wpDraggedOverObject WPObject_wpDraggedOverObject
  295. #define WPCountry_wpDrop WPObject_wpDrop
  296. #define WPCountry_wpDroppedOnObject WPObject_wpDroppedOnObject
  297. #define WPCountry_wpEndConversation WPObject_wpEndConversation
  298. #define WPCountry_wpFilterPopupMenu WPObject_wpFilterPopupMenu
  299. #define WPCountry_wpFindUseItem WPObject_wpFindUseItem
  300. #define WPCountry_wpFormatDragItem WPObject_wpFormatDragItem
  301. #define WPCountry_wpFree WPObject_wpFree
  302. #define WPCountry_wpFreeMem WPObject_wpFreeMem
  303. #define WPCountry_wpHide WPObject_wpHide
  304. #define WPCountry_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
  305. #define WPCountry_wpInsertMenuItems WPObject_wpInsertMenuItems
  306. #define WPCountry_wpInsertSettingsPage WPObject_wpInsertSettingsPage
  307. #define WPCountry_wpMenuItemHelpSelected WPObject_wpMenuItemHelpSelected
  308. #define WPCountry_wpMenuItemSelected WPObject_wpMenuItemSelected
  309. #define WPCountry_wpModifyPopupMenu WPObject_wpModifyPopupMenu
  310. #define WPCountry_wpModifyMenu WPObject_wpModifyMenu
  311. #define WPCountry_wpOpen WPObject_wpOpen
  312. #define WPCountry_wpPrintObject WPObject_wpPrintObject
  313. #define WPCountry_wpQueryConcurrentView WPObject_wpQueryConcurrentView
  314. #define WPCountry_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
  315. #define WPCountry_wpQueryConfirmations WPObject_wpQueryConfirmations
  316. #define WPCountry_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
  317. #define WPCountry_wpQueryDefaultView WPObject_wpQueryDefaultView
  318. #define WPCountry_wpQueryDetailsData WPObject_wpQueryDetailsData
  319. #define WPCountry_wpQueryError WPObject_wpQueryError
  320. #define WPCountry_wpSetFolder WPObject_wpSetFolder
  321. #define WPCountry_wpQueryFolder WPObject_wpQueryFolder
  322. #define WPCountry_wpQueryMinWindow WPObject_wpQueryMinWindow
  323. #define WPCountry_wpQueryStyle WPObject_wpQueryStyle
  324. #define WPCountry_wpSetTaskRec WPObject_wpSetTaskRec
  325. #define WPCountry_wpFindTaskRec WPObject_wpFindTaskRec
  326. #define WPCountry_wpQueryTitle WPObject_wpQueryTitle
  327. #define WPCountry_wpRegisterView WPObject_wpRegisterView
  328. #define WPCountry_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
  329. #define WPCountry_wpRender WPObject_wpRender
  330. #define WPCountry_wpRenderComplete WPObject_wpRenderComplete
  331. #define WPCountry_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
  332. #define WPCountry_wpRestore WPObject_wpRestore
  333. #define WPCountry_wpRestoreData WPObject_wpRestoreData
  334. #define WPCountry_wpRestoreLong WPObject_wpRestoreLong
  335. #define WPCountry_wpRestoreString WPObject_wpRestoreString
  336. #define WPCountry_wpSaveData WPObject_wpSaveData
  337. #define WPCountry_wpSaveDeferred WPObject_wpSaveDeferred
  338. #define WPCountry_wpSaveLong WPObject_wpSaveLong
  339. #define WPCountry_wpSaveString WPObject_wpSaveString
  340. #define WPCountry_wpScanSetupString WPObject_wpScanSetupString
  341. #define WPCountry_wpSetConcurrentView WPObject_wpSetConcurrentView
  342. #define WPCountry_wpSetButtonAppearance WPObject_wpSetButtonAppearance
  343. #define WPCountry_wpSetDefaultHelp WPObject_wpSetDefaultHelp
  344. #define WPCountry_wpSetDefaultView WPObject_wpSetDefaultView
  345. #define WPCountry_wpSetError WPObject_wpSetError
  346. #define WPCountry_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
  347. #define WPCountry_wpSetupOnce WPObject_wpSetupOnce
  348. #define WPCountry_wpSetIcon WPObject_wpSetIcon
  349. #define WPCountry_wpSetMinWindow WPObject_wpSetMinWindow
  350. #define WPCountry_wpModifyStyle WPObject_wpModifyStyle
  351. #define WPCountry_wpSetup WPObject_wpSetup
  352. #define WPCountry_wpSwitchTo WPObject_wpSwitchTo
  353. #define WPCountry_wpUnInitData WPObject_wpUnInitData
  354. #define WPCountry_wpViewObject WPObject_wpViewObject
  355. #define WPCountry_wpQueryTrueStyle WPObject_wpQueryTrueStyle
  356. #define WPCountry_wpUnlockObject WPObject_wpUnlockObject
  357. #define WPCountry_wpObjectReady WPObject_wpObjectReady
  358. #define WPCountry_wpIsObjectInitialized WPObject_wpIsObjectInitialized
  359. #define WPCountry_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
  360. #define WPCountry_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
  361. #define WPCountry_wpIsDeleteable WPObject_wpIsDeleteable
  362. #define WPCountry_wpQueryCoreRecord WPObject_wpQueryCoreRecord
  363. #define WPCountry_wpSetObjectID WPObject_wpSetObjectID
  364. #define WPCountry_wpQueryObjectID WPObject_wpQueryObjectID
  365. #define WPCountry_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
  366. #define WPCountry_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
  367. #define WPCountry_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
  368. #define WPCountry_wpFindViewItem WPObject_wpFindViewItem
  369. #define WPCountry_wpLockObject WPObject_wpLockObject
  370. #define WPCountry_wpIsLocked WPObject_wpIsLocked
  371. #define WPCountry_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
  372. #define WPCountry_wpWaitForClose WPObject_wpWaitForClose
  373. #define WPCountry_wpSetMenuStyle WPObject_wpSetMenuStyle
  374. #define WPCountry_wpQueryMenuStyle WPObject_wpQueryMenuStyle
  375. #define WPCountry_wpSetStyle WPObject_wpSetStyle
  376. #define WPCountry_somInit SOMObject_somInit
  377. #define WPCountry_somUninit SOMObject_somUninit
  378. #define WPCountry_somDefaultCopyInit SOMObject_somDefaultCopyInit
  379. #define WPCountry_somDefaultAssign SOMObject_somDefaultAssign
  380. #define WPCountry_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
  381. #define WPCountry_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
  382. #define WPCountry_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
  383. #define WPCountry_somDefaultConstAssign SOMObject_somDefaultConstAssign
  384. #define WPCountry_somDefaultVAssign SOMObject_somDefaultVAssign
  385. #define WPCountry_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
  386. #define WPCountry_somFree SOMObject_somFree
  387. #define WPCountry_somGetClass SOMObject_somGetClass
  388. #define WPCountry_somGetClassName SOMObject_somGetClassName
  389. #define WPCountry_somGetSize SOMObject_somGetSize
  390. #define WPCountry_somIsA SOMObject_somIsA
  391. #define WPCountry_somIsInstanceOf SOMObject_somIsInstanceOf
  392. #define WPCountry_somRespondsTo SOMObject_somRespondsTo
  393. #define WPCountry_somDispatch SOMObject_somDispatch
  394. #define WPCountry_somClassDispatch SOMObject_somClassDispatch
  395. #define WPCountry_somCastObj SOMObject_somCastObj
  396. #define WPCountry_somResetObj SOMObject_somResetObj
  397. #define WPCountry_somDispatchV SOMObject_somDispatchV
  398. #define WPCountry_somDispatchL SOMObject_somDispatchL
  399. #define WPCountry_somDispatchA SOMObject_somDispatchA
  400. #define WPCountry_somDispatchD SOMObject_somDispatchD
  401. #define WPCountry_somPrintSelf SOMObject_somPrintSelf
  402. #define WPCountry_somDumpSelf SOMObject_somDumpSelf
  403. #define WPCountry_somDumpSelfInt SOMObject_somDumpSelfInt
  404. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  405.  
  406. #endif       /* SOM_WPCountry_h */
  407.  
  408. #ifndef SOM_M_WPCountry_h
  409. #define SOM_M_WPCountry_h
  410.  
  411.  
  412. #include <som.h>
  413.  
  414. /*
  415.  * -- This emitter treats Method Tokens as Thunks by default.
  416.  * -- Use the sc modifier "nothunks" to change this default
  417.  */
  418. #undef somresolve_
  419. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  420.  
  421. /*
  422.  * Define the class name as an object type
  423.  */
  424. #ifndef M_WPCountry
  425. #define M_WPCountry SOMObject
  426. #endif
  427. #include <wpabs.h>
  428.  
  429. /*
  430.  * Start of bindings for IDL types
  431.  */
  432.  
  433.  
  434. /*
  435.  * End of bindings for IDL types.
  436.  */
  437.  
  438. #define M_WPCountry_MajorVersion 1
  439. #define M_WPCountry_MinorVersion 2
  440.  
  441. /*
  442.  * External name shortening if required
  443.  */
  444. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  445. #define M_WPCountryNewClass WPcouc
  446. #pragma linkage(WPcouc, system)
  447. #define M_WPCountryClassData WPcoud
  448. #define M_WPCountryCClassData WPcoux
  449. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  450. /*--------------Migration------------*/
  451. #define M_WPCountry_classObj M_WPCountryClassData.classObject
  452. #define _M_WPCountry M_WPCountry_classObj
  453.  
  454. /*
  455.  * Declare the class creation procedure
  456.  */
  457. SOMEXTERN SOMClass * SOMLINK M_WPCountryNewClass(integer4 somtmajorVersion,
  458.         integer4 somtminorVersion);
  459. #pragma linkage(M_WPCountryNewClass, system)
  460.  
  461. /*
  462.  * Declare the class data structure
  463.  */
  464. SOMEXTERN struct M_WPCountryClassDataStructure {
  465.     SOMClass *classObject;
  466. } SOMDLINK M_WPCountryClassData;
  467.  
  468. /*
  469.  * Declare the C specific class data structure
  470.  */
  471. SOMEXTERN struct M_WPCountryCClassDataStructure {
  472.     somMethodTabs parentMtab;
  473.     somDToken instanceDataToken;
  474. } SOMDLINK M_WPCountryCClassData;
  475.  
  476. /*
  477.  * New and Renew macros for M_WPCountry
  478.  */
  479. #define M_WPCountryNew() \
  480.    ( _M_WPCountry ? \
  481.     _somNew(_M_WPCountry) \
  482.     : ( M_WPCountryNewClass(\
  483.         M_WPCountry_MajorVersion, \
  484.         M_WPCountry_MinorVersion),\
  485.        _somNew(_M_WPCountry)))
  486. #define M_WPCountryRenew(buf) \
  487.    ( _M_WPCountry ? \
  488.     _somRenew(_M_WPCountry, buf) \
  489.     : ( M_WPCountryNewClass(\
  490.         M_WPCountry_MajorVersion, \
  491.         M_WPCountry_MinorVersion),\
  492.        _somRenew(_M_WPCountry, buf)))
  493.  
  494. /*
  495.  * Override method: wpclsQueryTitle
  496.  */
  497. #define M_WPCountry_wpclsQueryTitle(somSelf) \
  498.     M_WPObject_wpclsQueryTitle(somSelf)
  499.  
  500. /*
  501.  * Override method: wpclsQueryDefaultHelp
  502.  */
  503. #define M_WPCountry_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
  504.     M_WPObject_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary)
  505.  
  506. /*
  507.  * Override method: wpclsQueryDefaultView
  508.  */
  509. #define M_WPCountry_wpclsQueryDefaultView(somSelf) \
  510.     M_WPObject_wpclsQueryDefaultView(somSelf)
  511.  
  512. /*
  513.  * Override method: wpclsQueryStyle
  514.  */
  515. #define M_WPCountry_wpclsQueryStyle(somSelf) \
  516.     M_WPObject_wpclsQueryStyle(somSelf)
  517.  
  518. /*
  519.  * Override method: wpclsQueryIconData
  520.  */
  521. #define M_WPCountry_wpclsQueryIconData(somSelf,pIconInfo) \
  522.     M_WPObject_wpclsQueryIconData(somSelf,pIconInfo)
  523. #ifndef SOM_DONT_USE_INHERITED_MACROS
  524. #define M_WPCountry_wpclsQuerySetting M_WPAbstract_wpclsQuerySetting
  525. #define M_WPCountry_wpclsSetSetting M_WPAbstract_wpclsSetSetting
  526. #define M_WPCountry_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
  527. #define M_WPCountry_wpclsCreateDefaultTemplates M_WPObject_wpclsCreateDefaultTemplates
  528. #define M_WPCountry_wpclsInitData M_WPObject_wpclsInitData
  529. #define M_WPCountry_wpclsMakeAwake M_WPObject_wpclsMakeAwake
  530. #define M_WPCountry_wpclsNew M_WPObject_wpclsNew
  531. #define M_WPCountry_wpclsQueryDetails M_WPObject_wpclsQueryDetails
  532. #define M_WPCountry_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
  533. #define M_WPCountry_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
  534. #define M_WPCountry_wpclsQueryFolder M_WPObject_wpclsQueryFolder
  535. #define M_WPCountry_wpclsQueryIcon M_WPObject_wpclsQueryIcon
  536. #define M_WPCountry_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
  537. #define M_WPCountry_wpclsUnInitData M_WPObject_wpclsUnInitData
  538. #define M_WPCountry_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
  539. #define M_WPCountry_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
  540. #define M_WPCountry_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
  541. #define M_WPCountry_wpclsSetError M_WPObject_wpclsSetError
  542. #define M_WPCountry_wpclsQueryError M_WPObject_wpclsQueryError
  543. #define M_WPCountry_wpclsQuerySettingsPageSize M_WPObject_wpclsQuerySettingsPageSize
  544. #define M_WPCountry_wpclsQueryObject M_WPObject_wpclsQueryObject
  545. #define M_WPCountry_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
  546. #define M_WPCountry_wpclsDecUsage M_WPObject_wpclsDecUsage
  547. #define M_WPCountry_wpclsIncUsage M_WPObject_wpclsIncUsage
  548. #define M_WPCountry_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
  549. #define M_WPCountry_wpclsFindOneObject M_WPObject_wpclsFindOneObject
  550. #define M_WPCountry_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
  551. #define M_WPCountry_wpclsSetIconData M_WPObject_wpclsSetIconData
  552. #define M_WPCountry_wpclsSetIcon M_WPObject_wpclsSetIcon
  553. #define M_WPCountry_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
  554. #define M_WPCountry_somUninit SOMObject_somUninit
  555. #define M_WPCountry_somClassReady SOMClass_somClassReady
  556. #define M_WPCountry_somNew SOMClass_somNew
  557. #define M_WPCountry_somRenew SOMClass_somRenew
  558. #define M_WPCountry__get_somDataAlignment SOMClass__get_somDataAlignment
  559. #define M_WPCountry__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
  560. #define M_WPCountry__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
  561. #define M_WPCountry__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
  562. #define M_WPCountry_somNewNoInit SOMClass_somNewNoInit
  563. #define M_WPCountry_somRenewNoInit SOMClass_somRenewNoInit
  564. #define M_WPCountry_somRenewNoZero SOMClass_somRenewNoZero
  565. #define M_WPCountry_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
  566. #define M_WPCountry_somAllocate SOMClass_somAllocate
  567. #define M_WPCountry_somDeallocate SOMClass_somDeallocate
  568. #define M_WPCountry__get_somClassAllocate SOMClass__get_somClassAllocate
  569. #define M_WPCountry__get_somClassDeallocate SOMClass__get_somClassDeallocate
  570. #define M_WPCountry_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
  571. #define M_WPCountry_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
  572. #define M_WPCountry_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
  573. #define M_WPCountry_somInitClass SOMClass_somInitClass
  574. #define M_WPCountry_somInitMIClass SOMClass_somInitMIClass
  575. #define M_WPCountry_somAddStaticMethod SOMClass_somAddStaticMethod
  576. #define M_WPCountry_somAddDynamicMethod SOMClass_somAddDynamicMethod
  577. #define M_WPCountry_somOverrideSMethod SOMClass_somOverrideSMethod
  578. #define M_WPCountry_somGetApplyStub SOMClass_somGetApplyStub
  579. #define M_WPCountry_somGetClassData SOMClass_somGetClassData
  580. #define M_WPCountry_somSetClassData SOMClass_somSetClassData
  581. #define M_WPCountry_somGetClassMtab SOMClass_somGetClassMtab
  582. #define M_WPCountry_somGetInstanceOffset SOMClass_somGetInstanceOffset
  583. #define M_WPCountry_somGetInstancePartSize SOMClass_somGetInstancePartSize
  584. #define M_WPCountry_somGetInstanceSize SOMClass_somGetInstanceSize
  585. #define M_WPCountry_somGetInstanceToken SOMClass_somGetInstanceToken
  586. #define M_WPCountry_somGetMemberToken SOMClass_somGetMemberToken
  587. #define M_WPCountry_somGetMethodData SOMClass_somGetMethodData
  588. #define M_WPCountry_somGetRdStub SOMClass_somGetRdStub
  589. #define M_WPCountry_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
  590. #define M_WPCountry_somGetMethodIndex SOMClass_somGetMethodIndex
  591. #define M_WPCountry_somGetMethodToken SOMClass_somGetMethodToken
  592. #define M_WPCountry_somGetName SOMClass_somGetName
  593. #define M_WPCountry_somGetNthMethodData SOMClass_somGetNthMethodData
  594. #define M_WPCountry_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
  595. #define M_WPCountry_somGetNumMethods SOMClass_somGetNumMethods
  596. #define M_WPCountry_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
  597. #define M_WPCountry_somGetParent SOMClass_somGetParent
  598. #define M_WPCountry_somGetParents SOMClass_somGetParents
  599. #define M_WPCountry_somGetPClsMtab SOMClass_somGetPClsMtab
  600. #define M_WPCountry_somGetPClsMtabs SOMClass_somGetPClsMtabs
  601. #define M_WPCountry_somGetVersionNumbers SOMClass_somGetVersionNumbers
  602. #define M_WPCountry_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
  603. #define M_WPCountry_somFindMethod SOMClass_somFindMethod
  604. #define M_WPCountry_somFindMethodOk SOMClass_somFindMethodOk
  605. #define M_WPCountry_somFindSMethod SOMClass_somFindSMethod
  606. #define M_WPCountry_somFindSMethodOk SOMClass_somFindSMethodOk
  607. #define M_WPCountry_somLookupMethod SOMClass_somLookupMethod
  608. #define M_WPCountry_somCheckVersion SOMClass_somCheckVersion
  609. #define M_WPCountry_somDescendedFrom SOMClass_somDescendedFrom
  610. #define M_WPCountry_somSupportsMethod SOMClass_somSupportsMethod
  611. #define M_WPCountry_somDefinedMethod SOMClass_somDefinedMethod
  612. #define M_WPCountry_somOverrideMtab SOMClass_somOverrideMtab
  613. #define M_WPCountry_somDefaultInit SOMObject_somDefaultInit
  614. #define M_WPCountry_somDestruct SOMObject_somDestruct
  615. #define M_WPCountry_somDefaultCopyInit SOMObject_somDefaultCopyInit
  616. #define M_WPCountry_somDefaultAssign SOMObject_somDefaultAssign
  617. #define M_WPCountry_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
  618. #define M_WPCountry_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
  619. #define M_WPCountry_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
  620. #define M_WPCountry_somDefaultConstAssign SOMObject_somDefaultConstAssign
  621. #define M_WPCountry_somDefaultVAssign SOMObject_somDefaultVAssign
  622. #define M_WPCountry_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
  623. #define M_WPCountry_somInit SOMObject_somInit
  624. #define M_WPCountry_somFree SOMObject_somFree
  625. #define M_WPCountry_somGetClass SOMObject_somGetClass
  626. #define M_WPCountry_somGetClassName SOMObject_somGetClassName
  627. #define M_WPCountry_somGetSize SOMObject_somGetSize
  628. #define M_WPCountry_somIsA SOMObject_somIsA
  629. #define M_WPCountry_somIsInstanceOf SOMObject_somIsInstanceOf
  630. #define M_WPCountry_somRespondsTo SOMObject_somRespondsTo
  631. #define M_WPCountry_somDispatch SOMObject_somDispatch
  632. #define M_WPCountry_somClassDispatch SOMObject_somClassDispatch
  633. #define M_WPCountry_somCastObj SOMObject_somCastObj
  634. #define M_WPCountry_somResetObj SOMObject_somResetObj
  635. #define M_WPCountry_somDispatchV SOMObject_somDispatchV
  636. #define M_WPCountry_somDispatchL SOMObject_somDispatchL
  637. #define M_WPCountry_somDispatchA SOMObject_somDispatchA
  638. #define M_WPCountry_somDispatchD SOMObject_somDispatchD
  639. #define M_WPCountry_somPrintSelf SOMObject_somPrintSelf
  640. #define M_WPCountry_somDumpSelf SOMObject_somDumpSelf
  641. #define M_WPCountry_somDumpSelfInt SOMObject_somDumpSelfInt
  642. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  643.  
  644. #endif       /* SOM_M_WPCountry_h */
  645.