home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warptlk3.zip / TOOLKIT / H / WPFNTPAL.XH < prev    next >
Text File  |  1995-08-30  |  100KB  |  3,664 lines

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