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

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