home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wpsclass.zip / WPFNTPAL.XH < prev    next >
Text File  |  1995-07-12  |  93KB  |  3,401 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: F:\wpwpsh\rel\ppc\include\os2\wpfntpal.xh.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.29.1.3
  7.  *     SOM Emitter emitxh: 2.41
  8.  */
  9.  
  10. /*
  11.  *   Module Header
  12.  * 
  13.  *   Module Name: WPFNTPAL
  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_WPFontPalette_xh
  23. #define SOM_WPFontPalette_xh
  24.  
  25. class WPFontPalette;
  26.  
  27. #define WPFontPalette_MajorVersion 1
  28. #define WPFontPalette_MinorVersion 2
  29.  
  30. /* C++ SOM defs */
  31. #include <somcls.xh>
  32. #include <somcm.xh>
  33.  
  34. /* C++ parent defs */
  35. #ifndef SOM_WPPalette_xh
  36. #include <wppalet.xh>
  37. #endif
  38.  
  39. #ifndef WPFontPalette_API
  40. #define WPFontPalette_API
  41. /*
  42.  * -- The Class API
  43.  */
  44.  
  45. /*
  46.  * Start of user-defined types:
  47.  */
  48. class SOMClass;
  49. class SOMObject;
  50. class WPFolder;
  51. class M_WPObject;
  52. class WPObject;
  53. class M_WPAbstract;
  54. class M_WPPalette;
  55. class M_WPFontPalette;
  56.  
  57. /*
  58.  * End of user-defined types.
  59.  */
  60.  
  61. /* A procedure to create the WPFontPalette Class */
  62. class M_WPFontPalette;
  63. SOMEXTERN M_WPFontPalette * SOMLINK WPFontPaletteNewClass(
  64.         integer4 majorVersion,
  65.         integer4 minorVersion);
  66.  
  67. /* The API to the WPFontPalette class object, and the methods it introduces. */
  68. SOMEXTERN struct WPFontPaletteClassDataStructure {
  69.     M_WPFontPalette *classObject;
  70.     somMToken wpGetFattrsFromPsz;
  71. } SOMDLINK WPFontPaletteClassData;
  72. #define _WPFontPalette WPFontPaletteClassData.classObject
  73.  
  74. /* The API to parentMtabs for WPFontPalette, and the instance data it introduces. */
  75. SOMEXTERN struct WPFontPaletteCClassDataStructure {
  76.     somMethodTabs parentMtab;
  77.     somDToken              instanceDataToken;
  78. } SOMDLINK WPFontPaletteCClassData;
  79.  
  80. /*
  81.  * -- Typedefs for WPFontPalette Method Procedures
  82.  */
  83. SOMEXTERN {
  84. typedef void   (SOMLINK * somTD_WPFontPalette_wpGetFattrsFromPsz)(WPFontPalette *somSelf,
  85.         PSZ pszFont,
  86.         PFATTRS pFattrs);
  87.  
  88. /*
  89.  * -- Typedefs for Reintroduced Wrapper Methods
  90.  */
  91. typedef void   (SOMLINK * somTD_WPFontPalette_wpPaintCell)(WPFontPalette *somSelf,
  92.         PCELL pCell,
  93.         HPS hps,
  94.         PRECTL prcl,
  95.         BOOL fHilite);
  96. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSetupCell)(WPFontPalette *somSelf,
  97.         PVOID pCellData,
  98.         ULONG cb,
  99.         ULONG x,
  100.         ULONG y);
  101. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpRedrawCell)(WPFontPalette *somSelf,
  102.         PCELL pCell);
  103. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpQueryPaletteInfo)(WPFontPalette *somSelf,
  104.         PPALINFO pPalInfo);
  105. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSetPaletteInfo)(WPFontPalette *somSelf,
  106.         PPALINFO pPalInfo);
  107. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpEditCell)(WPFontPalette *somSelf,
  108.         PCELL pCell,
  109.         HWND hwndPal);
  110. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpDragCell)(WPFontPalette *somSelf,
  111.         PCELL pCell,
  112.         HWND hwndPal,
  113.         PPOINTL ptlDrag);
  114. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpQueryPaletteHelp)(WPFontPalette *somSelf);
  115. typedef void   (SOMLINK * somTD_WPFontPalette_wpSelectCell)(WPFontPalette *somSelf,
  116.         HWND hwndPal,
  117.         PCELL pCell);
  118. typedef void   (SOMLINK * somTD_WPFontPalette_wpPaintPalette)(WPFontPalette *somSelf,
  119.         HPS hps,
  120.         PRECTL prcl);
  121. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpInitCellStructs)(WPFontPalette *somSelf);
  122. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSaveCellData)(WPFontPalette *somSelf,
  123.         PCELL pCell,
  124.         ULONG ulIndex);
  125. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpRestoreCellData)(WPFontPalette *somSelf,
  126.         PCELL* pCell,
  127.         ULONG ulIndex,
  128.         ULONG ulCellSize);
  129. typedef void   (SOMLINK * somTD_WPFontPalette_wpInitData)(WPFontPalette *somSelf);
  130. typedef void   (SOMLINK * somTD_WPFontPalette_wpUnInitData)(WPFontPalette *somSelf);
  131. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSetup)(WPFontPalette *somSelf,
  132.         PSZ pszSetupString);
  133. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSaveState)(WPFontPalette *somSelf);
  134. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpRestoreState)(WPFontPalette *somSelf,
  135.         ULONG ulReserved);
  136. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpMenuItemSelected)(WPFontPalette *somSelf,
  137.         HWND hwndFrame,
  138.         ULONG ulMenuId);
  139. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpModifyPopupMenu)(WPFontPalette *somSelf,
  140.         HWND hwndMenu,
  141.         HWND hwndCnr,
  142.         ULONG iPosition);
  143. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpFilterPopupMenu)(WPFontPalette *somSelf,
  144.         ULONG ulFlags,
  145.         HWND hwndCnr,
  146.         BOOL fMultiSelect);
  147. typedef HWND   (SOMLINK * somTD_WPFontPalette_wpOpen)(WPFontPalette *somSelf,
  148.         HWND hwndCnr,
  149.         ULONG ulView,
  150.         ULONG param);
  151. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpMenuItemHelpSelected)(WPFontPalette *somSelf,
  152.         ULONG MenuId);
  153. typedef void   (SOMLINK * somTD_WPFontPalette_somDefaultInit)(WPFontPalette *somSelf,
  154.         somInitCtrl* ctrl);
  155. typedef void   (SOMLINK * somTD_WPFontPalette_somDestruct)(WPFontPalette *somSelf,
  156.         octet doFree,
  157.         somDestructCtrl* ctrl);
  158. typedef HOBJECT   (SOMLINK * somTD_WPFontPalette_wpQueryHandle)(WPFontPalette *somSelf);
  159. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSaveImmediate)(WPFontPalette *somSelf);
  160. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSetTitle)(WPFontPalette *somSelf,
  161.         PSZ pszNewTitle);
  162. typedef WPObject*   (SOMLINK * somTD_WPFontPalette_wpCopyObject)(WPFontPalette *somSelf,
  163.         WPFolder* Folder,
  164.         BOOL fLock);
  165. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpMoveObject)(WPFontPalette *somSelf,
  166.         WPFolder* Folder);
  167. typedef HPOINTER   (SOMLINK * somTD_WPFontPalette_wpQueryIcon)(WPFontPalette *somSelf);
  168. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpQueryIconData)(WPFontPalette *somSelf,
  169.         PICONINFO pIconInfo);
  170. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSetIconData)(WPFontPalette *somSelf,
  171.         PICONINFO pIconInfo);
  172. typedef MRESULT   (SOMLINK * somTD_WPFontPalette_wpDragOver)(WPFontPalette *somSelf,
  173.         HWND hwndCnr,
  174.         PDRAGINFO pdrgInfo);
  175. typedef BOOL32   (SOMLINK * somTD_WPFontPalette_wpReplaceObject)(WPFontPalette *somSelf,
  176.         WPObject* targetObject,
  177.         BOOL32 fMove);
  178. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpQueryNameClashOptions)(WPFontPalette *somSelf,
  179.         ULONG menuID);
  180. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpAddObjectGeneralPage)(WPFontPalette *somSelf,
  181.         HWND hwndNotebook);
  182. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpAddObjectGeneralPage2)(WPFontPalette *somSelf,
  183.         HWND hwndNotebook);
  184. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpAddObjectWindowPage)(WPFontPalette *somSelf,
  185.         HWND hwndNotebook);
  186. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpAddSettingsPages)(WPFontPalette *somSelf,
  187.         HWND hwndNotebook);
  188. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpAddToObjUseList)(WPFontPalette *somSelf,
  189.         PUSEITEM pUseItem);
  190. typedef PBYTE   (SOMLINK * somTD_WPFontPalette_wpAllocMem)(WPFontPalette *somSelf,
  191.         ULONG cbBytes,
  192.         PULONG prc);
  193. typedef BOOL32   (SOMLINK * somTD_WPFontPalette_wpAppendObject)(WPFontPalette *somSelf,
  194.         WPObject* targetObject,
  195.         BOOL32 fMove);
  196. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpAssertObjectMutexSem)(WPFontPalette *somSelf);
  197. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpClose)(WPFontPalette *somSelf);
  198. typedef PMINIRECORDCORE   (SOMLINK * somTD_WPFontPalette_wpCnrInsertObject)(WPFontPalette *somSelf,
  199.         HWND hwndCnr,
  200.         PPOINTL pptlIcon,
  201.         PMINIRECORDCORE preccParent,
  202.         PRECORDINSERT pRecInsert);
  203. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpCnrRemoveObject)(WPFontPalette *somSelf,
  204.         HWND hwndCnr);
  205. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpCnrSetEmphasis)(WPFontPalette *somSelf,
  206.         ULONG ulEmphasisAttr,
  207.         BOOL fTurnOn);
  208. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpConfirmDelete)(WPFontPalette *somSelf,
  209.         ULONG fConfirmations);
  210. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpConfirmObjectTitle)(WPFontPalette *somSelf,
  211.         WPFolder* Folder,
  212.         WPObject** ppDuplicate,
  213.         PSZ pszTitle,
  214.         ULONG cbTitle,
  215.         ULONG menuID);
  216. typedef void   (SOMLINK * somTD_WPFontPalette_wpCopiedFromTemplate)(WPFontPalette *somSelf);
  217. typedef WPObject*   (SOMLINK * somTD_WPFontPalette_wpCreateAnother)(WPFontPalette *somSelf,
  218.         PSZ pszTitle,
  219.         PSZ pszSetupEnv,
  220.         WPFolder* Folder);
  221. typedef WPObject*   (SOMLINK * somTD_WPFontPalette_wpCreateFromTemplate)(WPFontPalette *somSelf,
  222.         WPFolder* folder,
  223.         BOOL fLock);
  224. typedef WPObject*   (SOMLINK * somTD_WPFontPalette_wpCreateShadowObject)(WPFontPalette *somSelf,
  225.         WPFolder* Folder,
  226.         BOOL fLock);
  227. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpDelete)(WPFontPalette *somSelf,
  228.         ULONG fConfirmations);
  229. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpDeleteFromObjUseList)(WPFontPalette *somSelf,
  230.         PUSEITEM pUseItem);
  231. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpDisplayHelp)(WPFontPalette *somSelf,
  232.         ULONG HelpPanelId,
  233.         PSZ HelpLibrary);
  234. typedef HWND   (SOMLINK * somTD_WPFontPalette_wpDisplayMenu)(WPFontPalette *somSelf,
  235.         HWND hwndOwner,
  236.         HWND hwndClient,
  237.         POINTL* ptlPopupPt,
  238.         ULONG ulMenuType,
  239.         ULONG ulReserved);
  240. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpDoesObjectMatch)(WPFontPalette *somSelf,
  241.         PVOID pvoidExtendedCriteria);
  242. typedef MRESULT   (SOMLINK * somTD_WPFontPalette_wpDraggedOverObject)(WPFontPalette *somSelf,
  243.         WPObject* DraggedOverObject);
  244. typedef MRESULT   (SOMLINK * somTD_WPFontPalette_wpDrop)(WPFontPalette *somSelf,
  245.         HWND hwndCnr,
  246.         PDRAGINFO pdrgInfo,
  247.         PDRAGITEM pdrgItem);
  248. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpDroppedOnObject)(WPFontPalette *somSelf,
  249.         WPObject* DroppedOnObject);
  250. typedef MRESULT   (SOMLINK * somTD_WPFontPalette_wpEndConversation)(WPFontPalette *somSelf,
  251.         ULONG ulItemID,
  252.         ULONG flResult);
  253. typedef PUSEITEM   (SOMLINK * somTD_WPFontPalette_wpFindUseItem)(WPFontPalette *somSelf,
  254.         ULONG type,
  255.         PUSEITEM pCurrentItem);
  256. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpFormatDragItem)(WPFontPalette *somSelf,
  257.         PDRAGITEM pdrgItem);
  258. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpFree)(WPFontPalette *somSelf);
  259. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpFreeMem)(WPFontPalette *somSelf,
  260.         PBYTE pByte);
  261. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpHide)(WPFontPalette *somSelf);
  262. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpInsertPopupMenuItems)(WPFontPalette *somSelf,
  263.         HWND hwndMenu,
  264.         ULONG iPosition,
  265.         HMODULE hmod,
  266.         ULONG MenuID,
  267.         ULONG SubMenuID);
  268. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpInsertSettingsPage)(WPFontPalette *somSelf,
  269.         HWND hwndNotebook,
  270.         PPAGEINFO ppageinfo);
  271. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpPrintObject)(WPFontPalette *somSelf,
  272.         PPRINTDEST pPrintDest,
  273.         ULONG ulReserved);
  274. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpQueryConcurrentView)(WPFontPalette *somSelf);
  275. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpQueryButtonAppearance)(WPFontPalette *somSelf);
  276. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpQueryConfirmations)(WPFontPalette *somSelf);
  277. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpQueryDefaultHelp)(WPFontPalette *somSelf,
  278.         PULONG pHelpPanelId,
  279.         PSZ HelpLibrary);
  280. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpQueryDefaultView)(WPFontPalette *somSelf);
  281. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpQueryDetailsData)(WPFontPalette *somSelf,
  282.         PVOID* ppDetailsData,
  283.         PULONG pcp);
  284. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpQueryError)(WPFontPalette *somSelf);
  285. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSetFolder)(WPFontPalette *somSelf,
  286.         WPObject* container);
  287. typedef WPObject*   (SOMLINK * somTD_WPFontPalette_wpQueryFolder)(WPFontPalette *somSelf);
  288. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpQueryMinWindow)(WPFontPalette *somSelf);
  289. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpQueryStyle)(WPFontPalette *somSelf);
  290. typedef BOOL32   (SOMLINK * somTD_WPFontPalette_wpSetTaskRec)(WPFontPalette *somSelf,
  291.         PTASKREC pNew,
  292.         PTASKREC pOld);
  293. typedef PTASKREC   (SOMLINK * somTD_WPFontPalette_wpFindTaskRec)(WPFontPalette *somSelf);
  294. typedef PSZ   (SOMLINK * somTD_WPFontPalette_wpQueryTitle)(WPFontPalette *somSelf);
  295. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpRegisterView)(WPFontPalette *somSelf,
  296.         HWND hwndFrame,
  297.         PSZ pszViewTitle);
  298. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpReleaseObjectMutexSem)(WPFontPalette *somSelf);
  299. typedef MRESULT   (SOMLINK * somTD_WPFontPalette_wpRender)(WPFontPalette *somSelf,
  300.         PDRAGTRANSFER pdxfer);
  301. typedef MRESULT   (SOMLINK * somTD_WPFontPalette_wpRenderComplete)(WPFontPalette *somSelf,
  302.         PDRAGTRANSFER pdxfer,
  303.         ULONG ulResult);
  304. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpRequestObjectMutexSem)(WPFontPalette *somSelf,
  305.         ULONG ulTimeout);
  306. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpRestore)(WPFontPalette *somSelf);
  307. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpRestoreData)(WPFontPalette *somSelf,
  308.         PSZ pszClass,
  309.         ULONG ulKey,
  310.         PBYTE pValue,
  311.         PULONG pcbValue);
  312. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpRestoreLong)(WPFontPalette *somSelf,
  313.         PSZ pszClass,
  314.         ULONG ulKey,
  315.         PULONG pulValue);
  316. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpRestoreString)(WPFontPalette *somSelf,
  317.         PSZ pszClass,
  318.         ULONG ulKey,
  319.         PSZ pszValue,
  320.         PULONG pcbValue);
  321. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSaveData)(WPFontPalette *somSelf,
  322.         PSZ pszClass,
  323.         ULONG ulKey,
  324.         PBYTE pValue,
  325.         ULONG cbValue);
  326. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSaveDeferred)(WPFontPalette *somSelf);
  327. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSaveLong)(WPFontPalette *somSelf,
  328.         PSZ pszClass,
  329.         ULONG ulKey,
  330.         ULONG ulValue);
  331. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSaveString)(WPFontPalette *somSelf,
  332.         PSZ pszClass,
  333.         ULONG ulKey,
  334.         PSZ pszValue);
  335. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpScanSetupString)(WPFontPalette *somSelf,
  336.         PSZ pszSetupString,
  337.         PSZ pszKey,
  338.         PSZ pszValue,
  339.         PULONG pcbValue);
  340. typedef void   (SOMLINK * somTD_WPFontPalette_wpSetConcurrentView)(WPFontPalette *somSelf,
  341.         ULONG ulCCView);
  342. typedef void   (SOMLINK * somTD_WPFontPalette_wpSetButtonAppearance)(WPFontPalette *somSelf,
  343.         ULONG ulButtonType);
  344. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSetDefaultHelp)(WPFontPalette *somSelf,
  345.         ULONG HelpPanelId,
  346.         PSZ HelpLibrary);
  347. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSetDefaultView)(WPFontPalette *somSelf,
  348.         ULONG ulView);
  349. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSetError)(WPFontPalette *somSelf,
  350.         ULONG ulErrorId);
  351. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSetIconHandle)(WPFontPalette *somSelf,
  352.         HPOINTER hptrNewIcon);
  353. typedef SGID   (SOMLINK * somTD_WPFontPalette_wpQueryScreenGroupID)(WPFontPalette *somSelf,
  354.         SGID sgidPrevSgId);
  355. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSetupOnce)(WPFontPalette *somSelf,
  356.         PSZ pszSetupString);
  357. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSetIcon)(WPFontPalette *somSelf,
  358.         HPOINTER hptrNewIcon);
  359. typedef void   (SOMLINK * somTD_WPFontPalette_wpSetMinWindow)(WPFontPalette *somSelf,
  360.         ULONG ulMinWindow);
  361. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSetStyle)(WPFontPalette *somSelf,
  362.         ULONG ulNewStyle);
  363. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpModifyStyle)(WPFontPalette *somSelf,
  364.         ULONG ulStyleFlags,
  365.         ULONG ulStyleMask);
  366. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSwitchTo)(WPFontPalette *somSelf,
  367.         ULONG View);
  368. typedef HWND   (SOMLINK * somTD_WPFontPalette_wpViewObject)(WPFontPalette *somSelf,
  369.         HWND hwndCnr,
  370.         ULONG ulView,
  371.         ULONG param);
  372. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpQueryTrueStyle)(WPFontPalette *somSelf);
  373. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpUnlockObject)(WPFontPalette *somSelf);
  374. typedef void   (SOMLINK * somTD_WPFontPalette_wpObjectReady)(WPFontPalette *somSelf,
  375.         ULONG ulCode,
  376.         WPObject* refObject);
  377. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpIsObjectInitialized)(WPFontPalette *somSelf);
  378. typedef WPObject*   (SOMLINK * somTD_WPFontPalette_wpCreateShadowObjectExt)(WPFontPalette *somSelf,
  379.         WPFolder* Folder,
  380.         BOOL fLock,
  381.         PSZ pszSetup,
  382.         M_WPObject* shadowClass);
  383. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpCnrDeleteUseItem)(WPFontPalette *somSelf,
  384.         HWND hwndCnr);
  385. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpIsDeleteable)(WPFontPalette *somSelf);
  386. typedef PMINIRECORDCORE   (SOMLINK * somTD_WPFontPalette_wpQueryCoreRecord)(WPFontPalette *somSelf);
  387. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSetObjectID)(WPFontPalette *somSelf,
  388.         PSZ pszObjectID);
  389. typedef PSZ   (SOMLINK * somTD_WPFontPalette_wpQueryObjectID)(WPFontPalette *somSelf);
  390. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpSetDefaultIconPos)(WPFontPalette *somSelf,
  391.         PPOINTL pPointl);
  392. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpQueryDefaultIconPos)(WPFontPalette *somSelf,
  393.         PPOINTL pPointl);
  394. typedef void   (SOMLINK * somTD_WPFontPalette_wpCnrRefreshDetails)(WPFontPalette *somSelf);
  395. typedef PVIEWITEM   (SOMLINK * somTD_WPFontPalette_wpFindViewItem)(WPFontPalette *somSelf,
  396.         ULONG flViews,
  397.         PVIEWITEM pCurrentItem);
  398. typedef void   (SOMLINK * somTD_WPFontPalette_wpLockObject)(WPFontPalette *somSelf);
  399. typedef BOOL   (SOMLINK * somTD_WPFontPalette_wpIsLocked)(WPFontPalette *somSelf);
  400. typedef PULONG   (SOMLINK * somTD_WPFontPalette_wpQueryContainerFlagPtr)(WPFontPalette *somSelf);
  401. typedef ULONG   (SOMLINK * somTD_WPFontPalette_wpWaitForClose)(WPFontPalette *somSelf,
  402.         LHANDLE lhView,
  403.         ULONG ulViews,
  404.         long lTimeOut,
  405.         BOOL bAutoClose);
  406. typedef void   (SOMLINK * somTD_WPFontPalette_somInit)(WPFontPalette *somSelf);
  407. typedef void   (SOMLINK * somTD_WPFontPalette_somUninit)(WPFontPalette *somSelf);
  408. typedef void   (SOMLINK * somTD_WPFontPalette_somDefaultCopyInit)(WPFontPalette *somSelf,
  409.         somInitCtrl* ctrl,
  410.         SOMObject* fromObj);
  411. typedef WPFontPalette*   (SOMLINK * somTD_WPFontPalette_somDefaultAssign)(WPFontPalette *somSelf,
  412.         somAssignCtrl* ctrl,
  413.         SOMObject* fromObj);
  414. typedef void   (SOMLINK * somTD_WPFontPalette_somDefaultConstCopyInit)(WPFontPalette *somSelf,
  415.         somInitCtrl* ctrl,
  416.         SOMObject* fromObj);
  417. typedef void   (SOMLINK * somTD_WPFontPalette_somDefaultVCopyInit)(WPFontPalette *somSelf,
  418.         somInitCtrl* ctrl,
  419.         SOMObject* fromObj);
  420. typedef void   (SOMLINK * somTD_WPFontPalette_somDefaultConstVCopyInit)(WPFontPalette *somSelf,
  421.         somInitCtrl* ctrl,
  422.         SOMObject* fromObj);
  423. typedef WPFontPalette*   (SOMLINK * somTD_WPFontPalette_somDefaultConstAssign)(WPFontPalette *somSelf,
  424.         somAssignCtrl* ctrl,
  425.         SOMObject* fromObj);
  426. typedef WPFontPalette*   (SOMLINK * somTD_WPFontPalette_somDefaultVAssign)(WPFontPalette *somSelf,
  427.         somAssignCtrl* ctrl,
  428.         SOMObject* fromObj);
  429. typedef WPFontPalette*   (SOMLINK * somTD_WPFontPalette_somDefaultConstVAssign)(WPFontPalette *somSelf,
  430.         somAssignCtrl* ctrl,
  431.         SOMObject* fromObj);
  432. typedef void   (SOMLINK * somTD_WPFontPalette_somFree)(WPFontPalette *somSelf);
  433. typedef M_WPFontPalette*   (SOMLINK * somTD_WPFontPalette_somGetClass)(WPFontPalette *somSelf);
  434. typedef string   (SOMLINK * somTD_WPFontPalette_somGetClassName)(WPFontPalette *somSelf);
  435. typedef long   (SOMLINK * somTD_WPFontPalette_somGetSize)(WPFontPalette *somSelf);
  436. typedef boolean   (SOMLINK * somTD_WPFontPalette_somIsA)(WPFontPalette *somSelf,
  437.         SOMClass* aClassObj);
  438. typedef boolean   (SOMLINK * somTD_WPFontPalette_somIsInstanceOf)(WPFontPalette *somSelf,
  439.         SOMClass* aClassObj);
  440. typedef boolean   (SOMLINK * somTD_WPFontPalette_somRespondsTo)(WPFontPalette *somSelf,
  441.         somId mId);
  442. typedef boolean   (SOMLINK * somTD_WPFontPalette_somDispatch)(WPFontPalette *somSelf,
  443.         somToken* retValue,
  444.         somId methodId,
  445.         va_list ap);
  446. typedef boolean   (SOMLINK * somTD_WPFontPalette_somClassDispatch)(WPFontPalette *somSelf,
  447.         SOMClass* clsObj,
  448.         somToken* retValue,
  449.         somId methodId,
  450.         va_list ap);
  451. typedef boolean   (SOMLINK * somTD_WPFontPalette_somCastObj)(WPFontPalette *somSelf,
  452.         SOMClass* cls);
  453. typedef boolean   (SOMLINK * somTD_WPFontPalette_somResetObj)(WPFontPalette *somSelf);
  454. typedef SOMObject*   (SOMLINK * somTD_WPFontPalette_somPrintSelf)(WPFontPalette *somSelf);
  455. typedef void   (SOMLINK * somTD_WPFontPalette_somDumpSelf)(WPFontPalette *somSelf,
  456.         long level);
  457. typedef void   (SOMLINK * somTD_WPFontPalette_somDumpSelfInt)(WPFontPalette *somSelf,
  458.         long level);
  459. }
  460.  
  461. #endif /* WPFontPalette_API */
  462.  
  463.  
  464. /*
  465.  * -- This emitter treats Method Tokens as Thunks by default.
  466.  * -- Use the sc modifier "nothunks" to change this default
  467.  */
  468. #undef somresolve_
  469. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  470.  
  471. /*
  472.  * -- The C++ Wrapper Class for WPFontPalette
  473.  */
  474. class WPFontPalette : public WPPalette
  475. {
  476. public:
  477.  
  478. // WPFontPalette::new creates the class object if necessary, and then uses somNewNoInit
  479. // to allocate memory and create the object. Initialization is in ctors.
  480. void *operator new(size_t size)
  481. {
  482.    SOM_IgnoreWarning(size);
  483.    if (!_WPFontPalette) WPFontPaletteNewClass(WPFontPalette_MajorVersion,WPFontPalette_MinorVersion);
  484.    return (void*)
  485.       SOM_Resolve(_WPFontPalette,SOMClass,somNewNoInit)
  486.          ((SOMClass *)((void*)_WPFontPalette));
  487. }
  488.  
  489. // WPFontPalette::delete uses the default deallocator for the object's class.
  490. void operator delete(void * obj)
  491. {
  492.    somToken objCls = obj ? *(void**)obj : (somToken) NULL;
  493.    if (somIsObj(objCls)) {
  494.       SOM_Resolve(objCls,SOMClass,somDeallocate)
  495.          ((SOMClass*)objCls, (string)obj);
  496.    }
  497. }
  498.  
  499. WPFontPalette()
  500. {
  501.    if (*(void**)this != 
  502.        ((somParentMtabStructPtr)
  503.         (WPFontPaletteCClassData.parentMtab))->mtab)
  504.       return;
  505.    somDefaultInit(0);
  506. }
  507.  
  508. WPFontPalette(WPFontPalette* fromObj)
  509. {
  510.    if (*(void**)this != 
  511.        ((somParentMtabStructPtr)
  512.         (WPFontPaletteCClassData.parentMtab))->mtab)
  513.       return;
  514.    somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
  515. }
  516.  
  517. WPFontPalette(const WPFontPalette* fromObj)
  518. {
  519.    if (*(void**)this != 
  520.        ((somParentMtabStructPtr)
  521.         (WPFontPaletteCClassData.parentMtab))->mtab)
  522.       return;
  523.    somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
  524. }
  525.  
  526. ~WPFontPalette()
  527. {
  528.    if (!somIsObj(this)) return;
  529.    somDestruct(0,0);
  530.    *(void**)this = **(void***)this;
  531. }
  532.  
  533.  
  534. /* method: wpGetFattrsFromPsz */
  535. void   wpGetFattrsFromPsz(PSZ pszFont,
  536.         PFATTRS pFattrs)
  537. {
  538.    SOM_ResolveD(this,WPFontPalette,WPFontPalette,wpGetFattrsFromPsz)
  539.     (this,pszFont,pFattrs);
  540. }
  541.  
  542.  
  543. /*
  544.  * Reintroduce inherited methods
  545.  */
  546.  
  547. /* method: wpPaintCell */
  548. void   wpPaintCell(PCELL pCell,
  549.         HPS hps,
  550.         PRECTL prcl,
  551.         BOOL fHilite)
  552. {
  553.    SOM_ResolveD(this,WPFontPalette,WPPalette,wpPaintCell)
  554.     (this,pCell,hps,prcl,fHilite);
  555. }
  556.  
  557.  
  558. /* method: wpSetupCell */
  559. BOOL   wpSetupCell(PVOID pCellData,
  560.         ULONG cb,
  561.         ULONG x,
  562.         ULONG y)
  563. {
  564.    return SOM_ResolveD(this,WPFontPalette,WPPalette,wpSetupCell)
  565.     (this,pCellData,cb,x,y);
  566. }
  567.  
  568.  
  569. /* method: wpRedrawCell */
  570. BOOL   wpRedrawCell(PCELL pCell)
  571. {
  572.    return SOM_ResolveD(this,WPFontPalette,WPPalette,wpRedrawCell)
  573.     (this,pCell);
  574. }
  575.  
  576.  
  577. /* method: wpQueryPaletteInfo */
  578. BOOL   wpQueryPaletteInfo(PPALINFO pPalInfo)
  579. {
  580.    return SOM_ResolveD(this,WPFontPalette,WPPalette,wpQueryPaletteInfo)
  581.     (this,pPalInfo);
  582. }
  583.  
  584.  
  585. /* method: wpSetPaletteInfo */
  586. BOOL   wpSetPaletteInfo(PPALINFO pPalInfo)
  587. {
  588.    return SOM_ResolveD(this,WPFontPalette,WPPalette,wpSetPaletteInfo)
  589.     (this,pPalInfo);
  590. }
  591.  
  592.  
  593. /* method: wpEditCell */
  594. BOOL   wpEditCell(PCELL pCell,
  595.         HWND hwndPal)
  596. {
  597.    return SOM_ResolveD(this,WPFontPalette,WPPalette,wpEditCell)
  598.     (this,pCell,hwndPal);
  599. }
  600.  
  601.  
  602. /* method: wpDragCell */
  603. BOOL   wpDragCell(PCELL pCell,
  604.         HWND hwndPal,
  605.         PPOINTL ptlDrag)
  606. {
  607.    return SOM_ResolveD(this,WPFontPalette,WPPalette,wpDragCell)
  608.     (this,pCell,hwndPal,ptlDrag);
  609. }
  610.  
  611.  
  612. /* method: wpQueryPaletteHelp */
  613. ULONG   wpQueryPaletteHelp()
  614. {
  615.    return SOM_ResolveD(this,WPFontPalette,WPPalette,wpQueryPaletteHelp)
  616.     (this);
  617. }
  618.  
  619.  
  620. /* method: wpSelectCell */
  621. void   wpSelectCell(HWND hwndPal,
  622.         PCELL pCell)
  623. {
  624.    SOM_ResolveD(this,WPFontPalette,WPPalette,wpSelectCell)
  625.     (this,hwndPal,pCell);
  626. }
  627.  
  628.  
  629. /* method: wpPaintPalette */
  630. void   wpPaintPalette(HPS hps,
  631.         PRECTL prcl)
  632. {
  633.    SOM_ResolveD(this,WPFontPalette,WPPalette,wpPaintPalette)
  634.     (this,hps,prcl);
  635. }
  636.  
  637.  
  638. /* method: wpInitCellStructs */
  639. BOOL   wpInitCellStructs()
  640. {
  641.    return SOM_ResolveD(this,WPFontPalette,WPPalette,wpInitCellStructs)
  642.     (this);
  643. }
  644.  
  645.  
  646. /* method: wpSaveCellData */
  647. BOOL   wpSaveCellData(PCELL pCell,
  648.         ULONG ulIndex)
  649. {
  650.    return SOM_ResolveD(this,WPFontPalette,WPPalette,wpSaveCellData)
  651.     (this,pCell,ulIndex);
  652. }
  653.  
  654.  
  655. /* method: wpRestoreCellData */
  656. BOOL   wpRestoreCellData(PCELL* pCell,
  657.         ULONG ulIndex,
  658.         ULONG ulCellSize)
  659. {
  660.    return SOM_ResolveD(this,WPFontPalette,WPPalette,wpRestoreCellData)
  661.     (this,pCell,ulIndex,ulCellSize);
  662. }
  663.  
  664.  
  665. /* method: wpInitData */
  666. void   wpInitData()
  667. {
  668.    SOM_ResolveD(this,WPFontPalette,WPObject,wpInitData)
  669.     (this);
  670. }
  671.  
  672.  
  673. /* method: wpUnInitData */
  674. void   wpUnInitData()
  675. {
  676.    SOM_ResolveD(this,WPFontPalette,WPObject,wpUnInitData)
  677.     (this);
  678. }
  679.  
  680.  
  681. /* method: wpSetup */
  682. BOOL   wpSetup(PSZ pszSetupString)
  683. {
  684.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSetup)
  685.     (this,pszSetupString);
  686. }
  687.  
  688.  
  689. /* method: wpSaveState */
  690. BOOL   wpSaveState()
  691. {
  692.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSaveState)
  693.     (this);
  694. }
  695.  
  696.  
  697. /* method: wpRestoreState */
  698. BOOL   wpRestoreState(ULONG ulReserved)
  699. {
  700.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpRestoreState)
  701.     (this,ulReserved);
  702. }
  703.  
  704.  
  705. /* method: wpMenuItemSelected */
  706. BOOL   wpMenuItemSelected(HWND hwndFrame,
  707.         ULONG ulMenuId)
  708. {
  709.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpMenuItemSelected)
  710.     (this,hwndFrame,ulMenuId);
  711. }
  712.  
  713.  
  714. /* method: wpModifyPopupMenu */
  715. BOOL   wpModifyPopupMenu(HWND hwndMenu,
  716.         HWND hwndCnr,
  717.         ULONG iPosition)
  718. {
  719.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpModifyPopupMenu)
  720.     (this,hwndMenu,hwndCnr,iPosition);
  721. }
  722.  
  723.  
  724. /* method: wpFilterPopupMenu */
  725. ULONG   wpFilterPopupMenu(ULONG ulFlags,
  726.         HWND hwndCnr,
  727.         BOOL fMultiSelect)
  728. {
  729.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpFilterPopupMenu)
  730.     (this,ulFlags,hwndCnr,fMultiSelect);
  731. }
  732.  
  733.  
  734. /* method: wpOpen */
  735. HWND   wpOpen(HWND hwndCnr,
  736.         ULONG ulView,
  737.         ULONG param)
  738. {
  739.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpOpen)
  740.     (this,hwndCnr,ulView,param);
  741. }
  742.  
  743.  
  744. /* method: wpMenuItemHelpSelected */
  745. BOOL   wpMenuItemHelpSelected(ULONG MenuId)
  746. {
  747.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpMenuItemHelpSelected)
  748.     (this,MenuId);
  749. }
  750.  
  751.  
  752. /* method: somDefaultInit */
  753. void   somDefaultInit(somInitCtrl* ctrl)
  754. {
  755.    SOM_ResolveD(this,WPFontPalette,SOMObject,somDefaultInit)
  756.     (this,ctrl);
  757. }
  758.  
  759.  
  760. /* method: somDestruct */
  761. void   somDestruct(octet doFree,
  762.         somDestructCtrl* ctrl)
  763. {
  764.    SOM_ResolveD(this,WPFontPalette,SOMObject,somDestruct)
  765.     (this,doFree,ctrl);
  766. }
  767.  
  768.  
  769. /* method: wpQueryHandle */
  770. HOBJECT   wpQueryHandle()
  771. {
  772.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryHandle)
  773.     (this);
  774. }
  775.  
  776.  
  777. /* method: wpSaveImmediate */
  778. BOOL   wpSaveImmediate()
  779. {
  780.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSaveImmediate)
  781.     (this);
  782. }
  783.  
  784.  
  785. /* method: wpSetTitle */
  786. BOOL   wpSetTitle(PSZ pszNewTitle)
  787. {
  788.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSetTitle)
  789.     (this,pszNewTitle);
  790. }
  791.  
  792.  
  793. /* method: wpCopyObject */
  794. WPObject*   wpCopyObject(WPFolder* Folder,
  795.         BOOL fLock)
  796. {
  797.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpCopyObject)
  798.     (this,Folder,fLock);
  799. }
  800.  
  801.  
  802. /* method: wpMoveObject */
  803. BOOL   wpMoveObject(WPFolder* Folder)
  804. {
  805.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpMoveObject)
  806.     (this,Folder);
  807. }
  808.  
  809.  
  810. /* method: wpQueryIcon */
  811. HPOINTER   wpQueryIcon()
  812. {
  813.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryIcon)
  814.     (this);
  815. }
  816.  
  817.  
  818. /* method: wpQueryIconData */
  819. ULONG   wpQueryIconData(PICONINFO pIconInfo)
  820. {
  821.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryIconData)
  822.     (this,pIconInfo);
  823. }
  824.  
  825.  
  826. /* method: wpSetIconData */
  827. BOOL   wpSetIconData(PICONINFO pIconInfo)
  828. {
  829.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSetIconData)
  830.     (this,pIconInfo);
  831. }
  832.  
  833.  
  834. /* method: wpDragOver */
  835. MRESULT   wpDragOver(HWND hwndCnr,
  836.         PDRAGINFO pdrgInfo)
  837. {
  838.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpDragOver)
  839.     (this,hwndCnr,pdrgInfo);
  840. }
  841.  
  842.  
  843. /* method: wpReplaceObject */
  844. BOOL32   wpReplaceObject(WPObject* targetObject,
  845.         BOOL32 fMove)
  846. {
  847.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpReplaceObject)
  848.     (this,targetObject,fMove);
  849. }
  850.  
  851.  
  852. /* method: wpQueryNameClashOptions */
  853. ULONG   wpQueryNameClashOptions(ULONG menuID)
  854. {
  855.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryNameClashOptions)
  856.     (this,menuID);
  857. }
  858.  
  859.  
  860. /* method: wpAddObjectGeneralPage */
  861. ULONG   wpAddObjectGeneralPage(HWND hwndNotebook)
  862. {
  863.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpAddObjectGeneralPage)
  864.     (this,hwndNotebook);
  865. }
  866.  
  867.  
  868. /* method: wpAddObjectGeneralPage2 */
  869. ULONG   wpAddObjectGeneralPage2(HWND hwndNotebook)
  870. {
  871.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpAddObjectGeneralPage2)
  872.     (this,hwndNotebook);
  873. }
  874.  
  875.  
  876. /* method: wpAddObjectWindowPage */
  877. ULONG   wpAddObjectWindowPage(HWND hwndNotebook)
  878. {
  879.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpAddObjectWindowPage)
  880.     (this,hwndNotebook);
  881. }
  882.  
  883.  
  884. /* method: wpAddSettingsPages */
  885. BOOL   wpAddSettingsPages(HWND hwndNotebook)
  886. {
  887.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpAddSettingsPages)
  888.     (this,hwndNotebook);
  889. }
  890.  
  891.  
  892. /* method: wpAddToObjUseList */
  893. BOOL   wpAddToObjUseList(PUSEITEM pUseItem)
  894. {
  895.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpAddToObjUseList)
  896.     (this,pUseItem);
  897. }
  898.  
  899.  
  900. /* method: wpAllocMem */
  901. PBYTE   wpAllocMem(ULONG cbBytes,
  902.         PULONG prc)
  903. {
  904.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpAllocMem)
  905.     (this,cbBytes,prc);
  906. }
  907.  
  908.  
  909. /* method: wpAppendObject */
  910. BOOL32   wpAppendObject(WPObject* targetObject,
  911.         BOOL32 fMove)
  912. {
  913.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpAppendObject)
  914.     (this,targetObject,fMove);
  915. }
  916.  
  917.  
  918. /* method: wpAssertObjectMutexSem */
  919. BOOL   wpAssertObjectMutexSem()
  920. {
  921.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpAssertObjectMutexSem)
  922.     (this);
  923. }
  924.  
  925.  
  926. /* method: wpClose */
  927. BOOL   wpClose()
  928. {
  929.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpClose)
  930.     (this);
  931. }
  932.  
  933.  
  934. /* method: wpCnrInsertObject */
  935. PMINIRECORDCORE   wpCnrInsertObject(HWND hwndCnr,
  936.         PPOINTL pptlIcon,
  937.         PMINIRECORDCORE preccParent,
  938.         PRECORDINSERT pRecInsert)
  939. {
  940.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpCnrInsertObject)
  941.     (this,hwndCnr,pptlIcon,preccParent,pRecInsert);
  942. }
  943.  
  944.  
  945. /* method: wpCnrRemoveObject */
  946. BOOL   wpCnrRemoveObject(HWND hwndCnr)
  947. {
  948.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpCnrRemoveObject)
  949.     (this,hwndCnr);
  950. }
  951.  
  952.  
  953. /* method: wpCnrSetEmphasis */
  954. BOOL   wpCnrSetEmphasis(ULONG ulEmphasisAttr,
  955.         BOOL fTurnOn)
  956. {
  957.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpCnrSetEmphasis)
  958.     (this,ulEmphasisAttr,fTurnOn);
  959. }
  960.  
  961.  
  962. /* method: wpConfirmDelete */
  963. ULONG   wpConfirmDelete(ULONG fConfirmations)
  964. {
  965.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpConfirmDelete)
  966.     (this,fConfirmations);
  967. }
  968.  
  969.  
  970. /* method: wpConfirmObjectTitle */
  971. ULONG   wpConfirmObjectTitle(WPFolder* Folder,
  972.         WPObject** ppDuplicate,
  973.         PSZ pszTitle,
  974.         ULONG cbTitle,
  975.         ULONG menuID)
  976. {
  977.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpConfirmObjectTitle)
  978.     (this,Folder,ppDuplicate,pszTitle,cbTitle,menuID);
  979. }
  980.  
  981.  
  982. /* method: wpCopiedFromTemplate */
  983. void   wpCopiedFromTemplate()
  984. {
  985.    SOM_ResolveD(this,WPFontPalette,WPObject,wpCopiedFromTemplate)
  986.     (this);
  987. }
  988.  
  989.  
  990. /* method: wpCreateAnother */
  991. WPObject*   wpCreateAnother(PSZ pszTitle,
  992.         PSZ pszSetupEnv,
  993.         WPFolder* Folder)
  994. {
  995.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpCreateAnother)
  996.     (this,pszTitle,pszSetupEnv,Folder);
  997. }
  998.  
  999.  
  1000. /* method: wpCreateFromTemplate */
  1001. WPObject*   wpCreateFromTemplate(WPFolder* folder,
  1002.         BOOL fLock)
  1003. {
  1004.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpCreateFromTemplate)
  1005.     (this,folder,fLock);
  1006. }
  1007.  
  1008.  
  1009. /* method: wpCreateShadowObject */
  1010. WPObject*   wpCreateShadowObject(WPFolder* Folder,
  1011.         BOOL fLock)
  1012. {
  1013.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpCreateShadowObject)
  1014.     (this,Folder,fLock);
  1015. }
  1016.  
  1017.  
  1018. /* method: wpDelete */
  1019. ULONG   wpDelete(ULONG fConfirmations)
  1020. {
  1021.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpDelete)
  1022.     (this,fConfirmations);
  1023. }
  1024.  
  1025.  
  1026. /* method: wpDeleteFromObjUseList */
  1027. BOOL   wpDeleteFromObjUseList(PUSEITEM pUseItem)
  1028. {
  1029.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpDeleteFromObjUseList)
  1030.     (this,pUseItem);
  1031. }
  1032.  
  1033.  
  1034. /* method: wpDisplayHelp */
  1035. BOOL   wpDisplayHelp(ULONG HelpPanelId,
  1036.         PSZ HelpLibrary)
  1037. {
  1038.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpDisplayHelp)
  1039.     (this,HelpPanelId,HelpLibrary);
  1040. }
  1041.  
  1042.  
  1043. /* method: wpDisplayMenu */
  1044. HWND   wpDisplayMenu(HWND hwndOwner,
  1045.         HWND hwndClient,
  1046.         POINTL* ptlPopupPt,
  1047.         ULONG ulMenuType,
  1048.         ULONG ulReserved)
  1049. {
  1050.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpDisplayMenu)
  1051.     (this,hwndOwner,hwndClient,ptlPopupPt,ulMenuType,ulReserved);
  1052. }
  1053.  
  1054.  
  1055. /* method: wpDoesObjectMatch */
  1056. BOOL   wpDoesObjectMatch(PVOID pvoidExtendedCriteria)
  1057. {
  1058.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpDoesObjectMatch)
  1059.     (this,pvoidExtendedCriteria);
  1060. }
  1061.  
  1062.  
  1063. /* method: wpDraggedOverObject */
  1064. MRESULT   wpDraggedOverObject(WPObject* DraggedOverObject)
  1065. {
  1066.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpDraggedOverObject)
  1067.     (this,DraggedOverObject);
  1068. }
  1069.  
  1070.  
  1071. /* method: wpDrop */
  1072. MRESULT   wpDrop(HWND hwndCnr,
  1073.         PDRAGINFO pdrgInfo,
  1074.         PDRAGITEM pdrgItem)
  1075. {
  1076.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpDrop)
  1077.     (this,hwndCnr,pdrgInfo,pdrgItem);
  1078. }
  1079.  
  1080.  
  1081. /* method: wpDroppedOnObject */
  1082. BOOL   wpDroppedOnObject(WPObject* DroppedOnObject)
  1083. {
  1084.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpDroppedOnObject)
  1085.     (this,DroppedOnObject);
  1086. }
  1087.  
  1088.  
  1089. /* method: wpEndConversation */
  1090. MRESULT   wpEndConversation(ULONG ulItemID,
  1091.         ULONG flResult)
  1092. {
  1093.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpEndConversation)
  1094.     (this,ulItemID,flResult);
  1095. }
  1096.  
  1097.  
  1098. /* method: wpFindUseItem */
  1099. PUSEITEM   wpFindUseItem(ULONG type,
  1100.         PUSEITEM pCurrentItem)
  1101. {
  1102.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpFindUseItem)
  1103.     (this,type,pCurrentItem);
  1104. }
  1105.  
  1106.  
  1107. /* method: wpFormatDragItem */
  1108. BOOL   wpFormatDragItem(PDRAGITEM pdrgItem)
  1109. {
  1110.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpFormatDragItem)
  1111.     (this,pdrgItem);
  1112. }
  1113.  
  1114.  
  1115. /* method: wpFree */
  1116. BOOL   wpFree()
  1117. {
  1118.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpFree)
  1119.     (this);
  1120. }
  1121.  
  1122.  
  1123. /* method: wpFreeMem */
  1124. BOOL   wpFreeMem(PBYTE pByte)
  1125. {
  1126.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpFreeMem)
  1127.     (this,pByte);
  1128. }
  1129.  
  1130.  
  1131. /* method: wpHide */
  1132. BOOL   wpHide()
  1133. {
  1134.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpHide)
  1135.     (this);
  1136. }
  1137.  
  1138.  
  1139. /* method: wpInsertPopupMenuItems */
  1140. BOOL   wpInsertPopupMenuItems(HWND hwndMenu,
  1141.         ULONG iPosition,
  1142.         HMODULE hmod,
  1143.         ULONG MenuID,
  1144.         ULONG SubMenuID)
  1145. {
  1146.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpInsertPopupMenuItems)
  1147.     (this,hwndMenu,iPosition,hmod,MenuID,SubMenuID);
  1148. }
  1149.  
  1150.  
  1151. /* method: wpInsertSettingsPage */
  1152. ULONG   wpInsertSettingsPage(HWND hwndNotebook,
  1153.         PPAGEINFO ppageinfo)
  1154. {
  1155.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpInsertSettingsPage)
  1156.     (this,hwndNotebook,ppageinfo);
  1157. }
  1158.  
  1159.  
  1160. /* method: wpPrintObject */
  1161. BOOL   wpPrintObject(PPRINTDEST pPrintDest,
  1162.         ULONG ulReserved)
  1163. {
  1164.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpPrintObject)
  1165.     (this,pPrintDest,ulReserved);
  1166. }
  1167.  
  1168.  
  1169. /* method: wpQueryConcurrentView */
  1170. ULONG   wpQueryConcurrentView()
  1171. {
  1172.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryConcurrentView)
  1173.     (this);
  1174. }
  1175.  
  1176.  
  1177. /* method: wpQueryButtonAppearance */
  1178. ULONG   wpQueryButtonAppearance()
  1179. {
  1180.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryButtonAppearance)
  1181.     (this);
  1182. }
  1183.  
  1184.  
  1185. /* method: wpQueryConfirmations */
  1186. ULONG   wpQueryConfirmations()
  1187. {
  1188.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryConfirmations)
  1189.     (this);
  1190. }
  1191.  
  1192.  
  1193. /* method: wpQueryDefaultHelp */
  1194. BOOL   wpQueryDefaultHelp(PULONG pHelpPanelId,
  1195.         PSZ HelpLibrary)
  1196. {
  1197.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryDefaultHelp)
  1198.     (this,pHelpPanelId,HelpLibrary);
  1199. }
  1200.  
  1201.  
  1202. /* method: wpQueryDefaultView */
  1203. ULONG   wpQueryDefaultView()
  1204. {
  1205.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryDefaultView)
  1206.     (this);
  1207. }
  1208.  
  1209.  
  1210. /* method: wpQueryDetailsData */
  1211. ULONG   wpQueryDetailsData(PVOID* ppDetailsData,
  1212.         PULONG pcp)
  1213. {
  1214.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryDetailsData)
  1215.     (this,ppDetailsData,pcp);
  1216. }
  1217.  
  1218.  
  1219. /* method: wpQueryError */
  1220. ULONG   wpQueryError()
  1221. {
  1222.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryError)
  1223.     (this);
  1224. }
  1225.  
  1226.  
  1227. /* method: wpSetFolder */
  1228. BOOL   wpSetFolder(WPObject* container)
  1229. {
  1230.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSetFolder)
  1231.     (this,container);
  1232. }
  1233.  
  1234.  
  1235. /* method: wpQueryFolder */
  1236. WPObject*   wpQueryFolder()
  1237. {
  1238.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryFolder)
  1239.     (this);
  1240. }
  1241.  
  1242.  
  1243. /* method: wpQueryMinWindow */
  1244. ULONG   wpQueryMinWindow()
  1245. {
  1246.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryMinWindow)
  1247.     (this);
  1248. }
  1249.  
  1250.  
  1251. /* method: wpQueryStyle */
  1252. ULONG   wpQueryStyle()
  1253. {
  1254.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryStyle)
  1255.     (this);
  1256. }
  1257.  
  1258.  
  1259. /* method: wpSetTaskRec */
  1260. BOOL32   wpSetTaskRec(PTASKREC pNew,
  1261.         PTASKREC pOld)
  1262. {
  1263.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSetTaskRec)
  1264.     (this,pNew,pOld);
  1265. }
  1266.  
  1267.  
  1268. /* method: wpFindTaskRec */
  1269. PTASKREC   wpFindTaskRec()
  1270. {
  1271.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpFindTaskRec)
  1272.     (this);
  1273. }
  1274.  
  1275.  
  1276. /* method: wpQueryTitle */
  1277. PSZ   wpQueryTitle()
  1278. {
  1279.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryTitle)
  1280.     (this);
  1281. }
  1282.  
  1283.  
  1284. /* method: wpRegisterView */
  1285. BOOL   wpRegisterView(HWND hwndFrame,
  1286.         PSZ pszViewTitle)
  1287. {
  1288.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpRegisterView)
  1289.     (this,hwndFrame,pszViewTitle);
  1290. }
  1291.  
  1292.  
  1293. /* method: wpReleaseObjectMutexSem */
  1294. ULONG   wpReleaseObjectMutexSem()
  1295. {
  1296.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpReleaseObjectMutexSem)
  1297.     (this);
  1298. }
  1299.  
  1300.  
  1301. /* method: wpRender */
  1302. MRESULT   wpRender(PDRAGTRANSFER pdxfer)
  1303. {
  1304.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpRender)
  1305.     (this,pdxfer);
  1306. }
  1307.  
  1308.  
  1309. /* method: wpRenderComplete */
  1310. MRESULT   wpRenderComplete(PDRAGTRANSFER pdxfer,
  1311.         ULONG ulResult)
  1312. {
  1313.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpRenderComplete)
  1314.     (this,pdxfer,ulResult);
  1315. }
  1316.  
  1317.  
  1318. /* method: wpRequestObjectMutexSem */
  1319. ULONG   wpRequestObjectMutexSem(ULONG ulTimeout)
  1320. {
  1321.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpRequestObjectMutexSem)
  1322.     (this,ulTimeout);
  1323. }
  1324.  
  1325.  
  1326. /* method: wpRestore */
  1327. BOOL   wpRestore()
  1328. {
  1329.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpRestore)
  1330.     (this);
  1331. }
  1332.  
  1333.  
  1334. /* method: wpRestoreData */
  1335. BOOL   wpRestoreData(PSZ pszClass,
  1336.         ULONG ulKey,
  1337.         PBYTE pValue,
  1338.         PULONG pcbValue)
  1339. {
  1340.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpRestoreData)
  1341.     (this,pszClass,ulKey,pValue,pcbValue);
  1342. }
  1343.  
  1344.  
  1345. /* method: wpRestoreLong */
  1346. BOOL   wpRestoreLong(PSZ pszClass,
  1347.         ULONG ulKey,
  1348.         PULONG pulValue)
  1349. {
  1350.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpRestoreLong)
  1351.     (this,pszClass,ulKey,pulValue);
  1352. }
  1353.  
  1354.  
  1355. /* method: wpRestoreString */
  1356. BOOL   wpRestoreString(PSZ pszClass,
  1357.         ULONG ulKey,
  1358.         PSZ pszValue,
  1359.         PULONG pcbValue)
  1360. {
  1361.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpRestoreString)
  1362.     (this,pszClass,ulKey,pszValue,pcbValue);
  1363. }
  1364.  
  1365.  
  1366. /* method: wpSaveData */
  1367. BOOL   wpSaveData(PSZ pszClass,
  1368.         ULONG ulKey,
  1369.         PBYTE pValue,
  1370.         ULONG cbValue)
  1371. {
  1372.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSaveData)
  1373.     (this,pszClass,ulKey,pValue,cbValue);
  1374. }
  1375.  
  1376.  
  1377. /* method: wpSaveDeferred */
  1378. BOOL   wpSaveDeferred()
  1379. {
  1380.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSaveDeferred)
  1381.     (this);
  1382. }
  1383.  
  1384.  
  1385. /* method: wpSaveLong */
  1386. BOOL   wpSaveLong(PSZ pszClass,
  1387.         ULONG ulKey,
  1388.         ULONG ulValue)
  1389. {
  1390.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSaveLong)
  1391.     (this,pszClass,ulKey,ulValue);
  1392. }
  1393.  
  1394.  
  1395. /* method: wpSaveString */
  1396. BOOL   wpSaveString(PSZ pszClass,
  1397.         ULONG ulKey,
  1398.         PSZ pszValue)
  1399. {
  1400.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSaveString)
  1401.     (this,pszClass,ulKey,pszValue);
  1402. }
  1403.  
  1404.  
  1405. /* method: wpScanSetupString */
  1406. BOOL   wpScanSetupString(PSZ pszSetupString,
  1407.         PSZ pszKey,
  1408.         PSZ pszValue,
  1409.         PULONG pcbValue)
  1410. {
  1411.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpScanSetupString)
  1412.     (this,pszSetupString,pszKey,pszValue,pcbValue);
  1413. }
  1414.  
  1415.  
  1416. /* method: wpSetConcurrentView */
  1417. void   wpSetConcurrentView(ULONG ulCCView)
  1418. {
  1419.    SOM_ResolveD(this,WPFontPalette,WPObject,wpSetConcurrentView)
  1420.     (this,ulCCView);
  1421. }
  1422.  
  1423.  
  1424. /* method: wpSetButtonAppearance */
  1425. void   wpSetButtonAppearance(ULONG ulButtonType)
  1426. {
  1427.    SOM_ResolveD(this,WPFontPalette,WPObject,wpSetButtonAppearance)
  1428.     (this,ulButtonType);
  1429. }
  1430.  
  1431.  
  1432. /* method: wpSetDefaultHelp */
  1433. BOOL   wpSetDefaultHelp(ULONG HelpPanelId,
  1434.         PSZ HelpLibrary)
  1435. {
  1436.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSetDefaultHelp)
  1437.     (this,HelpPanelId,HelpLibrary);
  1438. }
  1439.  
  1440.  
  1441. /* method: wpSetDefaultView */
  1442. BOOL   wpSetDefaultView(ULONG ulView)
  1443. {
  1444.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSetDefaultView)
  1445.     (this,ulView);
  1446. }
  1447.  
  1448.  
  1449. /* method: wpSetError */
  1450. BOOL   wpSetError(ULONG ulErrorId)
  1451. {
  1452.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSetError)
  1453.     (this,ulErrorId);
  1454. }
  1455.  
  1456.  
  1457. /* method: wpSetIconHandle */
  1458. BOOL   wpSetIconHandle(HPOINTER hptrNewIcon)
  1459. {
  1460.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSetIconHandle)
  1461.     (this,hptrNewIcon);
  1462. }
  1463.  
  1464.  
  1465. /* method: wpQueryScreenGroupID */
  1466. SGID   wpQueryScreenGroupID(SGID sgidPrevSgId)
  1467. {
  1468.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryScreenGroupID)
  1469.     (this,sgidPrevSgId);
  1470. }
  1471.  
  1472.  
  1473. /* method: wpSetupOnce */
  1474. BOOL   wpSetupOnce(PSZ pszSetupString)
  1475. {
  1476.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSetupOnce)
  1477.     (this,pszSetupString);
  1478. }
  1479.  
  1480.  
  1481. /* method: wpSetIcon */
  1482. BOOL   wpSetIcon(HPOINTER hptrNewIcon)
  1483. {
  1484.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSetIcon)
  1485.     (this,hptrNewIcon);
  1486. }
  1487.  
  1488.  
  1489. /* method: wpSetMinWindow */
  1490. void   wpSetMinWindow(ULONG ulMinWindow)
  1491. {
  1492.    SOM_ResolveD(this,WPFontPalette,WPObject,wpSetMinWindow)
  1493.     (this,ulMinWindow);
  1494. }
  1495.  
  1496.  
  1497. /* method: wpSetStyle */
  1498. BOOL   wpSetStyle(ULONG ulNewStyle)
  1499. {
  1500.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSetStyle)
  1501.     (this,ulNewStyle);
  1502. }
  1503.  
  1504.  
  1505. /* method: wpModifyStyle */
  1506. BOOL   wpModifyStyle(ULONG ulStyleFlags,
  1507.         ULONG ulStyleMask)
  1508. {
  1509.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpModifyStyle)
  1510.     (this,ulStyleFlags,ulStyleMask);
  1511. }
  1512.  
  1513.  
  1514. /* method: wpSwitchTo */
  1515. BOOL   wpSwitchTo(ULONG View)
  1516. {
  1517.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSwitchTo)
  1518.     (this,View);
  1519. }
  1520.  
  1521.  
  1522. /* method: wpViewObject */
  1523. HWND   wpViewObject(HWND hwndCnr,
  1524.         ULONG ulView,
  1525.         ULONG param)
  1526. {
  1527.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpViewObject)
  1528.     (this,hwndCnr,ulView,param);
  1529. }
  1530.  
  1531.  
  1532. /* method: wpQueryTrueStyle */
  1533. ULONG   wpQueryTrueStyle()
  1534. {
  1535.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryTrueStyle)
  1536.     (this);
  1537. }
  1538.  
  1539.  
  1540. /* method: wpUnlockObject */
  1541. BOOL   wpUnlockObject()
  1542. {
  1543.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpUnlockObject)
  1544.     (this);
  1545. }
  1546.  
  1547.  
  1548. /* method: wpObjectReady */
  1549. void   wpObjectReady(ULONG ulCode,
  1550.         WPObject* refObject)
  1551. {
  1552.    SOM_ResolveD(this,WPFontPalette,WPObject,wpObjectReady)
  1553.     (this,ulCode,refObject);
  1554. }
  1555.  
  1556.  
  1557. /* method: wpIsObjectInitialized */
  1558. BOOL   wpIsObjectInitialized()
  1559. {
  1560.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpIsObjectInitialized)
  1561.     (this);
  1562. }
  1563.  
  1564.  
  1565. /* method: wpCreateShadowObjectExt */
  1566. WPObject*   wpCreateShadowObjectExt(WPFolder* Folder,
  1567.         BOOL fLock,
  1568.         PSZ pszSetup,
  1569.         M_WPObject* shadowClass)
  1570. {
  1571.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpCreateShadowObjectExt)
  1572.     (this,Folder,fLock,pszSetup,shadowClass);
  1573. }
  1574.  
  1575.  
  1576. /* method: wpCnrDeleteUseItem */
  1577. BOOL   wpCnrDeleteUseItem(HWND hwndCnr)
  1578. {
  1579.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpCnrDeleteUseItem)
  1580.     (this,hwndCnr);
  1581. }
  1582.  
  1583.  
  1584. /* method: wpIsDeleteable */
  1585. BOOL   wpIsDeleteable()
  1586. {
  1587.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpIsDeleteable)
  1588.     (this);
  1589. }
  1590.  
  1591.  
  1592. /* method: wpQueryCoreRecord */
  1593. PMINIRECORDCORE   wpQueryCoreRecord()
  1594. {
  1595.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryCoreRecord)
  1596.     (this);
  1597. }
  1598.  
  1599.  
  1600. /* method: wpSetObjectID */
  1601. BOOL   wpSetObjectID(PSZ pszObjectID)
  1602. {
  1603.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSetObjectID)
  1604.     (this,pszObjectID);
  1605. }
  1606.  
  1607.  
  1608. /* method: wpQueryObjectID */
  1609. PSZ   wpQueryObjectID()
  1610. {
  1611.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryObjectID)
  1612.     (this);
  1613. }
  1614.  
  1615.  
  1616. /* method: wpSetDefaultIconPos */
  1617. BOOL   wpSetDefaultIconPos(PPOINTL pPointl)
  1618. {
  1619.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpSetDefaultIconPos)
  1620.     (this,pPointl);
  1621. }
  1622.  
  1623.  
  1624. /* method: wpQueryDefaultIconPos */
  1625. BOOL   wpQueryDefaultIconPos(PPOINTL pPointl)
  1626. {
  1627.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryDefaultIconPos)
  1628.     (this,pPointl);
  1629. }
  1630.  
  1631.  
  1632. /* method: wpCnrRefreshDetails */
  1633. void   wpCnrRefreshDetails()
  1634. {
  1635.    SOM_ResolveD(this,WPFontPalette,WPObject,wpCnrRefreshDetails)
  1636.     (this);
  1637. }
  1638.  
  1639.  
  1640. /* method: wpFindViewItem */
  1641. PVIEWITEM   wpFindViewItem(ULONG flViews,
  1642.         PVIEWITEM pCurrentItem)
  1643. {
  1644.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpFindViewItem)
  1645.     (this,flViews,pCurrentItem);
  1646. }
  1647.  
  1648.  
  1649. /* method: wpLockObject */
  1650. void   wpLockObject()
  1651. {
  1652.    SOM_ResolveD(this,WPFontPalette,WPObject,wpLockObject)
  1653.     (this);
  1654. }
  1655.  
  1656.  
  1657. /* method: wpIsLocked */
  1658. BOOL   wpIsLocked()
  1659. {
  1660.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpIsLocked)
  1661.     (this);
  1662. }
  1663.  
  1664.  
  1665. /* method: wpQueryContainerFlagPtr */
  1666. PULONG   wpQueryContainerFlagPtr()
  1667. {
  1668.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpQueryContainerFlagPtr)
  1669.     (this);
  1670. }
  1671.  
  1672.  
  1673. /* method: wpWaitForClose */
  1674. ULONG   wpWaitForClose(LHANDLE lhView,
  1675.         ULONG ulViews,
  1676.         long lTimeOut,
  1677.         BOOL bAutoClose)
  1678. {
  1679.    return SOM_ResolveD(this,WPFontPalette,WPObject,wpWaitForClose)
  1680.     (this,lhView,ulViews,lTimeOut,bAutoClose);
  1681. }
  1682.  
  1683.  
  1684. /* method: somInit */
  1685. void   somInit()
  1686. {
  1687.    SOM_ResolveD(this,WPFontPalette,SOMObject,somInit)
  1688.     (this);
  1689. }
  1690.  
  1691.  
  1692. /* method: somUninit */
  1693. void   somUninit()
  1694. {
  1695.    SOM_ResolveD(this,WPFontPalette,SOMObject,somUninit)
  1696.     (this);
  1697. }
  1698.  
  1699.  
  1700. /* method: somDefaultCopyInit */
  1701. void   somDefaultCopyInit(somInitCtrl* ctrl,
  1702.         SOMObject* fromObj)
  1703. {
  1704.    SOM_ResolveD(this,WPFontPalette,SOMObject,somDefaultCopyInit)
  1705.     (this,ctrl,fromObj);
  1706. }
  1707.  
  1708.  
  1709. /* method: somDefaultAssign */
  1710. WPFontPalette*  somDefaultAssign(somAssignCtrl* ctrl,
  1711.         SOMObject* fromObj)
  1712. {
  1713.    return SOM_ResolveD(this,WPFontPalette,SOMObject,somDefaultAssign)
  1714.     (this,ctrl,fromObj);
  1715. }
  1716.  
  1717.  
  1718. /* method: somDefaultConstCopyInit */
  1719. void   somDefaultConstCopyInit(somInitCtrl* ctrl,
  1720.         SOMObject* fromObj)
  1721. {
  1722.    SOM_ResolveD(this,WPFontPalette,SOMObject,somDefaultConstCopyInit)
  1723.     (this,ctrl,fromObj);
  1724. }
  1725.  
  1726.  
  1727. /* method: somDefaultVCopyInit */
  1728. void   somDefaultVCopyInit(somInitCtrl* ctrl,
  1729.         SOMObject* fromObj)
  1730. {
  1731.    SOM_ResolveD(this,WPFontPalette,SOMObject,somDefaultVCopyInit)
  1732.     (this,ctrl,fromObj);
  1733. }
  1734.  
  1735.  
  1736. /* method: somDefaultConstVCopyInit */
  1737. void   somDefaultConstVCopyInit(somInitCtrl* ctrl,
  1738.         SOMObject* fromObj)
  1739. {
  1740.    SOM_ResolveD(this,WPFontPalette,SOMObject,somDefaultConstVCopyInit)
  1741.     (this,ctrl,fromObj);
  1742. }
  1743.  
  1744.  
  1745. /* method: somDefaultConstAssign */
  1746. WPFontPalette*  somDefaultConstAssign(somAssignCtrl* ctrl,
  1747.         SOMObject* fromObj)
  1748. {
  1749.    return SOM_ResolveD(this,WPFontPalette,SOMObject,somDefaultConstAssign)
  1750.     (this,ctrl,fromObj);
  1751. }
  1752.  
  1753.  
  1754. /* method: somDefaultVAssign */
  1755. WPFontPalette*  somDefaultVAssign(somAssignCtrl* ctrl,
  1756.         SOMObject* fromObj)
  1757. {
  1758.    return SOM_ResolveD(this,WPFontPalette,SOMObject,somDefaultVAssign)
  1759.     (this,ctrl,fromObj);
  1760. }
  1761.  
  1762.  
  1763. /* method: somDefaultConstVAssign */
  1764. WPFontPalette*  somDefaultConstVAssign(somAssignCtrl* ctrl,
  1765.         SOMObject* fromObj)
  1766. {
  1767.    return SOM_ResolveD(this,WPFontPalette,SOMObject,somDefaultConstVAssign)
  1768.     (this,ctrl,fromObj);
  1769. }
  1770.  
  1771.  
  1772. /* method: somFree */
  1773. void   somFree()
  1774. {
  1775.    SOM_ResolveD(this,WPFontPalette,SOMObject,somFree)
  1776.     (this);
  1777. }
  1778.  
  1779.  
  1780. /* method: somGetClass */
  1781. M_WPFontPalette*  somGetClass()
  1782. {
  1783.    return SOM_ResolveD(this,WPFontPalette,SOMObject,somGetClass)
  1784.     (this);
  1785. }
  1786.  
  1787.  
  1788. /* method: somGetClassName */
  1789. string   somGetClassName()
  1790. {
  1791.    return SOM_ResolveD(this,WPFontPalette,SOMObject,somGetClassName)
  1792.     (this);
  1793. }
  1794.  
  1795.  
  1796. /* method: somGetSize */
  1797. long   somGetSize()
  1798. {
  1799.    return SOM_ResolveD(this,WPFontPalette,SOMObject,somGetSize)
  1800.     (this);
  1801. }
  1802.  
  1803.  
  1804. /* method: somIsA */
  1805. boolean   somIsA(SOMClass* aClassObj)
  1806. {
  1807.    return SOM_ResolveD(this,WPFontPalette,SOMObject,somIsA)
  1808.     (this,aClassObj);
  1809. }
  1810.  
  1811.  
  1812. /* method: somIsInstanceOf */
  1813. boolean   somIsInstanceOf(SOMClass* aClassObj)
  1814. {
  1815.    return SOM_ResolveD(this,WPFontPalette,SOMObject,somIsInstanceOf)
  1816.     (this,aClassObj);
  1817. }
  1818.  
  1819.  
  1820. /* method: somRespondsTo */
  1821. boolean   somRespondsTo(somId mId)
  1822. {
  1823.    return SOM_ResolveD(this,WPFontPalette,SOMObject,somRespondsTo)
  1824.     (this,mId);
  1825. }
  1826.  
  1827.  
  1828. /* va_list method: somDispatch */
  1829. /* the va_list invocation form */
  1830. boolean   WPFontPalette_somDispatch(somToken* retValue,
  1831.         somId methodId,
  1832.         va_list ap)
  1833. {
  1834. return SOM_ResolveD(this,WPFontPalette,SOMObject,somDispatch)
  1835.     (this,retValue,methodId,ap);
  1836. }
  1837.  
  1838. /* the varargs invocation form */
  1839. boolean   somDispatch(somToken* retValue,
  1840.         somId methodId,
  1841.         ...)
  1842. {
  1843.    va_list ap;
  1844.    va_start(ap, methodId);
  1845.    boolean __somResult = 
  1846.       SOM_ResolveD(this,WPFontPalette,SOMObject,somDispatch)
  1847.     (this,retValue,methodId,ap);
  1848.    va_end(ap);
  1849.    return __somResult;
  1850. }
  1851.  
  1852.  
  1853. /* va_list method: somClassDispatch */
  1854. /* the va_list invocation form */
  1855. boolean   WPFontPalette_somClassDispatch(SOMClass* clsObj,
  1856.         somToken* retValue,
  1857.         somId methodId,
  1858.         va_list ap)
  1859. {
  1860. return SOM_ResolveD(this,WPFontPalette,SOMObject,somClassDispatch)
  1861.     (this,clsObj,retValue,methodId,ap);
  1862. }
  1863.  
  1864. /* the varargs invocation form */
  1865. boolean   somClassDispatch(SOMClass* clsObj,
  1866.         somToken* retValue,
  1867.         somId methodId,
  1868.         ...)
  1869. {
  1870.    va_list ap;
  1871.    va_start(ap, methodId);
  1872.    boolean __somResult = 
  1873.       SOM_ResolveD(this,WPFontPalette,SOMObject,somClassDispatch)
  1874.     (this,clsObj,retValue,methodId,ap);
  1875.    va_end(ap);
  1876.    return __somResult;
  1877. }
  1878.  
  1879.  
  1880. /* method: somCastObj */
  1881. boolean   somCastObj(SOMClass* cls)
  1882. {
  1883.    return SOM_ResolveD(this,WPFontPalette,SOMObject,somCastObj)
  1884.     (this,cls);
  1885. }
  1886.  
  1887.  
  1888. /* method: somResetObj */
  1889. boolean   somResetObj()
  1890. {
  1891.    return SOM_ResolveD(this,WPFontPalette,SOMObject,somResetObj)
  1892.     (this);
  1893. }
  1894.  
  1895.  
  1896. /* method: somPrintSelf */
  1897. SOMObject*   somPrintSelf()
  1898. {
  1899.    return SOM_ResolveD(this,WPFontPalette,SOMObject,somPrintSelf)
  1900.     (this);
  1901. }
  1902.  
  1903.  
  1904. /* method: somDumpSelf */
  1905. void   somDumpSelf(long level)
  1906. {
  1907.    SOM_ResolveD(this,WPFontPalette,SOMObject,somDumpSelf)
  1908.     (this,level);
  1909. }
  1910.  
  1911.  
  1912. /* method: somDumpSelfInt */
  1913. void   somDumpSelfInt(long level)
  1914. {
  1915.    SOM_ResolveD(this,WPFontPalette,SOMObject,somDumpSelfInt)
  1916.     (this,level);
  1917. }
  1918.  
  1919.  
  1920.  
  1921. };   /* WPFontPalette */
  1922.  
  1923.  
  1924.  
  1925. #endif       /* SOM_WPFontPalette_xh */
  1926.  
  1927. #ifndef SOM_M_WPFontPalette_xh
  1928. #define SOM_M_WPFontPalette_xh
  1929.  
  1930. class M_WPFontPalette;
  1931.  
  1932. #define M_WPFontPalette_MajorVersion 1
  1933. #define M_WPFontPalette_MinorVersion 2
  1934.  
  1935. /* C++ SOM defs */
  1936. #include <somcls.xh>
  1937. #include <somcm.xh>
  1938.  
  1939. /* C++ parent defs */
  1940. #ifndef SOM_M_WPPalette_xh
  1941. #include <wppalet.xh>
  1942. #endif
  1943.  
  1944. #ifndef M_WPFontPalette_API
  1945. #define M_WPFontPalette_API
  1946. /*
  1947.  * -- The Class API
  1948.  */
  1949.  
  1950. /*
  1951.  * Start of user-defined types:
  1952.  */
  1953.  
  1954. /*
  1955.  * End of user-defined types.
  1956.  */
  1957.  
  1958. /*
  1959.  * -- M_WPFontPalette is a metaclass for WPFontPalette. Make sure WPFontPalette is known.
  1960.  */
  1961. class WPFontPalette;
  1962.  
  1963.  
  1964. /* A procedure to create the M_WPFontPalette Class */
  1965. SOMEXTERN SOMClass * SOMLINK M_WPFontPaletteNewClass(
  1966.         integer4 majorVersion,
  1967.         integer4 minorVersion);
  1968.  
  1969. /* The API to the M_WPFontPalette class object, and the methods it introduces. */
  1970. SOMEXTERN struct M_WPFontPaletteClassDataStructure {
  1971.     SOMClass *classObject;
  1972. } SOMDLINK M_WPFontPaletteClassData;
  1973. #define _M_WPFontPalette M_WPFontPaletteClassData.classObject
  1974.  
  1975. /* The API to parentMtabs for M_WPFontPalette, and the instance data it introduces. */
  1976. SOMEXTERN struct M_WPFontPaletteCClassDataStructure {
  1977.     somMethodTabs parentMtab;
  1978.     somDToken              instanceDataToken;
  1979. } SOMDLINK M_WPFontPaletteCClassData;
  1980.  
  1981. /*
  1982.  * -- Typedefs for M_WPFontPalette Method Procedures
  1983.  */
  1984. SOMEXTERN {
  1985.  
  1986. /*
  1987.  * -- Typedefs for Reintroduced Wrapper Methods
  1988.  */
  1989. typedef PSZ   (SOMLINK * somTD_M_WPFontPalette_wpclsQueryEditString)(M_WPFontPalette *somSelf);
  1990. typedef PSZ   (SOMLINK * somTD_M_WPFontPalette_wpclsQueryTitle)(M_WPFontPalette *somSelf);
  1991. typedef ULONG   (SOMLINK * somTD_M_WPFontPalette_wpclsQueryStyle)(M_WPFontPalette *somSelf);
  1992. typedef ULONG   (SOMLINK * somTD_M_WPFontPalette_wpclsQueryDefaultView)(M_WPFontPalette *somSelf);
  1993. typedef BOOL   (SOMLINK * somTD_M_WPFontPalette_wpclsQueryDefaultHelp)(M_WPFontPalette *somSelf,
  1994.         PULONG pHelpPanelId,
  1995.         PSZ pszHelpLibrary);
  1996. typedef ULONG   (SOMLINK * somTD_M_WPFontPalette_wpclsQuerySetting)(M_WPFontPalette *somSelf,
  1997.         PSZ pszSetting,
  1998.         PVOID pValue,
  1999.         ULONG ulValueLen);
  2000. typedef BOOL   (SOMLINK * somTD_M_WPFontPalette_wpclsSetSetting)(M_WPFontPalette *somSelf,
  2001.         PSZ pszSetting,
  2002.         PVOID pValue);
  2003. typedef BOOL   (SOMLINK * somTD_M_WPFontPalette_wpclsCreateDefaultTemplates)(M_WPFontPalette *somSelf,
  2004.         WPObject* Folder);
  2005. typedef void   (SOMLINK * somTD_M_WPFontPalette_wpclsInitData)(M_WPFontPalette *somSelf);
  2006. typedef WPObject*   (SOMLINK * somTD_M_WPFontPalette_wpclsMakeAwake)(M_WPFontPalette *somSelf,
  2007.         PSZ pszTitle,
  2008.         ULONG ulStyle,
  2009.         HPOINTER hptrIcon,
  2010.         POBJDATA pObjData,
  2011.         WPFolder* Folder,
  2012.         ULONG ulUser);
  2013. typedef WPObject*   (SOMLINK * somTD_M_WPFontPalette_wpclsNew)(M_WPFontPalette *somSelf,
  2014.         PSZ pszTitle,
  2015.         PSZ pszSetupEnv,
  2016.         WPFolder* Folder,
  2017.         BOOL fLock);
  2018. typedef PCLASSDETAILS   (SOMLINK * somTD_M_WPFontPalette_wpclsQueryDetails)(M_WPFontPalette *somSelf);
  2019. typedef ULONG   (SOMLINK * somTD_M_WPFontPalette_wpclsQueryDetailsInfo)(M_WPFontPalette *somSelf,
  2020.         PCLASSFIELDINFO* ppClassFieldInfo,
  2021.         PULONG pSize);
  2022. typedef BOOL   (SOMLINK * somTD_M_WPFontPalette_wpclsQueryExtendedCriteria)(M_WPFontPalette *somSelf,
  2023.         PSZ pszName,
  2024.         ULONG ulSearchType,
  2025.         PVOID pvoidExtendedCriteria);
  2026. typedef WPObject*   (SOMLINK * somTD_M_WPFontPalette_wpclsQueryFolder)(M_WPFontPalette *somSelf,
  2027.         PSZ pszLocation,
  2028.         BOOL fLock);
  2029. typedef HPOINTER   (SOMLINK * somTD_M_WPFontPalette_wpclsQueryIcon)(M_WPFontPalette *somSelf);
  2030. typedef void   (SOMLINK * somTD_M_WPFontPalette_wpclsQuerySearchInfo)(M_WPFontPalette *somSelf,
  2031.         M_WPObject** ClassExtended,
  2032.         M_WPObject** ClassCreate,
  2033.         PULONG pulClassCriteriaSize);
  2034. typedef void   (SOMLINK * somTD_M_WPFontPalette_wpclsUnInitData)(M_WPFontPalette *somSelf);
  2035. typedef BOOL   (SOMLINK * somTD_M_WPFontPalette_wpclsFindObjectFirst)(M_WPFontPalette *somSelf,
  2036.         PCLASS pClassList,
  2037.         PHFIND phFind,
  2038.         PSZ pszTitle,
  2039.         WPFolder* Folder,
  2040.         BOOL fSubfolders,
  2041.         PVOID pExtendedCriteria,
  2042.         POBJECT pBuffer,
  2043.         PULONG pCount);
  2044. typedef BOOL   (SOMLINK * somTD_M_WPFontPalette_wpclsFindObjectNext)(M_WPFontPalette *somSelf,
  2045.         HFIND hFind,
  2046.         POBJECT pBuffer,
  2047.         PULONG pCount);
  2048. typedef BOOL   (SOMLINK * somTD_M_WPFontPalette_wpclsFindObjectEnd)(M_WPFontPalette *somSelf,
  2049.         HFIND hFind);
  2050. typedef BOOL   (SOMLINK * somTD_M_WPFontPalette_wpclsSetError)(M_WPFontPalette *somSelf,
  2051.         ULONG ulErrorId);
  2052. typedef ULONG   (SOMLINK * somTD_M_WPFontPalette_wpclsQueryError)(M_WPFontPalette *somSelf);
  2053. typedef BOOL   (SOMLINK * somTD_M_WPFontPalette_wpclsQuerySettingsPageSize)(M_WPFontPalette *somSelf,
  2054.         PSIZEL pSizl);
  2055. typedef ULONG   (SOMLINK * somTD_M_WPFontPalette_wpclsQueryIconData)(M_WPFontPalette *somSelf,
  2056.         PICONINFO pIconInfo);
  2057. typedef WPObject*   (SOMLINK * somTD_M_WPFontPalette_wpclsQueryObject)(M_WPFontPalette *somSelf,
  2058.         HOBJECT hObject);
  2059. typedef ULONG   (SOMLINK * somTD_M_WPFontPalette_wpclsQueryButtonAppearance)(M_WPFontPalette *somSelf);
  2060. typedef void   (SOMLINK * somTD_M_WPFontPalette_wpclsDecUsage)(M_WPFontPalette *somSelf);
  2061. typedef void   (SOMLINK * somTD_M_WPFontPalette_wpclsIncUsage)(M_WPFontPalette *somSelf);
  2062. typedef BOOL   (SOMLINK * somTD_M_WPFontPalette_wpclsInsertMultipleObjects)(M_WPFontPalette *somSelf,
  2063.         HWND hwndCnr,
  2064.         PPOINTL pptlIcon,
  2065.         PVOID* pObjectArray,
  2066.         PVOID pRecordParent,
  2067.         ULONG NumRecords);
  2068. typedef WPObject*   (SOMLINK * somTD_M_WPFontPalette_wpclsFindOneObject)(M_WPFontPalette *somSelf,
  2069.         HWND hwndOwner,
  2070.         PSZ pszFindParams);
  2071. typedef BOOL   (SOMLINK * somTD_M_WPFontPalette_wpclsSetSettingsPageSize)(M_WPFontPalette *somSelf,
  2072.         PSIZEL pSizl);
  2073. typedef BOOL   (SOMLINK * somTD_M_WPFontPalette_wpclsSetIconData)(M_WPFontPalette *somSelf,
  2074.         PICONINFO pIconInfo);
  2075. typedef BOOL   (SOMLINK * somTD_M_WPFontPalette_wpclsSetIcon)(M_WPFontPalette *somSelf,
  2076.         HPOINTER hptrNewIcon);
  2077. typedef WPObject*   (SOMLINK * somTD_M_WPFontPalette_wpclsObjectFromHandle)(M_WPFontPalette *somSelf,
  2078.         HOBJECT hObject);
  2079. typedef BOOL   (SOMLINK * somTD_M_WPFontPalette_wpclsRemoveObjects)(M_WPFontPalette *somSelf,
  2080.         HWND hwndCnr,
  2081.         PVOID* pRecordArray,
  2082.         ULONG NumRecords,
  2083.         BOOL RemoveAll);
  2084. typedef void   (SOMLINK * somTD_M_WPFontPalette_somUninit)(M_WPFontPalette *somSelf);
  2085. typedef void   (SOMLINK * somTD_M_WPFontPalette_somClassReady)(M_WPFontPalette *somSelf);
  2086. typedef WPFontPalette*   (SOMLINK * somTD_M_WPFontPalette_somNew)(M_WPFontPalette *somSelf);
  2087. typedef SOMObject*   (SOMLINK * somTD_M_WPFontPalette_somRenew)(M_WPFontPalette *somSelf,
  2088.         void* obj);
  2089. typedef long   (SOMLINK * somTD_M_WPFontPalette__get_somDataAlignment)(M_WPFontPalette *somSelf);
  2090. typedef SOMClass_somOffsets   (SOMLINK * somTD_M_WPFontPalette__get_somInstanceDataOffsets)(M_WPFontPalette *somSelf);
  2091. typedef SOMClass_SOMClassSequence   (SOMLINK * somTD_M_WPFontPalette__get_somDirectInitClasses)(M_WPFontPalette *somSelf);
  2092. typedef void   (SOMLINK * somTD_M_WPFontPalette__set_somDirectInitClasses)(M_WPFontPalette *somSelf,
  2093.         SOMClass_SOMClassSequence* somDirectInitClasses);
  2094. typedef SOMObject*   (SOMLINK * somTD_M_WPFontPalette_somNewNoInit)(M_WPFontPalette *somSelf);
  2095. typedef SOMObject*   (SOMLINK * somTD_M_WPFontPalette_somRenewNoInit)(M_WPFontPalette *somSelf,
  2096.         void* obj);
  2097. typedef SOMObject*   (SOMLINK * somTD_M_WPFontPalette_somRenewNoZero)(M_WPFontPalette *somSelf,
  2098.         void* obj);
  2099. typedef SOMObject*   (SOMLINK * somTD_M_WPFontPalette_somRenewNoInitNoZero)(M_WPFontPalette *somSelf,
  2100.         void* obj);
  2101. typedef string   (SOMLINK * somTD_M_WPFontPalette_somAllocate)(M_WPFontPalette *somSelf,
  2102.         long size);
  2103. typedef void   (SOMLINK * somTD_M_WPFontPalette_somDeallocate)(M_WPFontPalette *somSelf,
  2104.         string memptr);
  2105. typedef somBooleanVector   (SOMLINK * somTD_M_WPFontPalette_somGetInstanceInitMask)(M_WPFontPalette *somSelf,
  2106.         somInitCtrl* ctrl);
  2107. typedef somBooleanVector   (SOMLINK * somTD_M_WPFontPalette_somGetInstanceDestructionMask)(M_WPFontPalette *somSelf,
  2108.         somDestructCtrl* ctrl);
  2109. typedef somBooleanVector   (SOMLINK * somTD_M_WPFontPalette_somGetInstanceAssignmentMask)(M_WPFontPalette *somSelf,
  2110.         somAssignCtrl* ctrl);
  2111. typedef void   (SOMLINK * somTD_M_WPFontPalette_somInitClass)(M_WPFontPalette *somSelf,
  2112.         string className,
  2113.         SOMClass* parentClass,
  2114.         long dataSize,
  2115.         long maxStaticMethods,
  2116.         long majorVersion,
  2117.         long minorVersion);
  2118. typedef void   (SOMLINK * somTD_M_WPFontPalette_somInitMIClass)(M_WPFontPalette *somSelf,
  2119.         long inherit_vars,
  2120.         string className,
  2121.         SOMClass_SOMClassSequence* parentClasses,
  2122.         long dataSize,
  2123.         long dataAlignment,
  2124.         long maxStaticMethods,
  2125.         long majorVersion,
  2126.         long minorVersion);
  2127. typedef somMToken   (SOMLINK * somTD_M_WPFontPalette_somAddStaticMethod)(M_WPFontPalette *somSelf,
  2128.         somId methodId,
  2129.         somId methodDescriptor,
  2130.         somMethodPtr method,
  2131.         somMethodPtr redispatchStub,
  2132.         somMethodPtr applyStub);
  2133. typedef void   (SOMLINK * somTD_M_WPFontPalette_somAddDynamicMethod)(M_WPFontPalette *somSelf,
  2134.         somId methodId,
  2135.         somId methodDescriptor,
  2136.         somMethodPtr method,
  2137.         somMethodPtr applyStub);
  2138. typedef void   (SOMLINK * somTD_M_WPFontPalette_somOverrideSMethod)(M_WPFontPalette *somSelf,
  2139.         somId methodId,
  2140.         somMethodPtr method);
  2141. typedef somMethodPtr   (SOMLINK * somTD_M_WPFontPalette_somGetApplyStub)(M_WPFontPalette *somSelf,
  2142.         somId methodId);
  2143. typedef somClassDataStructure*   (SOMLINK * somTD_M_WPFontPalette_somGetClassData)(M_WPFontPalette *somSelf);
  2144. typedef void   (SOMLINK * somTD_M_WPFontPalette_somSetClassData)(M_WPFontPalette *somSelf,
  2145.         somClassDataStructure* cds);
  2146. typedef somMethodTab*   (SOMLINK * somTD_M_WPFontPalette_somGetClassMtab)(M_WPFontPalette *somSelf);
  2147. typedef long   (SOMLINK * somTD_M_WPFontPalette_somGetInstanceOffset)(M_WPFontPalette *somSelf);
  2148. typedef long   (SOMLINK * somTD_M_WPFontPalette_somGetInstancePartSize)(M_WPFontPalette *somSelf);
  2149. typedef long   (SOMLINK * somTD_M_WPFontPalette_somGetInstanceSize)(M_WPFontPalette *somSelf);
  2150. typedef somDToken   (SOMLINK * somTD_M_WPFontPalette_somGetInstanceToken)(M_WPFontPalette *somSelf);
  2151. typedef somDToken   (SOMLINK * somTD_M_WPFontPalette_somGetMemberToken)(M_WPFontPalette *somSelf,
  2152.         long memberOffset,
  2153.         somDToken instanceToken);
  2154. typedef boolean   (SOMLINK * somTD_M_WPFontPalette_somGetMethodData)(M_WPFontPalette *somSelf,
  2155.         somId methodId,
  2156.         somMethodData* md);
  2157. typedef somMethodProc*   (SOMLINK * somTD_M_WPFontPalette_somGetRdStub)(M_WPFontPalette *somSelf,
  2158.         somId methodId);
  2159. typedef somId   (SOMLINK * somTD_M_WPFontPalette_somGetMethodDescriptor)(M_WPFontPalette *somSelf,
  2160.         somId methodId);
  2161. typedef long   (SOMLINK * somTD_M_WPFontPalette_somGetMethodIndex)(M_WPFontPalette *somSelf,
  2162.         somId id);
  2163. typedef somMToken   (SOMLINK * somTD_M_WPFontPalette_somGetMethodToken)(M_WPFontPalette *somSelf,
  2164.         somId methodId);
  2165. typedef string   (SOMLINK * somTD_M_WPFontPalette_somGetName)(M_WPFontPalette *somSelf);
  2166. typedef boolean   (SOMLINK * somTD_M_WPFontPalette_somGetNthMethodData)(M_WPFontPalette *somSelf,
  2167.         long n,
  2168.         somMethodData* md);
  2169. typedef somId   (SOMLINK * somTD_M_WPFontPalette_somGetNthMethodInfo)(M_WPFontPalette *somSelf,
  2170.         long n,
  2171.         somId* descriptor);
  2172. typedef long   (SOMLINK * somTD_M_WPFontPalette_somGetNumMethods)(M_WPFontPalette *somSelf);
  2173. typedef long   (SOMLINK * somTD_M_WPFontPalette_somGetNumStaticMethods)(M_WPFontPalette *somSelf);
  2174. typedef SOMClass*   (SOMLINK * somTD_M_WPFontPalette_somGetParent)(M_WPFontPalette *somSelf);
  2175. typedef SOMClass_SOMClassSequence   (SOMLINK * somTD_M_WPFontPalette_somGetParents)(M_WPFontPalette *somSelf);
  2176. typedef somMethodTabs   (SOMLINK * somTD_M_WPFontPalette_somGetPClsMtab)(M_WPFontPalette *somSelf);
  2177. typedef somMethodTabs   (SOMLINK * somTD_M_WPFontPalette_somGetPClsMtabs)(M_WPFontPalette *somSelf);
  2178. typedef void   (SOMLINK * somTD_M_WPFontPalette_somGetVersionNumbers)(M_WPFontPalette *somSelf,
  2179.         long* majorVersion,
  2180.         long* minorVersion);
  2181. typedef boolean   (SOMLINK * somTD_M_WPFontPalette_somSetMethodDescriptor)(M_WPFontPalette *somSelf,
  2182.         somId methodId,
  2183.         somId descriptor);
  2184. typedef boolean   (SOMLINK * somTD_M_WPFontPalette_somFindMethod)(M_WPFontPalette *somSelf,
  2185.         somId methodId,
  2186.         somMethodPtr* m);
  2187. typedef boolean   (SOMLINK * somTD_M_WPFontPalette_somFindMethodOk)(M_WPFontPalette *somSelf,
  2188.         somId methodId,
  2189.         somMethodPtr* m);
  2190. typedef somMethodPtr   (SOMLINK * somTD_M_WPFontPalette_somFindSMethod)(M_WPFontPalette *somSelf,
  2191.         somId methodId);
  2192. typedef somMethodPtr   (SOMLINK * somTD_M_WPFontPalette_somFindSMethodOk)(M_WPFontPalette *somSelf,
  2193.         somId methodId);
  2194. typedef somMethodPtr   (SOMLINK * somTD_M_WPFontPalette_somLookupMethod)(M_WPFontPalette *somSelf,
  2195.         somId methodId);
  2196. typedef boolean   (SOMLINK * somTD_M_WPFontPalette_somCheckVersion)(M_WPFontPalette *somSelf,
  2197.         long majorVersion,
  2198.         long minorVersion);
  2199. typedef boolean   (SOMLINK * somTD_M_WPFontPalette_somDescendedFrom)(M_WPFontPalette *somSelf,
  2200.         SOMClass* aClassObj);
  2201. typedef boolean   (SOMLINK * somTD_M_WPFontPalette_somSupportsMethod)(M_WPFontPalette *somSelf,
  2202.         somId mId);
  2203. typedef somMethodPtr   (SOMLINK * somTD_M_WPFontPalette_somDefinedMethod)(M_WPFontPalette *somSelf,
  2204.         somMToken method);
  2205. typedef void   (SOMLINK * somTD_M_WPFontPalette_somOverrideMtab)(M_WPFontPalette *somSelf);
  2206. typedef void   (SOMLINK * somTD_M_WPFontPalette_somDefaultInit)(M_WPFontPalette *somSelf,
  2207.         somInitCtrl* ctrl);
  2208. typedef void   (SOMLINK * somTD_M_WPFontPalette_somDestruct)(M_WPFontPalette *somSelf,
  2209.         octet doFree,
  2210.         somDestructCtrl* ctrl);
  2211. typedef void   (SOMLINK * somTD_M_WPFontPalette_somDefaultCopyInit)(M_WPFontPalette *somSelf,
  2212.         somInitCtrl* ctrl,
  2213.         SOMObject* fromObj);
  2214. typedef M_WPFontPalette*   (SOMLINK * somTD_M_WPFontPalette_somDefaultAssign)(M_WPFontPalette *somSelf,
  2215.         somAssignCtrl* ctrl,
  2216.         SOMObject* fromObj);
  2217. typedef void   (SOMLINK * somTD_M_WPFontPalette_somDefaultConstCopyInit)(M_WPFontPalette *somSelf,
  2218.         somInitCtrl* ctrl,
  2219.         SOMObject* fromObj);
  2220. typedef void   (SOMLINK * somTD_M_WPFontPalette_somDefaultVCopyInit)(M_WPFontPalette *somSelf,
  2221.         somInitCtrl* ctrl,
  2222.         SOMObject* fromObj);
  2223. typedef void   (SOMLINK * somTD_M_WPFontPalette_somDefaultConstVCopyInit)(M_WPFontPalette *somSelf,
  2224.         somInitCtrl* ctrl,
  2225.         SOMObject* fromObj);
  2226. typedef M_WPFontPalette*   (SOMLINK * somTD_M_WPFontPalette_somDefaultConstAssign)(M_WPFontPalette *somSelf,
  2227.         somAssignCtrl* ctrl,
  2228.         SOMObject* fromObj);
  2229. typedef M_WPFontPalette*   (SOMLINK * somTD_M_WPFontPalette_somDefaultVAssign)(M_WPFontPalette *somSelf,
  2230.         somAssignCtrl* ctrl,
  2231.         SOMObject* fromObj);
  2232. typedef M_WPFontPalette*   (SOMLINK * somTD_M_WPFontPalette_somDefaultConstVAssign)(M_WPFontPalette *somSelf,
  2233.         somAssignCtrl* ctrl,
  2234.         SOMObject* fromObj);
  2235. typedef void   (SOMLINK * somTD_M_WPFontPalette_somInit)(M_WPFontPalette *somSelf);
  2236. typedef void   (SOMLINK * somTD_M_WPFontPalette_somFree)(M_WPFontPalette *somSelf);
  2237. typedef SOMClass*   (SOMLINK * somTD_M_WPFontPalette_somGetClass)(M_WPFontPalette *somSelf);
  2238. typedef string   (SOMLINK * somTD_M_WPFontPalette_somGetClassName)(M_WPFontPalette *somSelf);
  2239. typedef long   (SOMLINK * somTD_M_WPFontPalette_somGetSize)(M_WPFontPalette *somSelf);
  2240. typedef boolean   (SOMLINK * somTD_M_WPFontPalette_somIsA)(M_WPFontPalette *somSelf,
  2241.         SOMClass* aClassObj);
  2242. typedef boolean   (SOMLINK * somTD_M_WPFontPalette_somIsInstanceOf)(M_WPFontPalette *somSelf,
  2243.         SOMClass* aClassObj);
  2244. typedef boolean   (SOMLINK * somTD_M_WPFontPalette_somRespondsTo)(M_WPFontPalette *somSelf,
  2245.         somId mId);
  2246. typedef boolean   (SOMLINK * somTD_M_WPFontPalette_somDispatch)(M_WPFontPalette *somSelf,
  2247.         somToken* retValue,
  2248.         somId methodId,
  2249.         va_list ap);
  2250. typedef boolean   (SOMLINK * somTD_M_WPFontPalette_somClassDispatch)(M_WPFontPalette *somSelf,
  2251.         SOMClass* clsObj,
  2252.         somToken* retValue,
  2253.         somId methodId,
  2254.         va_list ap);
  2255. typedef boolean   (SOMLINK * somTD_M_WPFontPalette_somCastObj)(M_WPFontPalette *somSelf,
  2256.         SOMClass* cls);
  2257. typedef boolean   (SOMLINK * somTD_M_WPFontPalette_somResetObj)(M_WPFontPalette *somSelf);
  2258. typedef SOMObject*   (SOMLINK * somTD_M_WPFontPalette_somPrintSelf)(M_WPFontPalette *somSelf);
  2259. typedef void   (SOMLINK * somTD_M_WPFontPalette_somDumpSelf)(M_WPFontPalette *somSelf,
  2260.         long level);
  2261. typedef void   (SOMLINK * somTD_M_WPFontPalette_somDumpSelfInt)(M_WPFontPalette *somSelf,
  2262.         long level);
  2263. }
  2264.  
  2265. #endif /* M_WPFontPalette_API */
  2266.  
  2267.  
  2268. /*
  2269.  * -- This emitter treats Method Tokens as Thunks by default.
  2270.  * -- Use the sc modifier "nothunks" to change this default
  2271.  */
  2272. #undef somresolve_
  2273. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  2274.  
  2275. /*
  2276.  * -- The C++ Wrapper Class for M_WPFontPalette
  2277.  */
  2278. class M_WPFontPalette : public M_WPPalette
  2279. {
  2280. public:
  2281.  
  2282. // M_WPFontPalette::new creates the class object if necessary, and then uses somNewNoInit
  2283. // to allocate memory and create the object. Initialization is in ctors.
  2284. void *operator new(size_t size)
  2285. {
  2286.    SOM_IgnoreWarning(size);
  2287.    if (!_M_WPFontPalette) M_WPFontPaletteNewClass(M_WPFontPalette_MajorVersion,M_WPFontPalette_MinorVersion);
  2288.    return (void*)
  2289.       SOM_Resolve(_M_WPFontPalette,SOMClass,somNewNoInit)
  2290.          ((SOMClass *)((void*)_M_WPFontPalette));
  2291. }
  2292.  
  2293. // M_WPFontPalette::delete uses the default deallocator for the object's class.
  2294. void operator delete(void * obj)
  2295. {
  2296.    somToken objCls = obj ? *(void**)obj : (somToken) NULL;
  2297.    if (somIsObj(objCls)) {
  2298.       SOM_Resolve(objCls,SOMClass,somDeallocate)
  2299.          ((SOMClass*)objCls, (string)obj);
  2300.    }
  2301. }
  2302.  
  2303. M_WPFontPalette()
  2304. {
  2305.    if (*(void**)this != 
  2306.        ((somParentMtabStructPtr)
  2307.         (M_WPFontPaletteCClassData.parentMtab))->mtab)
  2308.       return;
  2309.    somDefaultInit(0);
  2310. }
  2311.  
  2312. M_WPFontPalette(M_WPFontPalette* fromObj)
  2313. {
  2314.    if (*(void**)this != 
  2315.        ((somParentMtabStructPtr)
  2316.         (M_WPFontPaletteCClassData.parentMtab))->mtab)
  2317.       return;
  2318.    somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
  2319. }
  2320.  
  2321. M_WPFontPalette(const M_WPFontPalette* fromObj)
  2322. {
  2323.    if (*(void**)this != 
  2324.        ((somParentMtabStructPtr)
  2325.         (M_WPFontPaletteCClassData.parentMtab))->mtab)
  2326.       return;
  2327.    somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
  2328. }
  2329.  
  2330. ~M_WPFontPalette()
  2331. {
  2332.    if (!somIsObj(this)) return;
  2333.    somDestruct(0,0);
  2334.    *(void**)this = **(void***)this;
  2335. }
  2336.  
  2337.  
  2338. /*
  2339.  * Reintroduce inherited methods
  2340.  */
  2341.  
  2342. /* method: wpclsQueryEditString */
  2343. PSZ   wpclsQueryEditString()
  2344. {
  2345.    return SOM_ResolveD(this,M_WPFontPalette,M_WPPalette,wpclsQueryEditString)
  2346.     (this);
  2347. }
  2348.  
  2349.  
  2350. /* method: wpclsQueryTitle */
  2351. PSZ   wpclsQueryTitle()
  2352. {
  2353.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsQueryTitle)
  2354.     (this);
  2355. }
  2356.  
  2357.  
  2358. /* method: wpclsQueryStyle */
  2359. ULONG   wpclsQueryStyle()
  2360. {
  2361.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsQueryStyle)
  2362.     (this);
  2363. }
  2364.  
  2365.  
  2366. /* method: wpclsQueryDefaultView */
  2367. ULONG   wpclsQueryDefaultView()
  2368. {
  2369.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsQueryDefaultView)
  2370.     (this);
  2371. }
  2372.  
  2373.  
  2374. /* method: wpclsQueryDefaultHelp */
  2375. BOOL   wpclsQueryDefaultHelp(PULONG pHelpPanelId,
  2376.         PSZ pszHelpLibrary)
  2377. {
  2378.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsQueryDefaultHelp)
  2379.     (this,pHelpPanelId,pszHelpLibrary);
  2380. }
  2381.  
  2382.  
  2383. /* method: wpclsQuerySetting */
  2384. ULONG   wpclsQuerySetting(PSZ pszSetting,
  2385.         PVOID pValue,
  2386.         ULONG ulValueLen)
  2387. {
  2388.    return SOM_ResolveD(this,M_WPFontPalette,M_WPAbstract,wpclsQuerySetting)
  2389.     (this,pszSetting,pValue,ulValueLen);
  2390. }
  2391.  
  2392.  
  2393. /* method: wpclsSetSetting */
  2394. BOOL   wpclsSetSetting(PSZ pszSetting,
  2395.         PVOID pValue)
  2396. {
  2397.    return SOM_ResolveD(this,M_WPFontPalette,M_WPAbstract,wpclsSetSetting)
  2398.     (this,pszSetting,pValue);
  2399. }
  2400.  
  2401.  
  2402. /* method: wpclsCreateDefaultTemplates */
  2403. BOOL   wpclsCreateDefaultTemplates(WPObject* Folder)
  2404. {
  2405.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsCreateDefaultTemplates)
  2406.     (this,Folder);
  2407. }
  2408.  
  2409.  
  2410. /* method: wpclsInitData */
  2411. void   wpclsInitData()
  2412. {
  2413.    SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsInitData)
  2414.     (this);
  2415. }
  2416.  
  2417.  
  2418. /* method: wpclsMakeAwake */
  2419. WPObject*   wpclsMakeAwake(PSZ pszTitle,
  2420.         ULONG ulStyle,
  2421.         HPOINTER hptrIcon,
  2422.         POBJDATA pObjData,
  2423.         WPFolder* Folder,
  2424.         ULONG ulUser)
  2425. {
  2426.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsMakeAwake)
  2427.     (this,pszTitle,ulStyle,hptrIcon,pObjData,Folder,ulUser);
  2428. }
  2429.  
  2430.  
  2431. /* method: wpclsNew */
  2432. WPObject*   wpclsNew(PSZ pszTitle,
  2433.         PSZ pszSetupEnv,
  2434.         WPFolder* Folder,
  2435.         BOOL fLock)
  2436. {
  2437.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsNew)
  2438.     (this,pszTitle,pszSetupEnv,Folder,fLock);
  2439. }
  2440.  
  2441.  
  2442. /* method: wpclsQueryDetails */
  2443. PCLASSDETAILS   wpclsQueryDetails()
  2444. {
  2445.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsQueryDetails)
  2446.     (this);
  2447. }
  2448.  
  2449.  
  2450. /* method: wpclsQueryDetailsInfo */
  2451. ULONG   wpclsQueryDetailsInfo(PCLASSFIELDINFO* ppClassFieldInfo,
  2452.         PULONG pSize)
  2453. {
  2454.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsQueryDetailsInfo)
  2455.     (this,ppClassFieldInfo,pSize);
  2456. }
  2457.  
  2458.  
  2459. /* method: wpclsQueryExtendedCriteria */
  2460. BOOL   wpclsQueryExtendedCriteria(PSZ pszName,
  2461.         ULONG ulSearchType,
  2462.         PVOID pvoidExtendedCriteria)
  2463. {
  2464.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsQueryExtendedCriteria)
  2465.     (this,pszName,ulSearchType,pvoidExtendedCriteria);
  2466. }
  2467.  
  2468.  
  2469. /* method: wpclsQueryFolder */
  2470. WPObject*   wpclsQueryFolder(PSZ pszLocation,
  2471.         BOOL fLock)
  2472. {
  2473.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsQueryFolder)
  2474.     (this,pszLocation,fLock);
  2475. }
  2476.  
  2477.  
  2478. /* method: wpclsQueryIcon */
  2479. HPOINTER   wpclsQueryIcon()
  2480. {
  2481.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsQueryIcon)
  2482.     (this);
  2483. }
  2484.  
  2485.  
  2486. /* method: wpclsQuerySearchInfo */
  2487. void   wpclsQuerySearchInfo(M_WPObject** ClassExtended,
  2488.         M_WPObject** ClassCreate,
  2489.         PULONG pulClassCriteriaSize)
  2490. {
  2491.    SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsQuerySearchInfo)
  2492.     (this,ClassExtended,ClassCreate,pulClassCriteriaSize);
  2493. }
  2494.  
  2495.  
  2496. /* method: wpclsUnInitData */
  2497. void   wpclsUnInitData()
  2498. {
  2499.    SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsUnInitData)
  2500.     (this);
  2501. }
  2502.  
  2503.  
  2504. /* method: wpclsFindObjectFirst */
  2505. BOOL   wpclsFindObjectFirst(PCLASS pClassList,
  2506.         PHFIND phFind,
  2507.         PSZ pszTitle,
  2508.         WPFolder* Folder,
  2509.         BOOL fSubfolders,
  2510.         PVOID pExtendedCriteria,
  2511.         POBJECT pBuffer,
  2512.         PULONG pCount)
  2513. {
  2514.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsFindObjectFirst)
  2515.     (this,pClassList,phFind,pszTitle,Folder,fSubfolders,pExtendedCriteria,pBuffer,pCount);
  2516. }
  2517.  
  2518.  
  2519. /* method: wpclsFindObjectNext */
  2520. BOOL   wpclsFindObjectNext(HFIND hFind,
  2521.         POBJECT pBuffer,
  2522.         PULONG pCount)
  2523. {
  2524.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsFindObjectNext)
  2525.     (this,hFind,pBuffer,pCount);
  2526. }
  2527.  
  2528.  
  2529. /* method: wpclsFindObjectEnd */
  2530. BOOL   wpclsFindObjectEnd(HFIND hFind)
  2531. {
  2532.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsFindObjectEnd)
  2533.     (this,hFind);
  2534. }
  2535.  
  2536.  
  2537. /* method: wpclsSetError */
  2538. BOOL   wpclsSetError(ULONG ulErrorId)
  2539. {
  2540.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsSetError)
  2541.     (this,ulErrorId);
  2542. }
  2543.  
  2544.  
  2545. /* method: wpclsQueryError */
  2546. ULONG   wpclsQueryError()
  2547. {
  2548.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsQueryError)
  2549.     (this);
  2550. }
  2551.  
  2552.  
  2553. /* method: wpclsQuerySettingsPageSize */
  2554. BOOL   wpclsQuerySettingsPageSize(PSIZEL pSizl)
  2555. {
  2556.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsQuerySettingsPageSize)
  2557.     (this,pSizl);
  2558. }
  2559.  
  2560.  
  2561. /* method: wpclsQueryIconData */
  2562. ULONG   wpclsQueryIconData(PICONINFO pIconInfo)
  2563. {
  2564.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsQueryIconData)
  2565.     (this,pIconInfo);
  2566. }
  2567.  
  2568.  
  2569. /* method: wpclsQueryObject */
  2570. WPObject*   wpclsQueryObject(HOBJECT hObject)
  2571. {
  2572.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsQueryObject)
  2573.     (this,hObject);
  2574. }
  2575.  
  2576.  
  2577. /* method: wpclsQueryButtonAppearance */
  2578. ULONG   wpclsQueryButtonAppearance()
  2579. {
  2580.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsQueryButtonAppearance)
  2581.     (this);
  2582. }
  2583.  
  2584.  
  2585. /* method: wpclsDecUsage */
  2586. void   wpclsDecUsage()
  2587. {
  2588.    SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsDecUsage)
  2589.     (this);
  2590. }
  2591.  
  2592.  
  2593. /* method: wpclsIncUsage */
  2594. void   wpclsIncUsage()
  2595. {
  2596.    SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsIncUsage)
  2597.     (this);
  2598. }
  2599.  
  2600.  
  2601. /* method: wpclsInsertMultipleObjects */
  2602. BOOL   wpclsInsertMultipleObjects(HWND hwndCnr,
  2603.         PPOINTL pptlIcon,
  2604.         PVOID* pObjectArray,
  2605.         PVOID pRecordParent,
  2606.         ULONG NumRecords)
  2607. {
  2608.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsInsertMultipleObjects)
  2609.     (this,hwndCnr,pptlIcon,pObjectArray,pRecordParent,NumRecords);
  2610. }
  2611.  
  2612.  
  2613. /* method: wpclsFindOneObject */
  2614. WPObject*   wpclsFindOneObject(HWND hwndOwner,
  2615.         PSZ pszFindParams)
  2616. {
  2617.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsFindOneObject)
  2618.     (this,hwndOwner,pszFindParams);
  2619. }
  2620.  
  2621.  
  2622. /* method: wpclsSetSettingsPageSize */
  2623. BOOL   wpclsSetSettingsPageSize(PSIZEL pSizl)
  2624. {
  2625.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsSetSettingsPageSize)
  2626.     (this,pSizl);
  2627. }
  2628.  
  2629.  
  2630. /* method: wpclsSetIconData */
  2631. BOOL   wpclsSetIconData(PICONINFO pIconInfo)
  2632. {
  2633.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsSetIconData)
  2634.     (this,pIconInfo);
  2635. }
  2636.  
  2637.  
  2638. /* method: wpclsSetIcon */
  2639. BOOL   wpclsSetIcon(HPOINTER hptrNewIcon)
  2640. {
  2641.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsSetIcon)
  2642.     (this,hptrNewIcon);
  2643. }
  2644.  
  2645.  
  2646. /* method: wpclsObjectFromHandle */
  2647. WPObject*   wpclsObjectFromHandle(HOBJECT hObject)
  2648. {
  2649.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsObjectFromHandle)
  2650.     (this,hObject);
  2651. }
  2652.  
  2653.  
  2654. /* method: wpclsRemoveObjects */
  2655. BOOL   wpclsRemoveObjects(HWND hwndCnr,
  2656.         PVOID* pRecordArray,
  2657.         ULONG NumRecords,
  2658.         BOOL RemoveAll)
  2659. {
  2660.    return SOM_ResolveD(this,M_WPFontPalette,M_WPObject,wpclsRemoveObjects)
  2661.     (this,hwndCnr,pRecordArray,NumRecords,RemoveAll);
  2662. }
  2663.  
  2664.  
  2665. /* method: somUninit */
  2666. void   somUninit()
  2667. {
  2668.    SOM_ResolveD(this,M_WPFontPalette,SOMObject,somUninit)
  2669.     (this);
  2670. }
  2671.  
  2672.  
  2673. /* method: somClassReady */
  2674. void   somClassReady()
  2675. {
  2676.    SOM_ResolveD(this,M_WPFontPalette,SOMClass,somClassReady)
  2677.     (this);
  2678. }
  2679.  
  2680.  
  2681. /* method: somNew */
  2682. WPFontPalette*  somNew()
  2683. {
  2684.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somNew)
  2685.     (this);
  2686. }
  2687.  
  2688.  
  2689. /* method: somRenew */
  2690. SOMObject*   somRenew(void* obj)
  2691. {
  2692.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somRenew)
  2693.     (this,obj);
  2694. }
  2695.  
  2696.  
  2697. /* method: _get_somDataAlignment */
  2698. long   _get_somDataAlignment()
  2699. {
  2700.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,_get_somDataAlignment)
  2701.     (this);
  2702. }
  2703.  
  2704.  
  2705. /* method: _get_somInstanceDataOffsets */
  2706. SOMClass_somOffsets   _get_somInstanceDataOffsets()
  2707. {
  2708.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,_get_somInstanceDataOffsets)
  2709.     (this);
  2710. }
  2711.  
  2712.  
  2713. /* method: _get_somDirectInitClasses */
  2714. SOMClass_SOMClassSequence   _get_somDirectInitClasses()
  2715. {
  2716.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,_get_somDirectInitClasses)
  2717.     (this);
  2718. }
  2719.  
  2720.  
  2721. /* method: _set_somDirectInitClasses */
  2722. void   _set_somDirectInitClasses(SOMClass_SOMClassSequence* somDirectInitClasses)
  2723. {
  2724.    SOM_ResolveD(this,M_WPFontPalette,SOMClass,_set_somDirectInitClasses)
  2725.     (this,somDirectInitClasses);
  2726. }
  2727.  
  2728.  
  2729. /* method: somNewNoInit */
  2730. SOMObject*   somNewNoInit()
  2731. {
  2732.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somNewNoInit)
  2733.     (this);
  2734. }
  2735.  
  2736.  
  2737. /* method: somRenewNoInit */
  2738. SOMObject*   somRenewNoInit(void* obj)
  2739. {
  2740.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somRenewNoInit)
  2741.     (this,obj);
  2742. }
  2743.  
  2744.  
  2745. /* method: somRenewNoZero */
  2746. SOMObject*   somRenewNoZero(void* obj)
  2747. {
  2748.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somRenewNoZero)
  2749.     (this,obj);
  2750. }
  2751.  
  2752.  
  2753. /* method: somRenewNoInitNoZero */
  2754. SOMObject*   somRenewNoInitNoZero(void* obj)
  2755. {
  2756.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somRenewNoInitNoZero)
  2757.     (this,obj);
  2758. }
  2759.  
  2760.  
  2761. /* nonstatic method: somAllocate */
  2762. string   somAllocate(long size)
  2763. {
  2764.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somAllocate)
  2765.     (this,size);
  2766. }
  2767.  
  2768.  
  2769. /* nonstatic method: somDeallocate */
  2770. void   somDeallocate(string memptr)
  2771. {
  2772.    SOM_ResolveD(this,M_WPFontPalette,SOMClass,somDeallocate)
  2773.     (this,memptr);
  2774. }
  2775.  
  2776.  
  2777. /* method: somGetInstanceInitMask */
  2778. somBooleanVector   somGetInstanceInitMask(somInitCtrl* ctrl)
  2779. {
  2780.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetInstanceInitMask)
  2781.     (this,ctrl);
  2782. }
  2783.  
  2784.  
  2785. /* method: somGetInstanceDestructionMask */
  2786. somBooleanVector   somGetInstanceDestructionMask(somDestructCtrl* ctrl)
  2787. {
  2788.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetInstanceDestructionMask)
  2789.     (this,ctrl);
  2790. }
  2791.  
  2792.  
  2793. /* method: somGetInstanceAssignmentMask */
  2794. somBooleanVector   somGetInstanceAssignmentMask(somAssignCtrl* ctrl)
  2795. {
  2796.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetInstanceAssignmentMask)
  2797.     (this,ctrl);
  2798. }
  2799.  
  2800.  
  2801. /* method: somInitClass */
  2802. void   somInitClass(string className,
  2803.         SOMClass* parentClass,
  2804.         long dataSize,
  2805.         long maxStaticMethods,
  2806.         long majorVersion,
  2807.         long minorVersion)
  2808. {
  2809.    SOM_ResolveD(this,M_WPFontPalette,SOMClass,somInitClass)
  2810.     (this,className,parentClass,dataSize,maxStaticMethods,majorVersion,minorVersion);
  2811. }
  2812.  
  2813.  
  2814. /* method: somInitMIClass */
  2815. void   somInitMIClass(long inherit_vars,
  2816.         string className,
  2817.         SOMClass_SOMClassSequence* parentClasses,
  2818.         long dataSize,
  2819.         long dataAlignment,
  2820.         long maxStaticMethods,
  2821.         long majorVersion,
  2822.         long minorVersion)
  2823. {
  2824.    SOM_ResolveD(this,M_WPFontPalette,SOMClass,somInitMIClass)
  2825.     (this,inherit_vars,className,parentClasses,dataSize,dataAlignment,maxStaticMethods,majorVersion,minorVersion);
  2826. }
  2827.  
  2828.  
  2829. /* method: somAddStaticMethod */
  2830. somMToken   somAddStaticMethod(somId methodId,
  2831.         somId methodDescriptor,
  2832.         somMethodPtr method,
  2833.         somMethodPtr redispatchStub,
  2834.         somMethodPtr applyStub)
  2835. {
  2836.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somAddStaticMethod)
  2837.     (this,methodId,methodDescriptor,method,redispatchStub,applyStub);
  2838. }
  2839.  
  2840.  
  2841. /* method: somAddDynamicMethod */
  2842. void   somAddDynamicMethod(somId methodId,
  2843.         somId methodDescriptor,
  2844.         somMethodPtr method,
  2845.         somMethodPtr applyStub)
  2846. {
  2847.    SOM_ResolveD(this,M_WPFontPalette,SOMClass,somAddDynamicMethod)
  2848.     (this,methodId,methodDescriptor,method,applyStub);
  2849. }
  2850.  
  2851.  
  2852. /* method: somOverrideSMethod */
  2853. void   somOverrideSMethod(somId methodId,
  2854.         somMethodPtr method)
  2855. {
  2856.    SOM_ResolveD(this,M_WPFontPalette,SOMClass,somOverrideSMethod)
  2857.     (this,methodId,method);
  2858. }
  2859.  
  2860.  
  2861. /* method: somGetApplyStub */
  2862. somMethodPtr   somGetApplyStub(somId methodId)
  2863. {
  2864.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetApplyStub)
  2865.     (this,methodId);
  2866. }
  2867.  
  2868.  
  2869. /* method: somGetClassData */
  2870. somClassDataStructure*   somGetClassData()
  2871. {
  2872.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetClassData)
  2873.     (this);
  2874. }
  2875.  
  2876.  
  2877. /* method: somSetClassData */
  2878. void   somSetClassData(somClassDataStructure* cds)
  2879. {
  2880.    SOM_ResolveD(this,M_WPFontPalette,SOMClass,somSetClassData)
  2881.     (this,cds);
  2882. }
  2883.  
  2884.  
  2885. /* method: somGetClassMtab */
  2886. somMethodTab*   somGetClassMtab()
  2887. {
  2888.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetClassMtab)
  2889.     (this);
  2890. }
  2891.  
  2892.  
  2893. /* method: somGetInstanceOffset */
  2894. long   somGetInstanceOffset()
  2895. {
  2896.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetInstanceOffset)
  2897.     (this);
  2898. }
  2899.  
  2900.  
  2901. /* method: somGetInstancePartSize */
  2902. long   somGetInstancePartSize()
  2903. {
  2904.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetInstancePartSize)
  2905.     (this);
  2906. }
  2907.  
  2908.  
  2909. /* method: somGetInstanceSize */
  2910. long   somGetInstanceSize()
  2911. {
  2912.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetInstanceSize)
  2913.     (this);
  2914. }
  2915.  
  2916.  
  2917. /* method: somGetInstanceToken */
  2918. somDToken   somGetInstanceToken()
  2919. {
  2920.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetInstanceToken)
  2921.     (this);
  2922. }
  2923.  
  2924.  
  2925. /* method: somGetMemberToken */
  2926. somDToken   somGetMemberToken(long memberOffset,
  2927.         somDToken instanceToken)
  2928. {
  2929.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetMemberToken)
  2930.     (this,memberOffset,instanceToken);
  2931. }
  2932.  
  2933.  
  2934. /* method: somGetMethodData */
  2935. boolean   somGetMethodData(somId methodId,
  2936.         somMethodData* md)
  2937. {
  2938.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetMethodData)
  2939.     (this,methodId,md);
  2940. }
  2941.  
  2942.  
  2943. /* method: somGetRdStub */
  2944. somMethodProc*   somGetRdStub(somId methodId)
  2945. {
  2946.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetRdStub)
  2947.     (this,methodId);
  2948. }
  2949.  
  2950.  
  2951. /* method: somGetMethodDescriptor */
  2952. somId   somGetMethodDescriptor(somId methodId)
  2953. {
  2954.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetMethodDescriptor)
  2955.     (this,methodId);
  2956. }
  2957.  
  2958.  
  2959. /* method: somGetMethodIndex */
  2960. long   somGetMethodIndex(somId id)
  2961. {
  2962.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetMethodIndex)
  2963.     (this,id);
  2964. }
  2965.  
  2966.  
  2967. /* method: somGetMethodToken */
  2968. somMToken   somGetMethodToken(somId methodId)
  2969. {
  2970.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetMethodToken)
  2971.     (this,methodId);
  2972. }
  2973.  
  2974.  
  2975. /* method: somGetName */
  2976. string   somGetName()
  2977. {
  2978.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetName)
  2979.     (this);
  2980. }
  2981.  
  2982.  
  2983. /* method: somGetNthMethodData */
  2984. boolean   somGetNthMethodData(long n,
  2985.         somMethodData* md)
  2986. {
  2987.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetNthMethodData)
  2988.     (this,n,md);
  2989. }
  2990.  
  2991.  
  2992. /* method: somGetNthMethodInfo */
  2993. somId   somGetNthMethodInfo(long n,
  2994.         somId* descriptor)
  2995. {
  2996.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetNthMethodInfo)
  2997.     (this,n,descriptor);
  2998. }
  2999.  
  3000.  
  3001. /* method: somGetNumMethods */
  3002. long   somGetNumMethods()
  3003. {
  3004.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetNumMethods)
  3005.     (this);
  3006. }
  3007.  
  3008.  
  3009. /* method: somGetNumStaticMethods */
  3010. long   somGetNumStaticMethods()
  3011. {
  3012.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetNumStaticMethods)
  3013.     (this);
  3014. }
  3015.  
  3016.  
  3017. /* method: somGetParent */
  3018. SOMClass*   somGetParent()
  3019. {
  3020.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetParent)
  3021.     (this);
  3022. }
  3023.  
  3024.  
  3025. /* method: somGetParents */
  3026. SOMClass_SOMClassSequence   somGetParents()
  3027. {
  3028.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetParents)
  3029.     (this);
  3030. }
  3031.  
  3032.  
  3033. /* method: somGetPClsMtab */
  3034. somMethodTabs   somGetPClsMtab()
  3035. {
  3036.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetPClsMtab)
  3037.     (this);
  3038. }
  3039.  
  3040.  
  3041. /* method: somGetPClsMtabs */
  3042. somMethodTabs   somGetPClsMtabs()
  3043. {
  3044.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetPClsMtabs)
  3045.     (this);
  3046. }
  3047.  
  3048.  
  3049. /* method: somGetVersionNumbers */
  3050. void   somGetVersionNumbers(long* majorVersion,
  3051.         long* minorVersion)
  3052. {
  3053.    SOM_ResolveD(this,M_WPFontPalette,SOMClass,somGetVersionNumbers)
  3054.     (this,majorVersion,minorVersion);
  3055. }
  3056.  
  3057.  
  3058. /* method: somSetMethodDescriptor */
  3059. boolean   somSetMethodDescriptor(somId methodId,
  3060.         somId descriptor)
  3061. {
  3062.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somSetMethodDescriptor)
  3063.     (this,methodId,descriptor);
  3064. }
  3065.  
  3066.  
  3067. /* method: somFindMethod */
  3068. boolean   somFindMethod(somId methodId,
  3069.         somMethodPtr* m)
  3070. {
  3071.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somFindMethod)
  3072.     (this,methodId,m);
  3073. }
  3074.  
  3075.  
  3076. /* method: somFindMethodOk */
  3077. boolean   somFindMethodOk(somId methodId,
  3078.         somMethodPtr* m)
  3079. {
  3080.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somFindMethodOk)
  3081.     (this,methodId,m);
  3082. }
  3083.  
  3084.  
  3085. /* method: somFindSMethod */
  3086. somMethodPtr   somFindSMethod(somId methodId)
  3087. {
  3088.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somFindSMethod)
  3089.     (this,methodId);
  3090. }
  3091.  
  3092.  
  3093. /* method: somFindSMethodOk */
  3094. somMethodPtr   somFindSMethodOk(somId methodId)
  3095. {
  3096.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somFindSMethodOk)
  3097.     (this,methodId);
  3098. }
  3099.  
  3100.  
  3101. /* method: somLookupMethod */
  3102. somMethodPtr   somLookupMethod(somId methodId)
  3103. {
  3104.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somLookupMethod)
  3105.     (this,methodId);
  3106. }
  3107.  
  3108.  
  3109. /* method: somCheckVersion */
  3110. boolean   somCheckVersion(long majorVersion,
  3111.         long minorVersion)
  3112. {
  3113.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somCheckVersion)
  3114.     (this,majorVersion,minorVersion);
  3115. }
  3116.  
  3117.  
  3118. /* method: somDescendedFrom */
  3119. boolean   somDescendedFrom(SOMClass* aClassObj)
  3120. {
  3121.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somDescendedFrom)
  3122.     (this,aClassObj);
  3123. }
  3124.  
  3125.  
  3126. /* method: somSupportsMethod */
  3127. boolean   somSupportsMethod(somId mId)
  3128. {
  3129.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somSupportsMethod)
  3130.     (this,mId);
  3131. }
  3132.  
  3133.  
  3134. /* method: somDefinedMethod */
  3135. somMethodPtr   somDefinedMethod(somMToken method)
  3136. {
  3137.    return SOM_ResolveD(this,M_WPFontPalette,SOMClass,somDefinedMethod)
  3138.     (this,method);
  3139. }
  3140.  
  3141.  
  3142. /* method: somOverrideMtab */
  3143. void   somOverrideMtab()
  3144. {
  3145.    SOM_ResolveD(this,M_WPFontPalette,SOMClass,somOverrideMtab)
  3146.     (this);
  3147. }
  3148.  
  3149.  
  3150. /* initializer method: somDefaultInit */
  3151. void   somDefaultInit(somInitCtrl* ctrl)
  3152. {
  3153.    SOM_ResolveD(this,M_WPFontPalette,SOMObject,somDefaultInit)
  3154.     (this,ctrl);
  3155. }
  3156.  
  3157.  
  3158. /* method: somDestruct */
  3159. void   somDestruct(octet doFree,
  3160.         somDestructCtrl* ctrl)
  3161. {
  3162.    SOM_ResolveD(this,M_WPFontPalette,SOMObject,somDestruct)
  3163.     (this,doFree,ctrl);
  3164. }
  3165.  
  3166.  
  3167. /* method: somDefaultCopyInit */
  3168. void   somDefaultCopyInit(somInitCtrl* ctrl,
  3169.         SOMObject* fromObj)
  3170. {
  3171.    SOM_ResolveD(this,M_WPFontPalette,SOMObject,somDefaultCopyInit)
  3172.     (this,ctrl,fromObj);
  3173. }
  3174.  
  3175.  
  3176. /* method: somDefaultAssign */
  3177. M_WPFontPalette*  somDefaultAssign(somAssignCtrl* ctrl,
  3178.         SOMObject* fromObj)
  3179. {
  3180.    return SOM_ResolveD(this,M_WPFontPalette,SOMObject,somDefaultAssign)
  3181.     (this,ctrl,fromObj);
  3182. }
  3183.  
  3184.  
  3185. /* method: somDefaultConstCopyInit */
  3186. void   somDefaultConstCopyInit(somInitCtrl* ctrl,
  3187.         SOMObject* fromObj)
  3188. {
  3189.    SOM_ResolveD(this,M_WPFontPalette,SOMObject,somDefaultConstCopyInit)
  3190.     (this,ctrl,fromObj);
  3191. }
  3192.  
  3193.  
  3194. /* method: somDefaultVCopyInit */
  3195. void   somDefaultVCopyInit(somInitCtrl* ctrl,
  3196.         SOMObject* fromObj)
  3197. {
  3198.    SOM_ResolveD(this,M_WPFontPalette,SOMObject,somDefaultVCopyInit)
  3199.     (this,ctrl,fromObj);
  3200. }
  3201.  
  3202.  
  3203. /* method: somDefaultConstVCopyInit */
  3204. void   somDefaultConstVCopyInit(somInitCtrl* ctrl,
  3205.         SOMObject* fromObj)
  3206. {
  3207.    SOM_ResolveD(this,M_WPFontPalette,SOMObject,somDefaultConstVCopyInit)
  3208.     (this,ctrl,fromObj);
  3209. }
  3210.  
  3211.  
  3212. /* method: somDefaultConstAssign */
  3213. M_WPFontPalette*  somDefaultConstAssign(somAssignCtrl* ctrl,
  3214.         SOMObject* fromObj)
  3215. {
  3216.    return SOM_ResolveD(this,M_WPFontPalette,SOMObject,somDefaultConstAssign)
  3217.     (this,ctrl,fromObj);
  3218. }
  3219.  
  3220.  
  3221. /* method: somDefaultVAssign */
  3222. M_WPFontPalette*  somDefaultVAssign(somAssignCtrl* ctrl,
  3223.         SOMObject* fromObj)
  3224. {
  3225.    return SOM_ResolveD(this,M_WPFontPalette,SOMObject,somDefaultVAssign)
  3226.     (this,ctrl,fromObj);
  3227. }
  3228.  
  3229.  
  3230. /* method: somDefaultConstVAssign */
  3231. M_WPFontPalette*  somDefaultConstVAssign(somAssignCtrl* ctrl,
  3232.         SOMObject* fromObj)
  3233. {
  3234.    return SOM_ResolveD(this,M_WPFontPalette,SOMObject,somDefaultConstVAssign)
  3235.     (this,ctrl,fromObj);
  3236. }
  3237.  
  3238.  
  3239. /* method: somInit */
  3240. void   somInit()
  3241. {
  3242.    SOM_ResolveD(this,M_WPFontPalette,SOMObject,somInit)
  3243.     (this);
  3244. }
  3245.  
  3246.  
  3247. /* method: somFree */
  3248. void   somFree()
  3249. {
  3250.    SOM_ResolveD(this,M_WPFontPalette,SOMObject,somFree)
  3251.     (this);
  3252. }
  3253.  
  3254.  
  3255. /* method: somGetClass */
  3256. SOMClass*   somGetClass()
  3257. {
  3258.    return SOM_ResolveD(this,M_WPFontPalette,SOMObject,somGetClass)
  3259.     (this);
  3260. }
  3261.  
  3262.  
  3263. /* method: somGetClassName */
  3264. string   somGetClassName()
  3265. {
  3266.    return SOM_ResolveD(this,M_WPFontPalette,SOMObject,somGetClassName)
  3267.     (this);
  3268. }
  3269.  
  3270.  
  3271. /* method: somGetSize */
  3272. long   somGetSize()
  3273. {
  3274.    return SOM_ResolveD(this,M_WPFontPalette,SOMObject,somGetSize)
  3275.     (this);
  3276. }
  3277.  
  3278.  
  3279. /* method: somIsA */
  3280. boolean   somIsA(SOMClass* aClassObj)
  3281. {
  3282.    return SOM_ResolveD(this,M_WPFontPalette,SOMObject,somIsA)
  3283.     (this,aClassObj);
  3284. }
  3285.  
  3286.  
  3287. /* method: somIsInstanceOf */
  3288. boolean   somIsInstanceOf(SOMClass* aClassObj)
  3289. {
  3290.    return SOM_ResolveD(this,M_WPFontPalette,SOMObject,somIsInstanceOf)
  3291.     (this,aClassObj);
  3292. }
  3293.  
  3294.  
  3295. /* method: somRespondsTo */
  3296. boolean   somRespondsTo(somId mId)
  3297. {
  3298.    return SOM_ResolveD(this,M_WPFontPalette,SOMObject,somRespondsTo)
  3299.     (this,mId);
  3300. }
  3301.  
  3302.  
  3303. /* va_list method: somDispatch */
  3304. /* the va_list invocation form */
  3305. boolean   M_WPFontPalette_somDispatch(somToken* retValue,
  3306.         somId methodId,
  3307.         va_list ap)
  3308. {
  3309. return SOM_ResolveD(this,M_WPFontPalette,SOMObject,somDispatch)
  3310.     (this,retValue,methodId,ap);
  3311. }
  3312.  
  3313. /* the varargs invocation form */
  3314. boolean   somDispatch(somToken* retValue,
  3315.         somId methodId,
  3316.         ...)
  3317. {
  3318.    va_list ap;
  3319.    va_start(ap, methodId);
  3320.    boolean __somResult = 
  3321.       SOM_ResolveD(this,M_WPFontPalette,SOMObject,somDispatch)
  3322.     (this,retValue,methodId,ap);
  3323.    va_end(ap);
  3324.    return __somResult;
  3325. }
  3326.  
  3327.  
  3328. /* va_list method: somClassDispatch */
  3329. /* the va_list invocation form */
  3330. boolean   M_WPFontPalette_somClassDispatch(SOMClass* clsObj,
  3331.         somToken* retValue,
  3332.         somId methodId,
  3333.         va_list ap)
  3334. {
  3335. return SOM_ResolveD(this,M_WPFontPalette,SOMObject,somClassDispatch)
  3336.     (this,clsObj,retValue,methodId,ap);
  3337. }
  3338.  
  3339. /* the varargs invocation form */
  3340. boolean   somClassDispatch(SOMClass* clsObj,
  3341.         somToken* retValue,
  3342.         somId methodId,
  3343.         ...)
  3344. {
  3345.    va_list ap;
  3346.    va_start(ap, methodId);
  3347.    boolean __somResult = 
  3348.       SOM_ResolveD(this,M_WPFontPalette,SOMObject,somClassDispatch)
  3349.     (this,clsObj,retValue,methodId,ap);
  3350.    va_end(ap);
  3351.    return __somResult;
  3352. }
  3353.  
  3354.  
  3355. /* method: somCastObj */
  3356. boolean   somCastObj(SOMClass* cls)
  3357. {
  3358.    return SOM_ResolveD(this,M_WPFontPalette,SOMObject,somCastObj)
  3359.     (this,cls);
  3360. }
  3361.  
  3362.  
  3363. /* method: somResetObj */
  3364. boolean   somResetObj()
  3365. {
  3366.    return SOM_ResolveD(this,M_WPFontPalette,SOMObject,somResetObj)
  3367.     (this);
  3368. }
  3369.  
  3370.  
  3371. /* method: somPrintSelf */
  3372. SOMObject*   somPrintSelf()
  3373. {
  3374.    return SOM_ResolveD(this,M_WPFontPalette,SOMObject,somPrintSelf)
  3375.     (this);
  3376. }
  3377.  
  3378.  
  3379. /* method: somDumpSelf */
  3380. void   somDumpSelf(long level)
  3381. {
  3382.    SOM_ResolveD(this,M_WPFontPalette,SOMObject,somDumpSelf)
  3383.     (this,level);
  3384. }
  3385.  
  3386.  
  3387. /* method: somDumpSelfInt */
  3388. void   somDumpSelfInt(long level)
  3389. {
  3390.    SOM_ResolveD(this,M_WPFontPalette,SOMObject,somDumpSelfInt)
  3391.     (this,level);
  3392. }
  3393.  
  3394.  
  3395.  
  3396. };   /* M_WPFontPalette */
  3397.  
  3398.  
  3399.  
  3400. #endif       /* SOM_M_WPFontPalette_xh */
  3401.