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

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