home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12osp1.exe / include / os2 / wpkeybd.h < prev    next >
C/C++ Source or Header  |  1997-04-02  |  27KB  |  642 lines

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