home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12osp1.exe / include / os2 / wpctry.h < prev    next >
C/C++ Source or Header  |  1997-04-02  |  27KB  |  637 lines

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