home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / detk45he.zip / wpkeybd.h < prev    next >
C/C++ Source or Header  |  1999-03-15  |  29KB  |  677 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: E:\cwpsh\rel\os2c\include\base\os2\wpkeybd.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.29.1.14
  7.  *     SOM Emitter emith: 2.43
  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_h
  23. #define SOM_WPKeyboard_h
  24.  
  25.  
  26. /*
  27.  * Passthru lines: File: "C.h", "before"
  28.  */
  29.  
  30.  
  31. /***********************************************************/
  32. /* Defines for wpclsQuerySetting and wpclsSetSetting       */
  33. /***********************************************************/
  34.  
  35. #define REPEATRATE_DEFAULT        0
  36. #define REPEATRATE_MAX           20
  37. #define REPEATRATE_MIN            1
  38. #define REPEATDELAY_DEFAULT      -1
  39. #define REPEATDELAY_MAX         890
  40. #define REPEATDELAY_MIN           0
  41. #define CURSORBLINK_DEFAULT      -1
  42. #define CURSORBLINK_MAX         890
  43. #define CURSORBLINK_MIN           0
  44. #define POPUPKEY_DEFAULT          0
  45. #define TEXTEDITKEY_DEFAULT       0
  46.  
  47.  
  48.  
  49. #include <som.h>
  50.  
  51. /*
  52.  * -- This emitter treats Method Tokens as Thunks by default.
  53.  * -- Use the sc modifier "nothunks" to change this default
  54.  */
  55. #undef somresolve_
  56. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  57.  
  58. /*
  59.  * Define the class name as an object type
  60.  */
  61. #ifndef WPKeyboard
  62. #define WPKeyboard SOMObject
  63. #endif
  64. #include <wpabs.h>
  65.  
  66. /*
  67.  * Start of bindings for IDL types
  68.  */
  69.  
  70. #ifndef SOMClass
  71.     #define SOMClass SOMObject
  72. #endif /* SOMClass */
  73. #ifndef WPFolder
  74.     #define WPFolder SOMObject
  75. #endif /* WPFolder */
  76. #ifndef M_WPObject
  77.     #define M_WPObject SOMObject
  78. #endif /* M_WPObject */
  79. #ifndef WPObject
  80.     #define WPObject SOMObject
  81. #endif /* WPObject */
  82. #ifndef WPImageFile
  83.     #define WPImageFile SOMObject
  84. #endif /* WPImageFile */
  85. #ifndef M_WPAbstract
  86.     #define M_WPAbstract SOMObject
  87. #endif /* M_WPAbstract */
  88. #ifndef M_WPKeyboard
  89.     #define M_WPKeyboard SOMObject
  90. #endif /* M_WPKeyboard */
  91.  
  92. /*
  93.  * End of bindings for IDL types.
  94.  */
  95.  
  96. #define WPKeyboard_MajorVersion 1
  97. #define WPKeyboard_MinorVersion 2
  98.  
  99. /*
  100.  * External name shortening if required
  101.  */
  102. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  103. #define WPKeyboardNewClass WPkbdc
  104. #pragma linkage(WPkbdc, system)
  105. #define WPKeyboardClassData WPkbdd
  106. #define WPKeyboardCClassData WPkbdx
  107. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  108.  
  109. /*
  110.  * Include the meta class file
  111.  */
  112. #include <wpkeybd.h>
  113. /*--------------Migration------------*/
  114. #define WPKeyboard_classObj WPKeyboardClassData.classObject
  115. #define _WPKeyboard WPKeyboard_classObj
  116.  
  117. /*
  118.  * Declare the class creation procedure
  119.  */
  120. SOMEXTERN SOMClass * SOMLINK WPKeyboardNewClass(integer4 somtmajorVersion,
  121.         integer4 somtminorVersion);
  122. #pragma linkage(WPKeyboardNewClass, system)
  123.  
  124. /*
  125.  * Declare the class data structure
  126.  */
  127. SOMEXTERN struct WPKeyboardClassDataStructure {
  128.     SOMClass *classObject;
  129.     somMToken wpAddKeyboardMappingsPage;
  130.     somMToken wpAddKeyboardTimingPage;
  131.     somMToken wpAddKeyboardSpecialNeedsPage;
  132.     somMToken wpAddKeyboardLayoutPage;
  133. } SOMDLINK WPKeyboardClassData;
  134.  
  135. /*
  136.  * Declare the C specific class data structure
  137.  */
  138. SOMEXTERN struct WPKeyboardCClassDataStructure {
  139.     somMethodTabs parentMtab;
  140.     somDToken instanceDataToken;
  141. } SOMDLINK WPKeyboardCClassData;
  142.  
  143. /*
  144.  * New and Renew macros for WPKeyboard
  145.  */
  146. #define WPKeyboardNew() \
  147.    ( _WPKeyboard ? \
  148.     _somNew(_WPKeyboard) \
  149.     : ( WPKeyboardNewClass(\
  150.         WPKeyboard_MajorVersion, \
  151.         WPKeyboard_MinorVersion),\
  152.        _somNew(_WPKeyboard)))
  153. #define WPKeyboardRenew(buf) \
  154.    ( _WPKeyboard ? \
  155.     _somRenew(_WPKeyboard, buf) \
  156.     : ( WPKeyboardNewClass(\
  157.         WPKeyboard_MajorVersion, \
  158.         WPKeyboard_MinorVersion),\
  159.        _somRenew(_WPKeyboard, buf)))
  160.  
  161. /*
  162.  * Override method: wpAddSettingsPages
  163.  */
  164. #define WPKeyboard_wpAddSettingsPages(somSelf,hwndNotebook) \
  165.     WPObject_wpAddSettingsPages(somSelf,hwndNotebook)
  166.  
  167. /*
  168.  * Override method: wpAddObjectWindowPage
  169.  */
  170. #define WPKeyboard_wpAddObjectWindowPage(somSelf,hwndNotebook) \
  171.     WPObject_wpAddObjectWindowPage(somSelf,hwndNotebook)
  172.  
  173. /*
  174.  * Override method: wpFilterMenu
  175.  */
  176. #define WPKeyboard_wpFilterMenu(somSelf,pFlags,hwndCnr,fMultiSelect,ulMenuType,ulView,ulReserved) \
  177.     WPObject_wpFilterMenu(somSelf,pFlags,hwndCnr,fMultiSelect,ulMenuType,ulView,ulReserved)
  178.  
  179. /*
  180.  * Override method: somDefaultInit
  181.  */
  182. #define WPKeyboard_somDefaultInit(somSelf,ctrl) \
  183.     SOMObject_somDefaultInit(somSelf,ctrl)
  184.  
  185. /*
  186.  * Override method: somDestruct
  187.  */
  188. #define WPKeyboard_somDestruct(somSelf,doFree,ctrl) \
  189.     SOMObject_somDestruct(somSelf,doFree,ctrl)
  190.  
  191. /*
  192.  * New Method: wpAddKeyboardMappingsPage
  193.  */
  194. typedef ULONG   SOMLINK somTP_WPKeyboard_wpAddKeyboardMappingsPage(WPKeyboard *somSelf, 
  195.         HWND hwndNotebook);
  196. #pragma linkage(somTP_WPKeyboard_wpAddKeyboardMappingsPage, system)
  197. typedef somTP_WPKeyboard_wpAddKeyboardMappingsPage *somTD_WPKeyboard_wpAddKeyboardMappingsPage;
  198. #define somMD_WPKeyboard_wpAddKeyboardMappingsPage "::WPKeyboard::wpAddKeyboardMappingsPage"
  199. #define WPKeyboard_wpAddKeyboardMappingsPage(somSelf,hwndNotebook) \
  200.     (SOM_Resolve(somSelf, WPKeyboard, wpAddKeyboardMappingsPage) \
  201.     (somSelf,hwndNotebook))
  202. #ifndef SOMGD_wpAddKeyboardMappingsPage
  203.     #if (defined(_wpAddKeyboardMappingsPage) || defined(__wpAddKeyboardMappingsPage))
  204.         #undef _wpAddKeyboardMappingsPage
  205.         #undef __wpAddKeyboardMappingsPage
  206.         #define SOMGD_wpAddKeyboardMappingsPage 1
  207.     #else
  208.         #define _wpAddKeyboardMappingsPage WPKeyboard_wpAddKeyboardMappingsPage
  209.     #endif /* _wpAddKeyboardMappingsPage */
  210. #endif /* SOMGD_wpAddKeyboardMappingsPage */
  211.  
  212. /*
  213.  * New Method: wpAddKeyboardTimingPage
  214.  */
  215. typedef ULONG   SOMLINK somTP_WPKeyboard_wpAddKeyboardTimingPage(WPKeyboard *somSelf, 
  216.         HWND hwndNotebook);
  217. #pragma linkage(somTP_WPKeyboard_wpAddKeyboardTimingPage, system)
  218. typedef somTP_WPKeyboard_wpAddKeyboardTimingPage *somTD_WPKeyboard_wpAddKeyboardTimingPage;
  219. #define somMD_WPKeyboard_wpAddKeyboardTimingPage "::WPKeyboard::wpAddKeyboardTimingPage"
  220. #define WPKeyboard_wpAddKeyboardTimingPage(somSelf,hwndNotebook) \
  221.     (SOM_Resolve(somSelf, WPKeyboard, wpAddKeyboardTimingPage) \
  222.     (somSelf,hwndNotebook))
  223. #ifndef SOMGD_wpAddKeyboardTimingPage
  224.     #if (defined(_wpAddKeyboardTimingPage) || defined(__wpAddKeyboardTimingPage))
  225.         #undef _wpAddKeyboardTimingPage
  226.         #undef __wpAddKeyboardTimingPage
  227.         #define SOMGD_wpAddKeyboardTimingPage 1
  228.     #else
  229.         #define _wpAddKeyboardTimingPage WPKeyboard_wpAddKeyboardTimingPage
  230.     #endif /* _wpAddKeyboardTimingPage */
  231. #endif /* SOMGD_wpAddKeyboardTimingPage */
  232.  
  233. /*
  234.  * New Method: wpAddKeyboardSpecialNeedsPage
  235.  */
  236. typedef ULONG   SOMLINK somTP_WPKeyboard_wpAddKeyboardSpecialNeedsPage(WPKeyboard *somSelf, 
  237.         HWND hwndNotebook);
  238. #pragma linkage(somTP_WPKeyboard_wpAddKeyboardSpecialNeedsPage, system)
  239. typedef somTP_WPKeyboard_wpAddKeyboardSpecialNeedsPage *somTD_WPKeyboard_wpAddKeyboardSpecialNeedsPage;
  240. #define somMD_WPKeyboard_wpAddKeyboardSpecialNeedsPage "::WPKeyboard::wpAddKeyboardSpecialNeedsPage"
  241. #define WPKeyboard_wpAddKeyboardSpecialNeedsPage(somSelf,hwndNotebook) \
  242.     (SOM_Resolve(somSelf, WPKeyboard, wpAddKeyboardSpecialNeedsPage) \
  243.     (somSelf,hwndNotebook))
  244. #ifndef SOMGD_wpAddKeyboardSpecialNeedsPage
  245.     #if (defined(_wpAddKeyboardSpecialNeedsPage) || defined(__wpAddKeyboardSpecialNeedsPage))
  246.         #undef _wpAddKeyboardSpecialNeedsPage
  247.         #undef __wpAddKeyboardSpecialNeedsPage
  248.         #define SOMGD_wpAddKeyboardSpecialNeedsPage 1
  249.     #else
  250.         #define _wpAddKeyboardSpecialNeedsPage WPKeyboard_wpAddKeyboardSpecialNeedsPage
  251.     #endif /* _wpAddKeyboardSpecialNeedsPage */
  252. #endif /* SOMGD_wpAddKeyboardSpecialNeedsPage */
  253.  
  254. /*
  255.  * New Method: wpAddKeyboardLayoutPage
  256.  */
  257. typedef ULONG   SOMLINK somTP_WPKeyboard_wpAddKeyboardLayoutPage(WPKeyboard *somSelf, 
  258.         HWND hwndNotebook);
  259. #pragma linkage(somTP_WPKeyboard_wpAddKeyboardLayoutPage, system)
  260. typedef somTP_WPKeyboard_wpAddKeyboardLayoutPage *somTD_WPKeyboard_wpAddKeyboardLayoutPage;
  261. #define somMD_WPKeyboard_wpAddKeyboardLayoutPage "::WPKeyboard::wpAddKeyboardLayoutPage"
  262. #define WPKeyboard_wpAddKeyboardLayoutPage(somSelf,hwndNotebook) \
  263.     (SOM_Resolve(somSelf, WPKeyboard, wpAddKeyboardLayoutPage) \
  264.     (somSelf,hwndNotebook))
  265. #ifndef SOMGD_wpAddKeyboardLayoutPage
  266.     #if (defined(_wpAddKeyboardLayoutPage) || defined(__wpAddKeyboardLayoutPage))
  267.         #undef _wpAddKeyboardLayoutPage
  268.         #undef __wpAddKeyboardLayoutPage
  269.         #define SOMGD_wpAddKeyboardLayoutPage 1
  270.     #else
  271.         #define _wpAddKeyboardLayoutPage WPKeyboard_wpAddKeyboardLayoutPage
  272.     #endif /* _wpAddKeyboardLayoutPage */
  273. #endif /* SOMGD_wpAddKeyboardLayoutPage */
  274. #ifndef SOM_DONT_USE_INHERITED_MACROS
  275. #define WPKeyboard_wpQueryHandle WPObject_wpQueryHandle
  276. #define WPKeyboard_wpSaveImmediate WPObject_wpSaveImmediate
  277. #define WPKeyboard_wpSaveState WPObject_wpSaveState
  278. #define WPKeyboard_wpRestoreState WPObject_wpRestoreState
  279. #define WPKeyboard_wpSetTitle WPObject_wpSetTitle
  280. #define WPKeyboard_wpCopyObject WPObject_wpCopyObject
  281. #define WPKeyboard_wpMoveObject WPObject_wpMoveObject
  282. #define WPKeyboard_wpQueryIcon WPObject_wpQueryIcon
  283. #define WPKeyboard_wpQueryIconData WPObject_wpQueryIconData
  284. #define WPKeyboard_wpSetIconData WPObject_wpSetIconData
  285. #define WPKeyboard_wpDragOver WPObject_wpDragOver
  286. #define WPKeyboard_wpReplaceObject WPObject_wpReplaceObject
  287. #define WPKeyboard_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
  288. #define WPKeyboard_wpIdentify WPObject_wpIdentify
  289. #define WPKeyboard_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
  290. #define WPKeyboard_wpAddObjectGeneralPage2 WPObject_wpAddObjectGeneralPage2
  291. #define WPKeyboard_wpAddToObjUseList WPObject_wpAddToObjUseList
  292. #define WPKeyboard_wpAllocMem WPObject_wpAllocMem
  293. #define WPKeyboard_wpAppendObject WPObject_wpAppendObject
  294. #define WPKeyboard_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
  295. #define WPKeyboard_wpClose WPObject_wpClose
  296. #define WPKeyboard_wpCnrInsertObject WPObject_wpCnrInsertObject
  297. #define WPKeyboard_wpCnrRemoveObject WPObject_wpCnrRemoveObject
  298. #define WPKeyboard_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
  299. #define WPKeyboard_wpConfirmDelete WPObject_wpConfirmDelete
  300. #define WPKeyboard_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
  301. #define WPKeyboard_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
  302. #define WPKeyboard_wpCreateAnother WPObject_wpCreateAnother
  303. #define WPKeyboard_wpCreateFromTemplate WPObject_wpCreateFromTemplate
  304. #define WPKeyboard_wpCreateShadowObject WPObject_wpCreateShadowObject
  305. #define WPKeyboard_wpDelete WPObject_wpDelete
  306. #define WPKeyboard_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
  307. #define WPKeyboard_wpDisplayHelp WPObject_wpDisplayHelp
  308. #define WPKeyboard_wpDisplayMenu WPObject_wpDisplayMenu
  309. #define WPKeyboard_wpDoesObjectMatch WPObject_wpDoesObjectMatch
  310. #define WPKeyboard_wpDraggedOverObject WPObject_wpDraggedOverObject
  311. #define WPKeyboard_wpDrop WPObject_wpDrop
  312. #define WPKeyboard_wpDroppedOnObject WPObject_wpDroppedOnObject
  313. #define WPKeyboard_wpEndConversation WPObject_wpEndConversation
  314. #define WPKeyboard_wpFilterPopupMenu WPObject_wpFilterPopupMenu
  315. #define WPKeyboard_wpFindUseItem WPObject_wpFindUseItem
  316. #define WPKeyboard_wpFormatDragItem WPObject_wpFormatDragItem
  317. #define WPKeyboard_wpFree WPObject_wpFree
  318. #define WPKeyboard_wpFreeMem WPObject_wpFreeMem
  319. #define WPKeyboard_wpHide WPObject_wpHide
  320. #define WPKeyboard_wpInitData WPObject_wpInitData
  321. #define WPKeyboard_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
  322. #define WPKeyboard_wpInsertMenuItems WPObject_wpInsertMenuItems
  323. #define WPKeyboard_wpInsertSettingsPage WPObject_wpInsertSettingsPage
  324. #define WPKeyboard_wpMenuItemHelpSelected WPObject_wpMenuItemHelpSelected
  325. #define WPKeyboard_wpMenuItemSelected WPObject_wpMenuItemSelected
  326. #define WPKeyboard_wpModifyPopupMenu WPObject_wpModifyPopupMenu
  327. #define WPKeyboard_wpModifyMenu WPObject_wpModifyMenu
  328. #define WPKeyboard_wpOpen WPObject_wpOpen
  329. #define WPKeyboard_wpPrintObject WPObject_wpPrintObject
  330. #define WPKeyboard_wpQueryConcurrentView WPObject_wpQueryConcurrentView
  331. #define WPKeyboard_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
  332. #define WPKeyboard_wpQueryConfirmations WPObject_wpQueryConfirmations
  333. #define WPKeyboard_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
  334. #define WPKeyboard_wpQueryDefaultView WPObject_wpQueryDefaultView
  335. #define WPKeyboard_wpQueryDetailsData WPObject_wpQueryDetailsData
  336. #define WPKeyboard_wpQueryError WPObject_wpQueryError
  337. #define WPKeyboard_wpSetFolder WPObject_wpSetFolder
  338. #define WPKeyboard_wpQueryFolder WPObject_wpQueryFolder
  339. #define WPKeyboard_wpQueryMinWindow WPObject_wpQueryMinWindow
  340. #define WPKeyboard_wpQueryStyle WPObject_wpQueryStyle
  341. #define WPKeyboard_wpSetTaskRec WPObject_wpSetTaskRec
  342. #define WPKeyboard_wpFindTaskRec WPObject_wpFindTaskRec
  343. #define WPKeyboard_wpQueryTitle WPObject_wpQueryTitle
  344. #define WPKeyboard_wpRegisterView WPObject_wpRegisterView
  345. #define WPKeyboard_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
  346. #define WPKeyboard_wpRender WPObject_wpRender
  347. #define WPKeyboard_wpRenderComplete WPObject_wpRenderComplete
  348. #define WPKeyboard_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
  349. #define WPKeyboard_wpRestore WPObject_wpRestore
  350. #define WPKeyboard_wpRestoreData WPObject_wpRestoreData
  351. #define WPKeyboard_wpRestoreLong WPObject_wpRestoreLong
  352. #define WPKeyboard_wpRestoreString WPObject_wpRestoreString
  353. #define WPKeyboard_wpSaveData WPObject_wpSaveData
  354. #define WPKeyboard_wpSaveDeferred WPObject_wpSaveDeferred
  355. #define WPKeyboard_wpSaveLong WPObject_wpSaveLong
  356. #define WPKeyboard_wpSaveString WPObject_wpSaveString
  357. #define WPKeyboard_wpScanSetupString WPObject_wpScanSetupString
  358. #define WPKeyboard_wpSetConcurrentView WPObject_wpSetConcurrentView
  359. #define WPKeyboard_wpSetButtonAppearance WPObject_wpSetButtonAppearance
  360. #define WPKeyboard_wpSetDefaultHelp WPObject_wpSetDefaultHelp
  361. #define WPKeyboard_wpSetDefaultView WPObject_wpSetDefaultView
  362. #define WPKeyboard_wpSetError WPObject_wpSetError
  363. #define WPKeyboard_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
  364. #define WPKeyboard_wpSetupOnce WPObject_wpSetupOnce
  365. #define WPKeyboard_wpSetIcon WPObject_wpSetIcon
  366. #define WPKeyboard_wpSetMinWindow WPObject_wpSetMinWindow
  367. #define WPKeyboard_wpModifyStyle WPObject_wpModifyStyle
  368. #define WPKeyboard_wpSetup WPObject_wpSetup
  369. #define WPKeyboard_wpSwitchTo WPObject_wpSwitchTo
  370. #define WPKeyboard_wpUnInitData WPObject_wpUnInitData
  371. #define WPKeyboard_wpViewObject WPObject_wpViewObject
  372. #define WPKeyboard_wpQueryTrueStyle WPObject_wpQueryTrueStyle
  373. #define WPKeyboard_wpUnlockObject WPObject_wpUnlockObject
  374. #define WPKeyboard_wpObjectReady WPObject_wpObjectReady
  375. #define WPKeyboard_wpIsObjectInitialized WPObject_wpIsObjectInitialized
  376. #define WPKeyboard_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
  377. #define WPKeyboard_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
  378. #define WPKeyboard_wpIsDeleteable WPObject_wpIsDeleteable
  379. #define WPKeyboard_wpQueryCoreRecord WPObject_wpQueryCoreRecord
  380. #define WPKeyboard_wpSetObjectID WPObject_wpSetObjectID
  381. #define WPKeyboard_wpQueryObjectID WPObject_wpQueryObjectID
  382. #define WPKeyboard_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
  383. #define WPKeyboard_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
  384. #define WPKeyboard_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
  385. #define WPKeyboard_wpFindViewItem WPObject_wpFindViewItem
  386. #define WPKeyboard_wpLockObject WPObject_wpLockObject
  387. #define WPKeyboard_wpIsLocked WPObject_wpIsLocked
  388. #define WPKeyboard_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
  389. #define WPKeyboard_wpWaitForClose WPObject_wpWaitForClose
  390. #define WPKeyboard_wpSetMenuStyle WPObject_wpSetMenuStyle
  391. #define WPKeyboard_wpQueryMenuStyle WPObject_wpQueryMenuStyle
  392. #define WPKeyboard_wpSetStyle WPObject_wpSetStyle
  393. #define WPKeyboard_somInit SOMObject_somInit
  394. #define WPKeyboard_somUninit SOMObject_somUninit
  395. #define WPKeyboard_somDefaultCopyInit SOMObject_somDefaultCopyInit
  396. #define WPKeyboard_somDefaultAssign SOMObject_somDefaultAssign
  397. #define WPKeyboard_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
  398. #define WPKeyboard_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
  399. #define WPKeyboard_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
  400. #define WPKeyboard_somDefaultConstAssign SOMObject_somDefaultConstAssign
  401. #define WPKeyboard_somDefaultVAssign SOMObject_somDefaultVAssign
  402. #define WPKeyboard_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
  403. #define WPKeyboard_somFree SOMObject_somFree
  404. #define WPKeyboard_somGetClass SOMObject_somGetClass
  405. #define WPKeyboard_somGetClassName SOMObject_somGetClassName
  406. #define WPKeyboard_somGetSize SOMObject_somGetSize
  407. #define WPKeyboard_somIsA SOMObject_somIsA
  408. #define WPKeyboard_somIsInstanceOf SOMObject_somIsInstanceOf
  409. #define WPKeyboard_somRespondsTo SOMObject_somRespondsTo
  410. #define WPKeyboard_somDispatch SOMObject_somDispatch
  411. #define WPKeyboard_somClassDispatch SOMObject_somClassDispatch
  412. #define WPKeyboard_somCastObj SOMObject_somCastObj
  413. #define WPKeyboard_somResetObj SOMObject_somResetObj
  414. #define WPKeyboard_somDispatchV SOMObject_somDispatchV
  415. #define WPKeyboard_somDispatchL SOMObject_somDispatchL
  416. #define WPKeyboard_somDispatchA SOMObject_somDispatchA
  417. #define WPKeyboard_somDispatchD SOMObject_somDispatchD
  418. #define WPKeyboard_somPrintSelf SOMObject_somPrintSelf
  419. #define WPKeyboard_somDumpSelf SOMObject_somDumpSelf
  420. #define WPKeyboard_somDumpSelfInt SOMObject_somDumpSelfInt
  421. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  422.  
  423. #endif       /* SOM_WPKeyboard_h */
  424.  
  425. #ifndef SOM_M_WPKeyboard_h
  426. #define SOM_M_WPKeyboard_h
  427.  
  428.  
  429. #include <som.h>
  430.  
  431. /*
  432.  * -- This emitter treats Method Tokens as Thunks by default.
  433.  * -- Use the sc modifier "nothunks" to change this default
  434.  */
  435. #undef somresolve_
  436. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  437.  
  438. /*
  439.  * Define the class name as an object type
  440.  */
  441. #ifndef M_WPKeyboard
  442. #define M_WPKeyboard SOMObject
  443. #endif
  444. #include <wpabs.h>
  445.  
  446. /*
  447.  * Start of bindings for IDL types
  448.  */
  449.  
  450.  
  451. /*
  452.  * End of bindings for IDL types.
  453.  */
  454.  
  455. #define M_WPKeyboard_MajorVersion 1
  456. #define M_WPKeyboard_MinorVersion 2
  457.  
  458. /*
  459.  * External name shortening if required
  460.  */
  461. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  462. #define M_WPKeyboardNewClass WPkbdc
  463. #pragma linkage(WPkbdc, system)
  464. #define M_WPKeyboardClassData WPkbdd
  465. #define M_WPKeyboardCClassData WPkbdx
  466. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  467. /*--------------Migration------------*/
  468. #define M_WPKeyboard_classObj M_WPKeyboardClassData.classObject
  469. #define _M_WPKeyboard M_WPKeyboard_classObj
  470.  
  471. /*
  472.  * Declare the class creation procedure
  473.  */
  474. SOMEXTERN SOMClass * SOMLINK M_WPKeyboardNewClass(integer4 somtmajorVersion,
  475.         integer4 somtminorVersion);
  476. #pragma linkage(M_WPKeyboardNewClass, system)
  477.  
  478. /*
  479.  * Declare the class data structure
  480.  */
  481. SOMEXTERN struct M_WPKeyboardClassDataStructure {
  482.     SOMClass *classObject;
  483. } SOMDLINK M_WPKeyboardClassData;
  484.  
  485. /*
  486.  * Declare the C specific class data structure
  487.  */
  488. SOMEXTERN struct M_WPKeyboardCClassDataStructure {
  489.     somMethodTabs parentMtab;
  490.     somDToken instanceDataToken;
  491. } SOMDLINK M_WPKeyboardCClassData;
  492.  
  493. /*
  494.  * New and Renew macros for M_WPKeyboard
  495.  */
  496. #define M_WPKeyboardNew() \
  497.    ( _M_WPKeyboard ? \
  498.     _somNew(_M_WPKeyboard) \
  499.     : ( M_WPKeyboardNewClass(\
  500.         M_WPKeyboard_MajorVersion, \
  501.         M_WPKeyboard_MinorVersion),\
  502.        _somNew(_M_WPKeyboard)))
  503. #define M_WPKeyboardRenew(buf) \
  504.    ( _M_WPKeyboard ? \
  505.     _somRenew(_M_WPKeyboard, buf) \
  506.     : ( M_WPKeyboardNewClass(\
  507.         M_WPKeyboard_MajorVersion, \
  508.         M_WPKeyboard_MinorVersion),\
  509.        _somRenew(_M_WPKeyboard, buf)))
  510.  
  511. /*
  512.  * Override method: wpclsQueryTitle
  513.  */
  514. #define M_WPKeyboard_wpclsQueryTitle(somSelf) \
  515.     M_WPObject_wpclsQueryTitle(somSelf)
  516.  
  517. /*
  518.  * Override method: wpclsQueryDefaultHelp
  519.  */
  520. #define M_WPKeyboard_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
  521.     M_WPObject_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary)
  522.  
  523. /*
  524.  * Override method: wpclsQueryDefaultView
  525.  */
  526. #define M_WPKeyboard_wpclsQueryDefaultView(somSelf) \
  527.     M_WPObject_wpclsQueryDefaultView(somSelf)
  528.  
  529. /*
  530.  * Override method: wpclsQueryStyle
  531.  */
  532. #define M_WPKeyboard_wpclsQueryStyle(somSelf) \
  533.     M_WPObject_wpclsQueryStyle(somSelf)
  534.  
  535. /*
  536.  * Override method: wpclsQueryIconData
  537.  */
  538. #define M_WPKeyboard_wpclsQueryIconData(somSelf,pIconInfo) \
  539.     M_WPObject_wpclsQueryIconData(somSelf,pIconInfo)
  540.  
  541. /*
  542.  * Override method: wpclsQuerySettingsPageSize
  543.  */
  544. #define M_WPKeyboard_wpclsQuerySettingsPageSize(somSelf,pSizl) \
  545.     M_WPObject_wpclsQuerySettingsPageSize(somSelf,pSizl)
  546.  
  547. /*
  548.  * Override method: wpclsQuerySetting
  549.  */
  550. #define M_WPKeyboard_wpclsQuerySetting(somSelf,pszSetting,pValue,ulValueLen) \
  551.     M_WPAbstract_wpclsQuerySetting(somSelf,pszSetting,pValue,ulValueLen)
  552.  
  553. /*
  554.  * Override method: wpclsSetSetting
  555.  */
  556. #define M_WPKeyboard_wpclsSetSetting(somSelf,pszSetting,pValue) \
  557.     M_WPAbstract_wpclsSetSetting(somSelf,pszSetting,pValue)
  558. #ifndef SOM_DONT_USE_INHERITED_MACROS
  559. #define M_WPKeyboard_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
  560. #define M_WPKeyboard_wpclsCreateDefaultTemplates M_WPObject_wpclsCreateDefaultTemplates
  561. #define M_WPKeyboard_wpclsInitData M_WPObject_wpclsInitData
  562. #define M_WPKeyboard_wpclsMakeAwake M_WPObject_wpclsMakeAwake
  563. #define M_WPKeyboard_wpclsNew M_WPObject_wpclsNew
  564. #define M_WPKeyboard_wpclsQueryDetails M_WPObject_wpclsQueryDetails
  565. #define M_WPKeyboard_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
  566. #define M_WPKeyboard_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
  567. #define M_WPKeyboard_wpclsQueryFolder M_WPObject_wpclsQueryFolder
  568. #define M_WPKeyboard_wpclsQueryIcon M_WPObject_wpclsQueryIcon
  569. #define M_WPKeyboard_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
  570. #define M_WPKeyboard_wpclsUnInitData M_WPObject_wpclsUnInitData
  571. #define M_WPKeyboard_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
  572. #define M_WPKeyboard_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
  573. #define M_WPKeyboard_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
  574. #define M_WPKeyboard_wpclsSetError M_WPObject_wpclsSetError
  575. #define M_WPKeyboard_wpclsQueryError M_WPObject_wpclsQueryError
  576. #define M_WPKeyboard_wpclsQueryObject M_WPObject_wpclsQueryObject
  577. #define M_WPKeyboard_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
  578. #define M_WPKeyboard_wpclsDecUsage M_WPObject_wpclsDecUsage
  579. #define M_WPKeyboard_wpclsIncUsage M_WPObject_wpclsIncUsage
  580. #define M_WPKeyboard_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
  581. #define M_WPKeyboard_wpclsFindOneObject M_WPObject_wpclsFindOneObject
  582. #define M_WPKeyboard_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
  583. #define M_WPKeyboard_wpclsSetIconData M_WPObject_wpclsSetIconData
  584. #define M_WPKeyboard_wpclsSetIcon M_WPObject_wpclsSetIcon
  585. #define M_WPKeyboard_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
  586. #define M_WPKeyboard_somUninit SOMObject_somUninit
  587. #define M_WPKeyboard_somClassReady SOMClass_somClassReady
  588. #define M_WPKeyboard_somNew SOMClass_somNew
  589. #define M_WPKeyboard_somRenew SOMClass_somRenew
  590. #define M_WPKeyboard__get_somDataAlignment SOMClass__get_somDataAlignment
  591. #define M_WPKeyboard__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
  592. #define M_WPKeyboard__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
  593. #define M_WPKeyboard__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
  594. #define M_WPKeyboard_somNewNoInit SOMClass_somNewNoInit
  595. #define M_WPKeyboard_somRenewNoInit SOMClass_somRenewNoInit
  596. #define M_WPKeyboard_somRenewNoZero SOMClass_somRenewNoZero
  597. #define M_WPKeyboard_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
  598. #define M_WPKeyboard_somAllocate SOMClass_somAllocate
  599. #define M_WPKeyboard_somDeallocate SOMClass_somDeallocate
  600. #define M_WPKeyboard__get_somClassAllocate SOMClass__get_somClassAllocate
  601. #define M_WPKeyboard__get_somClassDeallocate SOMClass__get_somClassDeallocate
  602. #define M_WPKeyboard_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
  603. #define M_WPKeyboard_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
  604. #define M_WPKeyboard_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
  605. #define M_WPKeyboard_somInitClass SOMClass_somInitClass
  606. #define M_WPKeyboard_somInitMIClass SOMClass_somInitMIClass
  607. #define M_WPKeyboard_somAddStaticMethod SOMClass_somAddStaticMethod
  608. #define M_WPKeyboard_somAddDynamicMethod SOMClass_somAddDynamicMethod
  609. #define M_WPKeyboard_somOverrideSMethod SOMClass_somOverrideSMethod
  610. #define M_WPKeyboard_somGetApplyStub SOMClass_somGetApplyStub
  611. #define M_WPKeyboard_somGetClassData SOMClass_somGetClassData
  612. #define M_WPKeyboard_somSetClassData SOMClass_somSetClassData
  613. #define M_WPKeyboard_somGetClassMtab SOMClass_somGetClassMtab
  614. #define M_WPKeyboard_somGetInstanceOffset SOMClass_somGetInstanceOffset
  615. #define M_WPKeyboard_somGetInstancePartSize SOMClass_somGetInstancePartSize
  616. #define M_WPKeyboard_somGetInstanceSize SOMClass_somGetInstanceSize
  617. #define M_WPKeyboard_somGetInstanceToken SOMClass_somGetInstanceToken
  618. #define M_WPKeyboard_somGetMemberToken SOMClass_somGetMemberToken
  619. #define M_WPKeyboard_somGetMethodData SOMClass_somGetMethodData
  620. #define M_WPKeyboard_somGetRdStub SOMClass_somGetRdStub
  621. #define M_WPKeyboard_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
  622. #define M_WPKeyboard_somGetMethodIndex SOMClass_somGetMethodIndex
  623. #define M_WPKeyboard_somGetMethodToken SOMClass_somGetMethodToken
  624. #define M_WPKeyboard_somGetName SOMClass_somGetName
  625. #define M_WPKeyboard_somGetNthMethodData SOMClass_somGetNthMethodData
  626. #define M_WPKeyboard_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
  627. #define M_WPKeyboard_somGetNumMethods SOMClass_somGetNumMethods
  628. #define M_WPKeyboard_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
  629. #define M_WPKeyboard_somGetParent SOMClass_somGetParent
  630. #define M_WPKeyboard_somGetParents SOMClass_somGetParents
  631. #define M_WPKeyboard_somGetPClsMtab SOMClass_somGetPClsMtab
  632. #define M_WPKeyboard_somGetPClsMtabs SOMClass_somGetPClsMtabs
  633. #define M_WPKeyboard_somGetVersionNumbers SOMClass_somGetVersionNumbers
  634. #define M_WPKeyboard_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
  635. #define M_WPKeyboard_somFindMethod SOMClass_somFindMethod
  636. #define M_WPKeyboard_somFindMethodOk SOMClass_somFindMethodOk
  637. #define M_WPKeyboard_somFindSMethod SOMClass_somFindSMethod
  638. #define M_WPKeyboard_somFindSMethodOk SOMClass_somFindSMethodOk
  639. #define M_WPKeyboard_somLookupMethod SOMClass_somLookupMethod
  640. #define M_WPKeyboard_somCheckVersion SOMClass_somCheckVersion
  641. #define M_WPKeyboard_somDescendedFrom SOMClass_somDescendedFrom
  642. #define M_WPKeyboard_somSupportsMethod SOMClass_somSupportsMethod
  643. #define M_WPKeyboard_somDefinedMethod SOMClass_somDefinedMethod
  644. #define M_WPKeyboard_somOverrideMtab SOMClass_somOverrideMtab
  645. #define M_WPKeyboard_somDefaultInit SOMObject_somDefaultInit
  646. #define M_WPKeyboard_somDestruct SOMObject_somDestruct
  647. #define M_WPKeyboard_somDefaultCopyInit SOMObject_somDefaultCopyInit
  648. #define M_WPKeyboard_somDefaultAssign SOMObject_somDefaultAssign
  649. #define M_WPKeyboard_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
  650. #define M_WPKeyboard_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
  651. #define M_WPKeyboard_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
  652. #define M_WPKeyboard_somDefaultConstAssign SOMObject_somDefaultConstAssign
  653. #define M_WPKeyboard_somDefaultVAssign SOMObject_somDefaultVAssign
  654. #define M_WPKeyboard_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
  655. #define M_WPKeyboard_somInit SOMObject_somInit
  656. #define M_WPKeyboard_somFree SOMObject_somFree
  657. #define M_WPKeyboard_somGetClass SOMObject_somGetClass
  658. #define M_WPKeyboard_somGetClassName SOMObject_somGetClassName
  659. #define M_WPKeyboard_somGetSize SOMObject_somGetSize
  660. #define M_WPKeyboard_somIsA SOMObject_somIsA
  661. #define M_WPKeyboard_somIsInstanceOf SOMObject_somIsInstanceOf
  662. #define M_WPKeyboard_somRespondsTo SOMObject_somRespondsTo
  663. #define M_WPKeyboard_somDispatch SOMObject_somDispatch
  664. #define M_WPKeyboard_somClassDispatch SOMObject_somClassDispatch
  665. #define M_WPKeyboard_somCastObj SOMObject_somCastObj
  666. #define M_WPKeyboard_somResetObj SOMObject_somResetObj
  667. #define M_WPKeyboard_somDispatchV SOMObject_somDispatchV
  668. #define M_WPKeyboard_somDispatchL SOMObject_somDispatchL
  669. #define M_WPKeyboard_somDispatchA SOMObject_somDispatchA
  670. #define M_WPKeyboard_somDispatchD SOMObject_somDispatchD
  671. #define M_WPKeyboard_somPrintSelf SOMObject_somPrintSelf
  672. #define M_WPKeyboard_somDumpSelf SOMObject_somDumpSelf
  673. #define M_WPKeyboard_somDumpSelfInt SOMObject_somDumpSelfInt
  674. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  675.  
  676. #endif       /* SOM_M_WPKeyboard_h */
  677.