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